summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis Pohlmann <jannis@xfce.org>2009-12-05 12:41:43 +0100
committerJannis Pohlmann <jannis@xfce.org>2009-12-05 12:41:43 +0100
commitd762f9e9447a2bc893a779403593a929ae0ea562 (patch)
treeaa78c428b5402931e2589d4583f5348da7a511af
parentabe6e07d39b503b454614ba9664d2ccfd536f691 (diff)
downloadtumbler-d762f9e9447a2bc893a779403593a929ae0ea562.tar.gz
Make strings translatable.
-rw-r--r--tumblerd/tumbler-specialized-thumbnailer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tumblerd/tumbler-specialized-thumbnailer.c b/tumblerd/tumbler-specialized-thumbnailer.c
index 5377bff..ec6d80f 100644
--- a/tumblerd/tumbler-specialized-thumbnailer.c
+++ b/tumblerd/tumbler-specialized-thumbnailer.c
@@ -23,6 +23,7 @@
#endif
#include <glib.h>
+#include <glib/gi18n.h>
#include <glib-object.h>
#include <tumbler/tumbler.h>
@@ -457,7 +458,7 @@ tumbler_specialized_thumbnailer_create (TumblerThumbnailer *thumbnailer,
{
if (!g_cond_timed_wait (sinfo.condition, sinfo.mutex, &timev))
{
- message = g_strdup ("Failed to call the specialized thumbnailer: timeout");
+ message = g_strdup (_("Failed to call the specialized thumbnailer: timeout"));
g_signal_emit_by_name (thumbnailer, "error", uri, 1, message);
g_free (message);
}
@@ -466,7 +467,7 @@ tumbler_specialized_thumbnailer_create (TumblerThumbnailer *thumbnailer,
}
else
{
- message = g_strdup_printf ("Failed to call the specialized thumbnailer: %s",
+ message = g_strdup_printf (_("Failed to call the specialized thumbnailer: %s"),
error->message);
g_signal_emit_by_name (thumbnailer, "error", uri, 1, message);
g_free (message);