diff options
author | Saturneric <[email protected]> | 2021-06-20 19:53:03 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-06-20 19:53:03 +0000 |
commit | baf3e9f8a2ce41c945b0f4b1bdcd4060d853efd5 (patch) | |
tree | 17719ed3c9bc2e7dda772dcb017682080ed57ab8 /src/ui/SettingsDialog.cpp | |
parent | Update cmake.yml (diff) | |
parent | Merge remote-tracking branch 'origin/develop' into develop (diff) | |
download | GpgFrontend-baf3e9f8a2ce41c945b0f4b1bdcd4060d853efd5.tar.gz GpgFrontend-baf3e9f8a2ce41c945b0f4b1bdcd4060d853efd5.zip |
Merge branch 'develop' into main
Diffstat (limited to '')
-rwxr-xr-x | src/ui/SettingsDialog.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/SettingsDialog.cpp b/src/ui/SettingsDialog.cpp index 5501dedd..2c130497 100755 --- a/src/ui/SettingsDialog.cpp +++ b/src/ui/SettingsDialog.cpp @@ -99,7 +99,7 @@ QHash<QString, QString> SettingsDialog::listLanguages() { QString appPath = qApp->applicationDirPath(); QDir qmDir = QDir(appPath + "/ts/"); QStringList fileNames = - qmDir.entryList(QStringList("gpg4usb_*.qm")); + qmDir.entryList(QStringList("gpgfrontend_*.qm")); for (int i = 0; i < fileNames.size(); ++i) { QString locale = fileNames[i]; @@ -112,7 +112,7 @@ QHash<QString, QString> SettingsDialog::listLanguages() { QString language = QLocale::languageToString(qloc.language()) +" (" + locale + ")"; //+ " (" + QLocale::languageToString(qloc.language()) + ")"; #else QString language = qloc.nativeLanguageName() + " (" + locale + - ")"; //+ " (" + QLocale::languageToString(qloc.language()) + ")"; + ")"; #endif languages.insert(locale, language); } @@ -167,7 +167,7 @@ GeneralTab::GeneralTab(GpgME::GpgContext *ctx, QWidget *parent) langBoxLayout->addWidget(langSelectBox); langBoxLayout->addWidget( - new QLabel(tr("<b>NOTE: </b> Gpg4usb will restart automatically if you change the language!"))); + new QLabel(tr("<b>NOTE: </b> GpgFrontend will restart automatically if you change the language!"))); langBox->setLayout(langBoxLayout); connect(langSelectBox, SIGNAL(currentIndexChanged(int)), this, SLOT(slotLanguageChanged())); |