Author: cazfi
Date: Sat Mar  5 23:20:03 2016
New Revision: 32185

URL: http://svn.gna.org/viewcvs/freeciv?rev=32185&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:
    trunk/utility/shared.c

Modified: trunk/utility/shared.c
URL: 
http://svn.gna.org/viewcvs/freeciv/trunk/utility/shared.c?rev=32185&r1=32184&r2=32185&view=diff
==============================================================================
--- trunk/utility/shared.c      (original)
+++ trunk/utility/shared.c      Sat Mar  5 23:20:03 2016
@@ -1510,14 +1510,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