Commit b46d46ef authored by Peter Zhigalov's avatar Peter Zhigalov

Revert "Более канонично сконструировал QTranslator"

This reverts commit 0947f867.
parent 77f7030e
......@@ -672,7 +672,7 @@ void MainWindow::update_translations(QString language)
static QTranslator translator;
if(!translator.isEmpty())
qApp->removeTranslator(&translator);
translator.load(QLocale(language), "fem_draw_qt", "_", ":/l10ns");
translator.load(QString(":/l10ns/fem_draw_qt_%1").arg(language));
qApp->installTranslator(&translator);
ui->retranslateUi(this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment