diff --git a/include/wx/language.h b/include/wx/language.h index 1757ab9049..46d81ef921 100644 --- a/include/wx/language.h +++ b/include/wx/language.h @@ -75,6 +75,7 @@ enum wxLanguage wxLANGUAGE_BHUTANI, wxLANGUAGE_BIHARI, wxLANGUAGE_BISLAMA, + wxLANGUAGE_BOSNIAN, wxLANGUAGE_BRETON, wxLANGUAGE_BULGARIAN, wxLANGUAGE_BURMESE, diff --git a/interface/wx/language.h b/interface/wx/language.h index 306151c70e..ed6dfeb590 100644 --- a/interface/wx/language.h +++ b/interface/wx/language.h @@ -60,6 +60,7 @@ enum wxLanguage wxLANGUAGE_BHUTANI, wxLANGUAGE_BIHARI, wxLANGUAGE_BISLAMA, + wxLANGUAGE_BOSNIAN, wxLANGUAGE_BRETON, wxLANGUAGE_BULGARIAN, wxLANGUAGE_BURMESE, diff --git a/misc/languages/langtabl.txt b/misc/languages/langtabl.txt index 4a362d7372..b30058597e 100644 --- a/misc/languages/langtabl.txt +++ b/misc/languages/langtabl.txt @@ -35,6 +35,7 @@ wxLANGUAGE_BENGALI bn LANG_BENGALI SUBLANG_DEFAULT wxLANGUAGE_BHUTANI dz - - LTR "Bhutani" wxLANGUAGE_BIHARI bh - - LTR "Bihari" wxLANGUAGE_BISLAMA bi - - LTR "Bislama" +wxLANGUAGE_BOSNIAN bs LANG_BOSNIAN SUBLANG_BOSNIAN_BOSNIA_HERZEGOVINA_LATIN LTR "Bosnian" wxLANGUAGE_BRETON br - - LTR "Breton" wxLANGUAGE_BULGARIAN bg_BG LANG_BULGARIAN SUBLANG_DEFAULT LTR "Bulgarian" wxLANGUAGE_BURMESE my - - LTR "Burmese" diff --git a/src/common/languageinfo.cpp b/src/common/languageinfo.cpp index 23660c3cb8..460b441aec 100644 --- a/src/common/languageinfo.cpp +++ b/src/common/languageinfo.cpp @@ -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 @@ -583,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")