Added some languages:

Added Norwegian Bokmål thanks to KHRZ
Added Polish thanks to Baszta
Added Russian thanks to Kein

Also cleaned up the appearance of the GFX config dialog a bit, fixed a minor issue in the cmake build, and fixed the nowx build.


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6786 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-01-08 17:35:34 +00:00
parent 7c121dadcb
commit 34732999a1
22 changed files with 14042 additions and 615 deletions

View File

@ -263,8 +263,11 @@ void CConfigMain::InitializeGUILists()
arrayStringFor_InterfaceLang.Add(_("English"));
arrayStringFor_InterfaceLang.Add(_("German"));
arrayStringFor_InterfaceLang.Add(_("French"));
arrayStringFor_InterfaceLang.Add(_("Spanish"));
arrayStringFor_InterfaceLang.Add(_("Italian"));
arrayStringFor_InterfaceLang.Add(_("Norwegian Bokmål"));
arrayStringFor_InterfaceLang.Add(_("Polish"));
arrayStringFor_InterfaceLang.Add(_("Russian"));
}
void CConfigMain::InitializeGUIValues()

View File

@ -409,7 +409,7 @@ void DolphinApp::AfterInit(wxTimerEvent& WXUNUSED(event))
void DolphinApp::InitLanguageSupport()
{
int language = 0;
unsigned int language = 0;
// keep those in sync with CConfigMain::InitializeGUILists
const wxLanguage langIds[] =
@ -418,9 +418,12 @@ void DolphinApp::InitLanguageSupport()
wxLANGUAGE_ENGLISH,
wxLANGUAGE_GERMAN,
wxLANGUAGE_FRENCH,
wxLANGUAGE_SPANISH,
wxLANGUAGE_ITALIAN,
wxLANGUAGE_NORWEGIAN_BOKMAL,
wxLANGUAGE_POLISH,
wxLANGUAGE_RUSSIAN
};
IniFile ini;
ini.Load(File::GetUserPath(F_DOLPHINCONFIG_IDX));
ini.Get("Interface", "Language", &language, 0);

View File

@ -101,11 +101,15 @@ void Host_GetRenderWindowSize(int& x, int& y, int& width, int& height)
height = SConfig::GetInstance().m_LocalCoreStartupParameter.iRenderWindowHeight;
}
void Host_RequestRenderWindowSize(int& width, int& height) {}
bool Host_RendererHasFocus()
{
return rendererHasFocus;
}
void Host_ConnectWiimote(int wm_idx, bool connect) {}
void Host_SetWaitCursor(bool enable){}

View File

@ -427,6 +427,7 @@ VideoConfigDiag::VideoConfigDiag(wxWindow* parent, const std::string &title, con
szr_misc->Add(new SettingCheckBox(page_advanced, _("Enable Display List Caching"), dlc_tooltip, vconfig.bDlistCachingEnable));
szr_misc->Add(new SettingCheckBox(page_advanced, _("Enable Hotkeys"), hotkeys_tooltip, vconfig.bOSDHotKey));
szr_misc->Add(new SettingCheckBox(page_advanced, wxT("Adjust window size"), adjust_window_size_tooltip, vconfig.bAdjustWindowSize));
szr_misc->AddSpacer(0);
// postproc shader
if (vconfig.backend_info.PPShaders.size())