SettingsDialog: Make tab titles translatable
Signed-off-by: Juraj Oravec <sgd.orava@gmail.com>
This commit is contained in:
parent
0e295d2fe6
commit
08cf5a95f3
@ -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"))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user