mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 16:49:27 +00:00
Fixed language selection by adding English, leaving default as "<System>" language. Removed languages which don't have translations yet.
As side-effect, changed GameListCtrl sorting to use the configured IPL/GC language instead of the UI language, which is misleading with missing translations, and possibly wrong if we ever get translations that are not part of the GC ones. In case we want the old behavior back, revert GameListCtrl.cpp and ISOProperties.cpp. For translators: use either "<System>" if your operating system is the same language as the one you're translating for, or replace one of the others. Someone will add them to the list when they are committed. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6785 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
5c725262ba
commit
7c121dadcb
9 changed files with 139 additions and 342 deletions
|
@ -230,20 +230,16 @@ void CConfigMain::InitializeGUILists()
|
|||
arrayStringFor_Themes.Add(wxT("Vista"));
|
||||
arrayStringFor_Themes.Add(wxT("X-Plastik"));
|
||||
arrayStringFor_Themes.Add(wxT("KDE"));
|
||||
|
||||
// GUI language arrayStrings
|
||||
arrayStringFor_InterfaceLang.Add(_("English"));
|
||||
arrayStringFor_InterfaceLang.Add(_("German"));
|
||||
arrayStringFor_InterfaceLang.Add(_("French"));
|
||||
arrayStringFor_InterfaceLang.Add(_("Spanish"));
|
||||
arrayStringFor_InterfaceLang.Add(_("Italian"));
|
||||
arrayStringFor_InterfaceLang.Add(_("Dutch"));
|
||||
|
||||
|
||||
// Gamecube page
|
||||
// GC Language arrayStrings
|
||||
arrayStringFor_GCSystemLang = arrayStringFor_InterfaceLang;
|
||||
|
||||
arrayStringFor_GCSystemLang.Add(_("English"));
|
||||
arrayStringFor_GCSystemLang.Add(_("German"));
|
||||
arrayStringFor_GCSystemLang.Add(_("French"));
|
||||
arrayStringFor_GCSystemLang.Add(_("Spanish"));
|
||||
arrayStringFor_GCSystemLang.Add(_("Italian"));
|
||||
arrayStringFor_GCSystemLang.Add(_("Dutch"));
|
||||
|
||||
|
||||
// Wii page
|
||||
// Sensorbar Position
|
||||
|
@ -255,12 +251,20 @@ void CConfigMain::InitializeGUILists()
|
|||
arrayStringFor_WiiAspectRatio.Add(wxT("16:9"));
|
||||
|
||||
// Wii Language arrayStrings
|
||||
arrayStringFor_WiiSystemLang = arrayStringFor_InterfaceLang;
|
||||
arrayStringFor_WiiSystemLang = arrayStringFor_GCSystemLang;
|
||||
arrayStringFor_WiiSystemLang.Insert(_("Japanese"), 0);
|
||||
arrayStringFor_WiiSystemLang.Add(_("Simplified Chinese"));
|
||||
arrayStringFor_WiiSystemLang.Add(_("Traditional Chinese"));
|
||||
arrayStringFor_WiiSystemLang.Add(_("Korean"));
|
||||
|
||||
|
||||
// GUI language arrayStrings
|
||||
// keep those in sync with DolphinApp::InitLanguageSupport
|
||||
arrayStringFor_InterfaceLang.Add(_("<System>"));
|
||||
arrayStringFor_InterfaceLang.Add(_("English"));
|
||||
arrayStringFor_InterfaceLang.Add(_("German"));
|
||||
arrayStringFor_InterfaceLang.Add(_("French"));
|
||||
arrayStringFor_InterfaceLang.Add(_("Italian"));
|
||||
|
||||
}
|
||||
|
||||
void CConfigMain::InitializeGUIValues()
|
||||
|
@ -873,10 +877,9 @@ void CConfigMain::DisplaySettingsChanged(wxCommandEvent& event)
|
|||
main_frame->InitBitmaps();
|
||||
break;
|
||||
case ID_INTERFACE_LANG:
|
||||
if (SConfig::GetInstance().m_InterfaceLanguage !=
|
||||
(INTERFACE_LANGUAGE)InterfaceLang->GetSelection())
|
||||
if (SConfig::GetInstance().m_InterfaceLanguage != InterfaceLang->GetSelection())
|
||||
SuccessAlert("You must restart Dolphin in order for the change to take effect.");
|
||||
SConfig::GetInstance().m_InterfaceLanguage = (INTERFACE_LANGUAGE)InterfaceLang->GetSelection();
|
||||
SConfig::GetInstance().m_InterfaceLanguage = InterfaceLang->GetSelection();
|
||||
bRefreshList = true;
|
||||
break;
|
||||
case ID_HOTKEY_CONFIG:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue