Skip to content
This repository has been archived by the owner on Sep 4, 2019. It is now read-only.

Commit

Permalink
Merge pull request #41 from roroth/master
Browse files Browse the repository at this point in the history
Change to allow proper language translations
  • Loading branch information
Bob Roth committed Feb 2, 2015
2 parents 1f7f02c + 15cbc0e commit ede1fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bluetoothsppchat/src/applicationui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void ApplicationUI::onSystemLanguageChanged()
QCoreApplication::instance()->removeTranslator(m_pTranslator);
// Initiate, load and install the application translation files.
QString locale_string = QLocale().name();
QString file_name = QString("Template_%1").arg(locale_string);
QString file_name = QString("bluetoothsppchat_%1").arg(locale_string);
if (m_pTranslator->load(file_name, "app/native/qm")) {
QCoreApplication::instance()->installTranslator(m_pTranslator);
}
Expand Down

0 comments on commit ede1fda

Please sign in to comment.