We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c8b1c8c commit 9161dc0Copy full SHA for 9161dc0
1 file changed
WinSetting.cpp
@@ -618,8 +618,8 @@ void WinSetting::onComboBoxLanguage(int index)
618
{
619
QString language(QLocale().name());
620
language = ui->comboBoxLanguage->itemData(index).toString();
621
- bool ok = m_trans->load("./" + language + ".qm");
622
-// qDebug()<< "---------@1--->" << language << ok ;
+ bool ok = m_trans->load("/usr/share/NetSpeed/translations/" + language + ".qm"); // /usr/share/NetSpeed/translations/
+// qDebug()<< "----@1--->" << "/usr/share/NetSpeed/translations/" + language + ".qm" << ok ;
623
QCoreApplication::installTranslator(m_trans);
624
}
625
0 commit comments