Author: cazfi
Date: Mon Jan 12 20:58:03 2015
New Revision: 27644

URL: http://svn.gna.org/viewcvs/freeciv?rev=27644&view=rev
Log:
Set textdomain codeset also for other translation domains than 'freeciv'.

See bug #23159

Modified:
    branches/S2_5/client/client_main.c
    branches/S2_5/server/srv_main.c

Modified: branches/S2_5/client/client_main.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/client_main.c?rev=27644&r1=27643&r2=27644&view=diff
==============================================================================
--- branches/S2_5/client/client_main.c  (original)
+++ branches/S2_5/client/client_main.c  Mon Jan 12 20:58:03 2015
@@ -334,6 +334,9 @@
   registry_module_init();
   audio_init();
   init_character_encodings(gui_character_encoding, gui_use_transliteration);
+#ifdef ENABLE_NLS
+  bind_textdomain_codeset("freeciv-nations", get_internal_encoding());
+#endif
 
   i = 1;
 

Modified: branches/S2_5/server/srv_main.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/srv_main.c?rev=27644&r1=27643&r2=27644&view=diff
==============================================================================
--- branches/S2_5/server/srv_main.c     (original)
+++ branches/S2_5/server/srv_main.c     Mon Jan 12 20:58:03 2015
@@ -247,6 +247,9 @@
 
   /* init character encodings. */
   init_character_encodings(FC_DEFAULT_DATA_ENCODING, FALSE);
+#ifdef ENABLE_NLS
+  bind_textdomain_codeset("freeciv-nations", get_internal_encoding());
+#endif
 
   /* Initialize callbacks. */
   game.callbacks.unit_deallocate = identity_number_release;


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to