Author: cazfi
Date: Sat Mar  5 23:20:15 2016
New Revision: 32187

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

Modified: branches/S2_5/utility/shared.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/utility/shared.c?rev=32187&r1=32186&r2=32187&view=diff
==============================================================================
--- branches/S2_5/utility/shared.c      (original)
+++ branches/S2_5/utility/shared.c      Sat Mar  5 23:20:15 2016
@@ -1456,12 +1456,7 @@
       case LANG_DUTCH:
         return "nl";
       case LANG_NORWEGIAN:
-        switch (SUBLANGID(GetUserDefaultLangID())) {
-          case SUBLANG_NORWEGIAN_BOKMAL:
-            return "nb";
-          default:
-            return "no";
-        }
+        return "nb";
       case LANG_POLISH:
         return "pl";
       case LANG_PORTUGUESE:


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

Reply via email to