mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 20:58:54 +00:00
Common/MsgHandler: Namespace code within the Common namespace
Closes another gap in the Common library where code isn't being namespaced under it.
This commit is contained in:
parent
e7dd46a531
commit
4f1f55093f
15 changed files with 214 additions and 143 deletions
|
@ -292,7 +292,8 @@ static bool TryInstallTranslator(const QString& exact_language_code)
|
|||
void Translation::Initialize()
|
||||
{
|
||||
// Hook up Dolphin internal translation
|
||||
RegisterStringTranslator([](const char* text) { return QObject::tr(text).toStdString(); });
|
||||
Common::RegisterStringTranslator(
|
||||
[](const char* text) { return QObject::tr(text).toStdString(); });
|
||||
|
||||
// Hook up Qt translations
|
||||
auto& configured_language = SConfig::GetInstance().m_InterfaceLanguage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue