SettingsDialog: Make tab titles translatable

Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
This commit is contained in:
Juraj Oravec 2019-06-28 11:13:07 +02:00
parent 0e295d2fe6
commit 08cf5a95f3
No known key found for this signature in database
GPG Key ID: 63ACB65056BC8D07

View File

@ -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"))