(gtk) #1108: transmission includes several unlocalized strings

This commit is contained in:
Charles Kerr 2008-07-25 11:50:17 +00:00
parent 9987d9431e
commit fc87510be3
2 changed files with 2 additions and 1 deletions

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

View 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