Skip to content

Commit

Permalink
rename language fiels #681
Browse files Browse the repository at this point in the history
  • Loading branch information
erkin97 committed Mar 3, 2018
1 parent a4b3430 commit d1e8e42
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions SubutaiControlCenter.pro
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ HEADERS += \
hub/include/HostMachineController.h \
hub/forms/DlgTransferFile.h

TRANSLATIONS = SubutaiTray_en_US.ts \
SubutaiTray_ru_RU.ts \
SubutaiTray_pt_BR.ts
TRANSLATIONS = SubutaiControlCenter_en_US.ts \
SubutaiControlCenter_ru_RU.ts \
SubutaiControlCenter_pt_BR.ts

FORMS += \
hub/forms/DlgLogin.ui \
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ main(int argc, char *argv[]) {

QTranslator translator;
QString locale = LanguageController::CurrentLocale();
translator.load(QString("SubutaiTray_%1.qm").arg(locale), QApplication::applicationDirPath());
translator.load(QString("SubutaiControlCenter_%1.qm").arg(locale), QApplication::applicationDirPath());
app.installTranslator(&translator);

qInstallMessageHandler(Logger::LoggerMessageOutput);
Expand Down

0 comments on commit d1e8e42

Please sign in to comment.