Skip to content

Commit

Permalink
Fix i18n
Browse files Browse the repository at this point in the history
This fixes an individual string i18n in theme selection and
the whole Preferences.
  • Loading branch information
bitigchi authored and tsdgeos committed Dec 21, 2023
1 parent 6567947 commit ec17804
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Messages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
$EXTRACT_TR_STRINGS `find src/ -name \*.cpp -o -name \*.h -o -name \*.ui` -o $podir/ghostwriter_qt.pot
2 changes: 1 addition & 1 deletion src/theme/themeselectiondialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ec17804

Please sign in to comment.