]> granicus.if.org Git - transmission/commitdiff
(gtk) #1108: transmission includes several unlocalized strings
authorCharles Kerr <charles@transmissionbt.com>
Fri, 25 Jul 2008 11:50:17 +0000 (11:50 +0000)
committerCharles Kerr <charles@transmissionbt.com>
Fri, 25 Jul 2008 11:50:17 +0000 (11:50 +0000)
gtk/main.c
libtransmission/utils.h

index f066404c422873273e8eab6c088c25e8275ca568..354b8bfe08cc1d5c2cea9450892f8a6e5269f7c6 100644 (file)
@@ -363,6 +363,7 @@ main( int argc, char ** argv )
     cbdata->details2tor = g_hash_table_new( g_direct_hash, g_direct_equal );
 
     /* bind the gettext domain */
+    setlocale( LC_ALL, "" );
     bindtextdomain( domain, TRANSMISSIONLOCALEDIR );
     bind_textdomain_codeset( domain, "UTF-8" );
     textdomain( domain );
index 94839532c0e295d02f17bf12930a5d95fdc2274e..81b229f2d0449714d7967ee2678e0feb6687f506 100644 (file)
@@ -83,7 +83,7 @@
 #if !defined(_)
 #if defined(SYS_DARWIN)
   #define _(a) (a)
-#elif HAVE_LIBINTL
+#elif defined(HAVE_LIBINTL_H)
   #include <libintl.h>
   #define _(a) gettext (a)
 #else