mirror of
https://github.com/transmission/transmission.git
synced 2025-12-23 11:58:36 +00:00
(gtk) #1108: transmission includes several unlocalized strings
This commit is contained in:
@@ -363,6 +363,7 @@ main( int argc, char ** argv )
|
|||||||
cbdata->details2tor = g_hash_table_new( g_direct_hash, g_direct_equal );
|
cbdata->details2tor = g_hash_table_new( g_direct_hash, g_direct_equal );
|
||||||
|
|
||||||
/* bind the gettext domain */
|
/* bind the gettext domain */
|
||||||
|
setlocale( LC_ALL, "" );
|
||||||
bindtextdomain( domain, TRANSMISSIONLOCALEDIR );
|
bindtextdomain( domain, TRANSMISSIONLOCALEDIR );
|
||||||
bind_textdomain_codeset( domain, "UTF-8" );
|
bind_textdomain_codeset( domain, "UTF-8" );
|
||||||
textdomain( domain );
|
textdomain( domain );
|
||||||
|
|||||||
@@ -83,7 +83,7 @@
|
|||||||
#if !defined(_)
|
#if !defined(_)
|
||||||
#if defined(SYS_DARWIN)
|
#if defined(SYS_DARWIN)
|
||||||
#define _(a) (a)
|
#define _(a) (a)
|
||||||
#elif HAVE_LIBINTL
|
#elif defined(HAVE_LIBINTL_H)
|
||||||
#include <libintl.h>
|
#include <libintl.h>
|
||||||
#define _(a) gettext (a)
|
#define _(a) gettext (a)
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user