mirror of
https://github.com/monero-project/monero-gui.git
synced 2026-04-02 07:47:26 -04:00
Translations are separate qm files
This commit is contained in:
@@ -26,7 +26,11 @@ bool TranslationManager::setLanguage(const QString &language)
|
||||
}
|
||||
|
||||
// translations are compiled into app binary
|
||||
QString dir = ":/translations";
|
||||
#ifdef Q_OS_MACX
|
||||
QString dir = qApp->applicationDirPath() + "/../Resources/translations";
|
||||
#else
|
||||
QString dir = qApp->applicationDirPath() + "/translations";
|
||||
#endif
|
||||
|
||||
QString filename = "monero-core_" + language;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user