diff --git a/Messages.sh b/Messages.sh index cdc556de4..ad1d4c017 100755 --- a/Messages.sh +++ b/Messages.sh @@ -5,4 +5,4 @@ # SPDX-License-Identifier: GPL-3.0-or-later # Extract for Qt Linguist -$EXTRACT_TR_STRINGS `find src/ -name \*.cpp -o -name \*.h` -o $podir/ghostwriter_qt.pot \ No newline at end of file +$EXTRACT_TR_STRINGS `find src/ -name \*.cpp -o -name \*.h -o -name \*.ui` -o $podir/ghostwriter_qt.pot diff --git a/src/theme/themeselectiondialog.cpp b/src/theme/themeselectiondialog.cpp index 035f76e83..428cea744 100644 --- a/src/theme/themeselectiondialog.cpp +++ b/src/theme/themeselectiondialog.cpp @@ -134,7 +134,7 @@ ThemeSelectionDialog::ThemeSelectionDialog d->buildThemeList(currentThemeName); - QCheckBox *darkModeCheckbox = new QCheckBox("Preview in dark mode", this); + QCheckBox *darkModeCheckbox = new QCheckBox(tr("Preview in dark mode"), this); darkModeCheckbox->setChecked(darkModeEnabled); QDialogButtonBox *buttonBox = new QDialogButtonBox(Qt::Horizontal, this);