aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/CMakeLists.txt16
-rwxr-xr-xsrc/ui/SettingsDialog.cpp6
2 files changed, 12 insertions, 10 deletions
diff --git a/src/ui/CMakeLists.txt b/src/ui/CMakeLists.txt
index 2527da46..d92a63ed 100644
--- a/src/ui/CMakeLists.txt
+++ b/src/ui/CMakeLists.txt
@@ -1,9 +1,11 @@
-aux_source_directory(. QTUI_SOURCE)
-aux_source_directory(./keypair_details QTUI_SOURCE)
-aux_source_directory(./widgets QTUI_SOURCE)
-aux_source_directory(./keygen QTUI_SOURCE)
+aux_source_directory(. UI_SOURCE)
+aux_source_directory(./keypair_details UI_SOURCE)
+aux_source_directory(./widgets UI_SOURCE)
+aux_source_directory(./keygen UI_SOURCE)
-add_library(qtui STATIC ${QTUI_SOURCE} ${QTUI_KEYPAIR_DETAILS_SOURCE})
+add_library(gpgfrontend-ui STATIC ${UI_SOURCE})
-target_link_libraries(qtui
- Qt5::Network Qt5::PrintSupport Qt5::Widgets Qt5::Test Qt5::Core) \ No newline at end of file
+target_link_libraries(gpgfrontend-ui
+ Qt5::Network Qt5::PrintSupport Qt5::Widgets Qt5::Test Qt5::Core)
+
+message(STATUS "UI SOURCE ${UI_SOURCE}") \ No newline at end of file
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()));