mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
merge
This commit is contained in:
commit
eced4e2340
20 changed files with 5273 additions and 1121 deletions
|
|
@ -63,7 +63,10 @@ void installNewTranslator()
|
|||
qtTranslator->load("qt_" + lang, QLibraryInfo::location(QLibraryInfo::TranslationsPath));
|
||||
qApp->installTranslator(qtTranslator);
|
||||
|
||||
translator->load(translationPrefix + "_" + lang, ":/translations");
|
||||
if (!settingsCache->getCustomTranslationFile().isEmpty())
|
||||
translator->load(settingsCache->getCustomTranslationFile());
|
||||
else
|
||||
translator->load(translationPrefix + "_" + lang, ":/translations");
|
||||
qApp->installTranslator(translator);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue