diff options
| -rw-r--r-- | src/mainwindow.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp index abcb5312..6cbe364e 100644 --- a/src/mainwindow.cpp +++ b/src/mainwindow.cpp @@ -3726,6 +3726,9 @@ void MainWindow::languageChange(const QString &newLanguage) installTranslator("qt");
installTranslator(ToQString(AppConfig::translationPrefix()));
+ for (const QString &fileName : m_PluginContainer.pluginFileNames()) {
+ installTranslator(QFileInfo(fileName).baseName());
+ }
ui->retranslateUi(this);
qDebug("loaded language %s", qPrintable(newLanguage));
|
