Merge pull request #2168 from JosJuice/language-selection-untranslated

Display languages untranslated in GUI language selection
This commit is contained in:
Lioncash 2015-03-05 18:05:23 -05:00
commit 47c8955248
1 changed files with 44 additions and 40 deletions

View File

@ -81,31 +81,33 @@ const CPUCore CPUCores[] = {
static const wxLanguage langIds[] = static const wxLanguage langIds[] =
{ {
wxLANGUAGE_DEFAULT, wxLANGUAGE_DEFAULT,
wxLANGUAGE_ARABIC,
wxLANGUAGE_CATALAN, wxLANGUAGE_CATALAN,
wxLANGUAGE_CHINESE_SIMPLIFIED,
wxLANGUAGE_CHINESE_TRADITIONAL,
wxLANGUAGE_CZECH, wxLANGUAGE_CZECH,
wxLANGUAGE_DUTCH,
wxLANGUAGE_ENGLISH,
wxLANGUAGE_FARSI,
wxLANGUAGE_FRENCH,
wxLANGUAGE_GERMAN, wxLANGUAGE_GERMAN,
wxLANGUAGE_GREEK, wxLANGUAGE_ENGLISH,
wxLANGUAGE_HEBREW, wxLANGUAGE_SPANISH,
wxLANGUAGE_HUNGARIAN, wxLANGUAGE_FRENCH,
wxLANGUAGE_ITALIAN, wxLANGUAGE_ITALIAN,
wxLANGUAGE_JAPANESE, wxLANGUAGE_HUNGARIAN,
wxLANGUAGE_KOREAN, wxLANGUAGE_DUTCH,
wxLANGUAGE_NORWEGIAN_BOKMAL, wxLANGUAGE_NORWEGIAN_BOKMAL,
wxLANGUAGE_POLISH, wxLANGUAGE_POLISH,
wxLANGUAGE_PORTUGUESE, wxLANGUAGE_PORTUGUESE,
wxLANGUAGE_PORTUGUESE_BRAZILIAN, wxLANGUAGE_PORTUGUESE_BRAZILIAN,
wxLANGUAGE_RUSSIAN,
wxLANGUAGE_SERBIAN, wxLANGUAGE_SERBIAN,
wxLANGUAGE_SPANISH,
wxLANGUAGE_SWEDISH, wxLANGUAGE_SWEDISH,
wxLANGUAGE_TURKISH, wxLANGUAGE_TURKISH,
wxLANGUAGE_GREEK,
wxLANGUAGE_RUSSIAN,
wxLANGUAGE_HEBREW,
wxLANGUAGE_ARABIC,
wxLANGUAGE_FARSI,
wxLANGUAGE_KOREAN,
wxLANGUAGE_JAPANESE,
wxLANGUAGE_CHINESE_SIMPLIFIED,
wxLANGUAGE_CHINESE_TRADITIONAL,
}; };
// Strings for Device Selections // Strings for Device Selections
@ -297,32 +299,34 @@ void CConfigMain::InitializeGUILists()
// GUI language arrayStrings // GUI language arrayStrings
// keep these in sync with the langIds array at the beginning of this file // keep these in sync with the langIds array at the beginning of this file
arrayStringFor_InterfaceLang.Add(_("<System>")); arrayStringFor_InterfaceLang.Add(_("<System Language>"));
arrayStringFor_InterfaceLang.Add(_("Arabic"));
arrayStringFor_InterfaceLang.Add(_("Catalan")); arrayStringFor_InterfaceLang.Add(L"Catal\u00E0"); // Catalan
arrayStringFor_InterfaceLang.Add(_("Chinese (Simplified)")); arrayStringFor_InterfaceLang.Add(L"\u010Ce\u0161tina"); // Czech
arrayStringFor_InterfaceLang.Add(_("Chinese (Traditional)")); arrayStringFor_InterfaceLang.Add(L"Deutsch"); // German
arrayStringFor_InterfaceLang.Add(_("Czech")); arrayStringFor_InterfaceLang.Add(L"English"); // English
arrayStringFor_InterfaceLang.Add(_("Dutch")); arrayStringFor_InterfaceLang.Add(L"Espa\u00F1ol"); // Spanish
arrayStringFor_InterfaceLang.Add(_("English")); arrayStringFor_InterfaceLang.Add(L"Fran\u00E7ais"); // French
arrayStringFor_InterfaceLang.Add(_("Farsi")); arrayStringFor_InterfaceLang.Add(L"Italiano"); // Italian
arrayStringFor_InterfaceLang.Add(_("French")); arrayStringFor_InterfaceLang.Add(L"Magyar"); // Hungarian
arrayStringFor_InterfaceLang.Add(_("German")); arrayStringFor_InterfaceLang.Add(L"Nederlands"); // Dutch
arrayStringFor_InterfaceLang.Add(_("Greek")); arrayStringFor_InterfaceLang.Add(L"Norsk bokm\u00E5l"); // Norwegian
arrayStringFor_InterfaceLang.Add(_("Hebrew")); arrayStringFor_InterfaceLang.Add(L"Polski"); // Polish
arrayStringFor_InterfaceLang.Add(_("Hungarian")); arrayStringFor_InterfaceLang.Add(L"Portugu\u00EAs"); // Portuguese
arrayStringFor_InterfaceLang.Add(_("Italian")); arrayStringFor_InterfaceLang.Add(L"Portugu\u00EAs (Brasil)"); // Portuguese (Brazil)
arrayStringFor_InterfaceLang.Add(_("Japanese")); arrayStringFor_InterfaceLang.Add(L"Srpski"); // Serbian
arrayStringFor_InterfaceLang.Add(_("Korean")); arrayStringFor_InterfaceLang.Add(L"Svenska"); // Swedish
arrayStringFor_InterfaceLang.Add(_("Norwegian Bokmaal")); arrayStringFor_InterfaceLang.Add(L"T\u00FCrk\u00E7e"); // Turkish
arrayStringFor_InterfaceLang.Add(_("Polish"));
arrayStringFor_InterfaceLang.Add(_("Portuguese")); arrayStringFor_InterfaceLang.Add(L"\u0395\u03BB\u03BB\u03B7\u03BD\u03B9\u03BA\u03AC"); // Greek
arrayStringFor_InterfaceLang.Add(_("Portuguese (Brazilian)")); arrayStringFor_InterfaceLang.Add(L"\u0420\u0443\u0441\u0441\u043A\u0438\u0439"); // Russian
arrayStringFor_InterfaceLang.Add(_("Russian")); arrayStringFor_InterfaceLang.Add(L"\u05E2\u05D1\u05E8\u05D9\u05EA"); // Hebrew
arrayStringFor_InterfaceLang.Add(_("Serbian")); arrayStringFor_InterfaceLang.Add(L"\u0627\u0644\u0639\u0631\u0628\u064A\u0629"); // Arabic
arrayStringFor_InterfaceLang.Add(_("Spanish")); arrayStringFor_InterfaceLang.Add(L"\u0641\u0627\u0631\u0633\u06CC"); // Farsi
arrayStringFor_InterfaceLang.Add(_("Swedish")); arrayStringFor_InterfaceLang.Add(L"\uD55C\uAD6D\uC5B4"); // Korean
arrayStringFor_InterfaceLang.Add(_("Turkish")); arrayStringFor_InterfaceLang.Add(L"\u65E5\u672C\u8A9E"); // Japanese
arrayStringFor_InterfaceLang.Add(L"\u7B80\u4F53\u4E2D\u6587"); // Simplified Chinese
arrayStringFor_InterfaceLang.Add(L"\u7E41\u9AD4\u4E2D\u6587"); // Traditional Chinese
} }
void CConfigMain::InitializeGUIValues() void CConfigMain::InitializeGUIValues()