correct Serbian locale name: should be sr_RS, not sr_SR (fixes #10295)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Dec 2008 19:50:17 +0000 (19:50 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 22 Dec 2008 19:50:17 +0000 (19:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

misc/languages/langtabl.txt
src/common/intl.cpp

index 290d609dfd8de8444e5c58d808c261d73665f887..e7d0c58110b43cec19d7b5c43a3cf92f806444b8 100644 (file)
@@ -159,9 +159,9 @@ wxLANGUAGE_SAMOAN                      sm     -                -
 wxLANGUAGE_SANGHO                      sg     -                -                                   LTR    "Sangho"
 wxLANGUAGE_SANSKRIT                    sa     LANG_SANSKRIT    SUBLANG_DEFAULT                     LTR    "Sanskrit"
 wxLANGUAGE_SCOTS_GAELIC                gd     -                -                                   LTR    "Scots Gaelic"
-wxLANGUAGE_SERBIAN                     sr_SR  LANG_SERBIAN     SUBLANG_DEFAULT                     LTR    "Serbian"
-wxLANGUAGE_SERBIAN_CYRILLIC            sr_SR  LANG_SERBIAN     SUBLANG_SERBIAN_CYRILLIC            LTR    "Serbian (Cyrillic)"
-wxLANGUAGE_SERBIAN_LATIN               sr_SR@latin LANG_SERBIAN SUBLANG_SERBIAN_LATIN              LTR    "Serbian (Latin)"
+wxLANGUAGE_SERBIAN                     sr_RS  LANG_SERBIAN     SUBLANG_DEFAULT                     LTR    "Serbian"
+wxLANGUAGE_SERBIAN_CYRILLIC            sr_RS  LANG_SERBIAN     SUBLANG_SERBIAN_CYRILLIC            LTR    "Serbian (Cyrillic)"
+wxLANGUAGE_SERBIAN_LATIN               sr_RS@latin LANG_SERBIAN SUBLANG_SERBIAN_LATIN              LTR    "Serbian (Latin)"
 wxLANGUAGE_SERBIAN_CYRILLIC            sr_YU  LANG_SERBIAN     SUBLANG_SERBIAN_CYRILLIC            LTR    "Serbian (Cyrillic)"
 wxLANGUAGE_SERBIAN_LATIN               sr_YU@latin LANG_SERBIAN SUBLANG_SERBIAN_LATIN              LTR    "Serbian (Latin)"
 wxLANGUAGE_SERBO_CROATIAN              sh     -                -                                   LTR    "Serbo-Croatian"
index 896533d2a4510627d9ead27c488e865832240b5b..bffac09ffd5e909f917fa23dcf7ec208122c9e7e 100644 (file)
@@ -3465,9 +3465,9 @@ void wxLocale::InitLanguagesDB()
    LNG(wxLANGUAGE_SANGHO,                     "sg"   , 0              , 0                                 , wxLayout_LeftToRight, "Sangho")
    LNG(wxLANGUAGE_SANSKRIT,                   "sa"   , LANG_SANSKRIT  , SUBLANG_DEFAULT                   , wxLayout_LeftToRight, "Sanskrit")
    LNG(wxLANGUAGE_SCOTS_GAELIC,               "gd"   , 0              , 0                                 , wxLayout_LeftToRight, "Scots Gaelic")
-   LNG(wxLANGUAGE_SERBIAN,                    "sr_SR", LANG_SERBIAN   , SUBLANG_DEFAULT                   , wxLayout_LeftToRight, "Serbian")
-   LNG(wxLANGUAGE_SERBIAN_CYRILLIC,           "sr_SR", LANG_SERBIAN   , SUBLANG_SERBIAN_CYRILLIC          , wxLayout_LeftToRight, "Serbian (Cyrillic)")
-   LNG(wxLANGUAGE_SERBIAN_LATIN,              "sr_SR@latin", LANG_SERBIAN   , SUBLANG_SERBIAN_LATIN             , wxLayout_LeftToRight, "Serbian (Latin)")
+   LNG(wxLANGUAGE_SERBIAN,                    "sr_RS", LANG_SERBIAN   , SUBLANG_DEFAULT                   , wxLayout_LeftToRight, "Serbian")
+   LNG(wxLANGUAGE_SERBIAN_CYRILLIC,           "sr_RS", LANG_SERBIAN   , SUBLANG_SERBIAN_CYRILLIC          , wxLayout_LeftToRight, "Serbian (Cyrillic)")
+   LNG(wxLANGUAGE_SERBIAN_LATIN,              "sr_RS@latin", LANG_SERBIAN   , SUBLANG_SERBIAN_LATIN             , wxLayout_LeftToRight, "Serbian (Latin)")
    LNG(wxLANGUAGE_SERBIAN_CYRILLIC,           "sr_YU", LANG_SERBIAN   , SUBLANG_SERBIAN_CYRILLIC          , wxLayout_LeftToRight, "Serbian (Cyrillic)")
    LNG(wxLANGUAGE_SERBIAN_LATIN,              "sr_YU@latin", LANG_SERBIAN   , SUBLANG_SERBIAN_LATIN             , wxLayout_LeftToRight, "Serbian (Latin)")
    LNG(wxLANGUAGE_SERBO_CROATIAN,             "sh"   , 0              , 0                                 , wxLayout_LeftToRight, "Serbo-Croatian")