summaryrefslogtreecommitdiff
path: root/src/lib/decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/decoder.cc')
-rw-r--r--src/lib/decoder.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/decoder.cc b/src/lib/decoder.cc
index 30009460f..52b22fa06 100644
--- a/src/lib/decoder.cc
+++ b/src/lib/decoder.cc
@@ -36,6 +36,8 @@
#include "subtitle.h"
#include "filter_graph.h"
+#include "i18n.h"
+
using std::string;
using std::stringstream;
using std::min;
@@ -60,7 +62,7 @@ Decoder::Decoder (boost::shared_ptr<Film> f, DecodeOptions o)
bool
Decoder::seek (double)
{
- throw DecodeError ("decoder does not support seek");
+ throw DecodeError (N_("decoder does not support seek"));
}
/** Seek so that the next frame we will produce is the same as the last one.
@@ -69,5 +71,5 @@ Decoder::seek (double)
bool
Decoder::seek_to_last ()
{
- throw DecodeError ("decoder does not support seek");
+ throw DecodeError (N_("decoder does not support seek"));
}