Rename SubRip -> TextSubtitle.
[dcpomatic.git] / src / lib / exceptions.cc
index c15e134ee598de24ba4122dbdb30385d49b6a96a..968e81439396881a6152e16951588c79998a7d7b 100644 (file)
@@ -63,8 +63,8 @@ PixelFormatError::PixelFormatError (string o, AVPixelFormat f)
 
 }
 
-SubRipError::SubRipError (string saw, string expecting, boost::filesystem::path f)
-       : FileError (String::compose (_("Error in SubRip file: saw %1 while expecting %2"), saw.empty() ? "[nothing]" : saw, expecting), f)
+TextSubtitleError::TextSubtitleError (string saw, string expecting, boost::filesystem::path f)
+       : FileError (String::compose (_("Error in subtitle file: saw %1 while expecting %2"), saw.empty() ? "[nothing]" : saw, expecting), f)
 {
 
 }