mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-28 23:38:49 +00:00
windows: simplify handling of gettext
fixes binplace on first build
This commit is contained in:
parent
113fdc959d
commit
db4d81b9a8
8 changed files with 23 additions and 319 deletions
|
@ -275,7 +275,7 @@ static bool TryInstallTranslator(const QString& exact_language_code)
|
|||
std::string lang = qlang.toStdString();
|
||||
auto filename =
|
||||
#if defined _WIN32
|
||||
File::GetExeDirectory() + StringFromFormat("/Languages/%s/dolphin-emu.mo", lang.c_str())
|
||||
File::GetExeDirectory() + StringFromFormat("/Languages/%s.mo", lang.c_str())
|
||||
#elif defined __APPLE__
|
||||
File::GetBundleDirectory() +
|
||||
StringFromFormat("/Contents/Resources/%s.lproj/dolphin-emu.mo", lang.c_str())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue