Load translations of qtutilities
This commit is contained in:
parent
300adc5001
commit
7c9ea14a9e
|
@ -846,6 +846,7 @@ void QtWindow::refreshTranslate() {
|
||||||
const auto locale = m_settings->selectedLangauge();
|
const auto locale = m_settings->selectedLangauge();
|
||||||
QtUtilities::TranslationFiles::clearTranslationFiles();
|
QtUtilities::TranslationFiles::clearTranslationFiles();
|
||||||
QtUtilities::TranslationFiles::loadApplicationTranslationFile(QString(), QSTR_APPNAME, locale);
|
QtUtilities::TranslationFiles::loadApplicationTranslationFile(QString(), QSTR_APPNAME, locale);
|
||||||
|
QtUtilities::TranslationFiles::loadApplicationTranslationFile(QString(), QStringLiteral("qtutilities"), QLocale(locale).name());
|
||||||
QtUtilities::TranslationFiles::loadApplicationTranslationFile(QString(), QStringLiteral("music"), locale);
|
QtUtilities::TranslationFiles::loadApplicationTranslationFile(QString(), QStringLiteral("music"), locale);
|
||||||
QtUtilities::TranslationFiles::loadQtTranslationFile({QStringLiteral("qtbase")}, locale);
|
QtUtilities::TranslationFiles::loadQtTranslationFile({QStringLiteral("qtbase")}, locale);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user