From 08cf5a95f3b337001529df47f8918740132405c0 Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Fri, 28 Jun 2019 11:13:07 +0200 Subject: [PATCH] SettingsDialog: Make tab titles translatable Signed-off-by: Juraj Oravec --- toolbartools/settingsDialog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/toolbartools/settingsDialog.py b/toolbartools/settingsDialog.py index 48996e6..2760f49 100644 --- a/toolbartools/settingsDialog.py +++ b/toolbartools/settingsDialog.py @@ -56,11 +56,11 @@ class SettingsDialog(QtWidgets.QDialog): def translations(self): self.setWindowTitle(i18n("Toolbar Tools Settings")) - self.ui.tabWidget.setTabText(0, "Spacer") + self.ui.tabWidget.setTabText(0, i18n("Spacer")) self.ui.numberOfSpacersLabel.setText(i18n("Number of spacers:")) self.ui.maximumWidthLabel.setText(i18n("Maximum width:")) - self.ui.tabWidget.setTabText(1, "Separator") + self.ui.tabWidget.setTabText(1, i18n("Separator")) self.ui.numberOfSeparatorsLabel.setText(i18n("Number of separators")) self.ui.separatorWidthLabel.setText(i18n("Width"))