diff options
-rw-r--r-- | tumblerd/tumbler-specialized-thumbnailer.c | 5 |
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); |