[Xfce-i18n] Help option strings in Thunar

Daichi Kawahata daichi at xfce.org
Sun Apr 16 14:28:35 CEST 2006


Hi Benedikt again,

The function g_printf() returns the UTF-8 encoded strings
while my locale is EUC-JP. Please check whether this patch
fixes that.

Regards,
-- 
Daichi

Language Codes: http://www.w3.org/WAI/ER/IG/ert/iso639.htm
Country Codes: http://www.ics.uci.edu/pub/ietf/http/related/iso3166.txt
-------------- next part --------------
Index: thunar/main.c
===================================================================
--- thunar/main.c	(revision 20993)
+++ thunar/main.c	(working copy)
@@ -111,15 +111,15 @@
   /* check if we should print version information */
   if (G_UNLIKELY (opt_version))
     {
-      g_printf ("%s %s (Xfce %s)\n", PACKAGE_NAME, PACKAGE_VERSION, xfce_version_string ());
-      g_printf ("\n");
-      g_printf ("%s\n", _("Copyright (c) 2004-2006"));
-      g_printf ("\t%s\n", _("The Thunar development team. All rights reserved."));
-      g_printf ("\n");
-      g_printf ("%s\n", _("Written by Benedikt Meurer <benny at xfce.org>."));
-      g_printf ("\n");
-      g_printf (_("Please report bugs to <%s>."), PACKAGE_BUGREPORT);
-      g_printf ("\n");
+      g_print ("%s %s (Xfce %s)\n", PACKAGE_NAME, PACKAGE_VERSION, xfce_version_string ());
+      g_print ("\n");
+      g_print ("%s\n", _("Copyright (c) 2004-2006"));
+      g_print ("\t%s\n", _("The Thunar development team. All rights reserved."));
+      g_print ("\n");
+      g_print ("%s\n", _("Written by Benedikt Meurer <benny at xfce.org>."));
+      g_print ("\n");
+      g_print (_("Please report bugs to <%s>."), PACKAGE_BUGREPORT);
+      g_print ("\n");
       return EXIT_SUCCESS;
     }
 


More information about the Xfce-i18n mailing list