]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update Windows to locale name mapping.
authorBruno Haible <bruno@clisp.org>
Mon, 15 Mar 2004 11:51:00 +0000 (11:51 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:11:50 +0000 (12:11 +0200)
gettext-runtime/intl/ChangeLog
gettext-runtime/intl/localename.c

index 27564980e9069197f1d3acf5f84b9fcb03315873..b5a48df56a9f4e09471108a247e5c9d08bb525b3 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-02  Bruno Haible  <bruno@clisp.org>
+
+       * localename.c (_nl_locale_name): Add info about default territory for
+       Basque, Mongolian, Russian, Tamil. Map Norwegian to nb, not no.
+
 2004-02-02  Bruno Haible  <bruno@clisp.org>
 
        * Makefile.in (install-exec, installdirs, uninstall): Install
index 5662e54ffe2c0c1af5ecd17c1d44381a20304d32..6a3b740f57db126c60049b5db232e4e7cd706f7a 100644 (file)
@@ -804,6 +804,10 @@ _nl_locale_name (int category, const char *categoryname)
        }
       return "az";
     case LANG_BASQUE:
+      switch (sub)
+       {
+       case SUBLANG_DEFAULT: return "eu_ES";
+       }
       return "eu"; /* Ambiguous: could be "eu_ES" or "eu_FR".  */
     case LANG_BELARUSIAN: return "be_BY";
     case LANG_BENGALI:
@@ -986,6 +990,10 @@ _nl_locale_name (int category, const char *categoryname)
       return "mni_IN";
     case LANG_MARATHI: return "mr_IN";
     case LANG_MONGOLIAN:
+      switch (sub)
+       {
+       case SUBLANG_DEFAULT: return "mn_MN";
+       }
       return "mn"; /* Ambiguous: could be "mn_CN" or "mn_MN".  */
     case LANG_NEPALI:
       switch (sub)
@@ -997,7 +1005,7 @@ _nl_locale_name (int category, const char *categoryname)
     case LANG_NORWEGIAN:
       switch (sub)
        {
-       case SUBLANG_NORWEGIAN_BOKMAL: return "no_NO";
+       case SUBLANG_NORWEGIAN_BOKMAL: return "nb_NO";
        case SUBLANG_NORWEGIAN_NYNORSK: return "nn_NO";
        }
       return "no";
@@ -1032,6 +1040,10 @@ _nl_locale_name (int category, const char *categoryname)
        }
       return "ro";
     case LANG_RUSSIAN:
+      switch (sub)
+       {
+       case SUBLANG_DEFAULT: return "ru_RU";
+       }
       return "ru"; /* Ambiguous: could be "ru_RU" or "ru_UA" or "ru_MD".  */
     case LANG_SAAMI: /* actually Northern Sami */ return "se_NO";
     case LANG_SANSKRIT: return "sa_IN";
@@ -1096,6 +1108,10 @@ _nl_locale_name (int category, const char *categoryname)
        }
       return "ber_MA";
     case LANG_TAMIL:
+       switch (sub)
+       {
+       case SUBLANG_DEFAULT: return "ta_IN";
+       }
       return "ta"; /* Ambiguous: could be "ta_IN" or "ta_LK" or "ta_SG".  */
     case LANG_TATAR: return "tt_RU";
     case LANG_TELUGU: return "te_IN";