(gtk) #1108: transmission includes several unlocalized strings
This commit is contained in:
parent
9987d9431e
commit
fc87510be3
|
@ -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 );
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue