Author: cazfi
Date: Sat Mar  5 23:20:09 2016
New Revision: 32186

URL: http://svn.gna.org/viewcvs/freeciv?rev=32186&view=rev
Log:
Language auto-selection to give Bokmål for all Windowses with LANG_NORWEGIAN as 
the language code.
Formerly other than those with sublangid SUBLANG_NORWEGIAN_BOKMAL ended using 
internal language; en_US.

See bug #24480

Modified:
    branches/S2_6/utility/shared.c

Modified: branches/S2_6/utility/shared.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/utility/shared.c?rev=32186&r1=32185&r2=32186&view=diff
==============================================================================
--- branches/S2_6/utility/shared.c      (original)
+++ branches/S2_6/utility/shared.c      Sat Mar  5 23:20:09 2016
@@ -1539,14 +1539,7 @@
         langname = "nl";
         break;
       case LANG_NORWEGIAN:
-        switch (SUBLANGID(GetUserDefaultLangID())) {
-          case SUBLANG_NORWEGIAN_BOKMAL:
-            langname = "nb";
-            break;
-          default:
-            langname = "no";
-            break;
-        }
+        langname = "nb";
         break;
       case LANG_POLISH:
         langname = "pl";


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

Reply via email to