mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
WX: Various fixes.
Dolphin no longer lowers itself below the top window when opening. Dolphin no longer draws garbage lines all over the game list. Use the correct platform macros so Dolphin can actually find the translation catalogs on Unix.
This commit is contained in:
parent
def0b42fb7
commit
50756d69c0
4 changed files with 14 additions and 5 deletions
|
@ -307,11 +307,11 @@ void DolphinApp::InitLanguageSupport()
|
|||
m_locale.reset(new wxLocale(language));
|
||||
|
||||
// Specify where dolphins *.gmo files are located on each operating system
|
||||
#ifdef _WIN32
|
||||
#ifdef __WXMSW__
|
||||
m_locale->AddCatalogLookupPathPrefix(StrToWxStr(File::GetExeDirectory() + DIR_SEP "Languages"));
|
||||
#elif defined(__LINUX__)
|
||||
#elif defined(__WXGTK__)
|
||||
m_locale->AddCatalogLookupPathPrefix(StrToWxStr(DATA_DIR "../locale"));
|
||||
#elif defined(__APPLE__)
|
||||
#elif defined(__WXOSX__)
|
||||
m_locale->AddCatalogLookupPathPrefix(
|
||||
StrToWxStr(File::GetBundleDirectory() + "Contents/Resources"));
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue