[Xfce4-commits] <tumbler:master> Make strings translatable.

Jannis Pohlmann noreply at xfce.org
Sat Dec 5 12:44:03 CET 2009


Updating branch refs/heads/master
         to d762f9e9447a2bc893a779403593a929ae0ea562 (commit)
       from abe6e07d39b503b454614ba9664d2ccfd536f691 (commit)

commit d762f9e9447a2bc893a779403593a929ae0ea562
Author: Jannis Pohlmann <jannis at xfce.org>
Date:   Sat Dec 5 12:41:43 2009 +0100

    Make strings translatable.

 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);



More information about the Xfce4-commits mailing list