Commit b46d46efbac4a59a3a96e674247923de4bfdfd55

Authored by Peter Zhigalov
1 parent 77f7030e

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

This reverts commit 0947f867.
Showing 1 changed file with 1 additions and 1 deletions
src_qt/mainwindow.cpp
... ... @@ -672,7 +672,7 @@ void MainWindow::update_translations(QString language)
672 672 static QTranslator translator;
673 673 if(!translator.isEmpty())
674 674 qApp->removeTranslator(&translator);
675   - translator.load(QLocale(language), "fem_draw_qt", "_", ":/l10ns");
  675 + translator.load(QString(":/l10ns/fem_draw_qt_%1").arg(language));
676 676 qApp->installTranslator(&translator);
677 677 ui->retranslateUi(this);
678 678  
... ...