X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ea14492351395f1dcea060e8db0860f865b92658..4c552a824c1facdf3b515a89d0715c21a4398a8a:/src/common/languageinfo.cpp diff --git a/src/common/languageinfo.cpp b/src/common/languageinfo.cpp index 57c2883bb8..cf166f3e08 100644 --- a/src/common/languageinfo.cpp +++ b/src/common/languageinfo.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: src/common/language.cpp +// Name: src/common/languageinfo.cpp // Purpose: wxLocale::InitLanguagesDB() // Author: Vadim Zeitlin, Vaclav Slavik // Created: 2010-04-23 @@ -77,6 +77,9 @@ #ifndef LANG_BENGALI #define LANG_BENGALI (0) #endif +#ifndef LANG_BOSNIAN +#define LANG_BOSNIAN (0) +#endif #ifndef LANG_BULGARIAN #define LANG_BULGARIAN (0) #endif @@ -317,6 +320,9 @@ #ifndef SUBLANG_AZERI_LATIN #define SUBLANG_AZERI_LATIN SUBLANG_DEFAULT #endif +#ifndef SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN +#define SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN SUBLANG_DEFAULT +#endif #ifndef SUBLANG_CHINESE_SIMPLIFIED #define SUBLANG_CHINESE_SIMPLIFIED SUBLANG_DEFAULT #endif @@ -545,7 +551,6 @@ void wxLocale::InitLanguagesDB() { wxLanguageInfo info; - wxStringTokenizer tkn; LNG(wxLANGUAGE_ABKHAZIAN, "ab" , 0 , 0 , wxLayout_LeftToRight, "Abkhazian") LNG(wxLANGUAGE_AFAR, "aa" , 0 , 0 , wxLayout_LeftToRight, "Afar") @@ -584,6 +589,7 @@ void wxLocale::InitLanguagesDB() LNG(wxLANGUAGE_BHUTANI, "dz" , 0 , 0 , wxLayout_LeftToRight, "Bhutani") LNG(wxLANGUAGE_BIHARI, "bh" , 0 , 0 , wxLayout_LeftToRight, "Bihari") LNG(wxLANGUAGE_BISLAMA, "bi" , 0 , 0 , wxLayout_LeftToRight, "Bislama") + LNG(wxLANGUAGE_BOSNIAN, "bs" , LANG_BOSNIAN , SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN, wxLayout_LeftToRight, "Bosnian") LNG(wxLANGUAGE_BRETON, "br" , 0 , 0 , wxLayout_LeftToRight, "Breton") LNG(wxLANGUAGE_BULGARIAN, "bg_BG", LANG_BULGARIAN , SUBLANG_DEFAULT , wxLayout_LeftToRight, "Bulgarian") LNG(wxLANGUAGE_BURMESE, "my" , 0 , 0 , wxLayout_LeftToRight, "Burmese") @@ -657,7 +663,7 @@ void wxLocale::InitLanguagesDB() LNG(wxLANGUAGE_ITALIAN, "it_IT", LANG_ITALIAN , SUBLANG_ITALIAN , wxLayout_LeftToRight, "Italian") LNG(wxLANGUAGE_ITALIAN_SWISS, "it_CH", LANG_ITALIAN , SUBLANG_ITALIAN_SWISS , wxLayout_LeftToRight, "Italian (Swiss)") LNG(wxLANGUAGE_JAPANESE, "ja_JP", LANG_JAPANESE , SUBLANG_DEFAULT , wxLayout_LeftToRight, "Japanese") - LNG(wxLANGUAGE_JAVANESE, "jw" , 0 , 0 , wxLayout_LeftToRight, "Javanese") + LNG(wxLANGUAGE_JAVANESE, "jv" , 0 , 0 , wxLayout_LeftToRight, "Javanese") LNG(wxLANGUAGE_KANNADA, "kn" , LANG_KANNADA , SUBLANG_DEFAULT , wxLayout_LeftToRight, "Kannada") LNG(wxLANGUAGE_KASHMIRI, "ks" , LANG_KASHMIRI , SUBLANG_DEFAULT , wxLayout_LeftToRight, "Kashmiri") LNG(wxLANGUAGE_KASHMIRI_INDIA, "ks_IN", LANG_KASHMIRI , SUBLANG_KASHMIRI_INDIA , wxLayout_LeftToRight, "Kashmiri (India)")