Display add-on name in add-on configuration window title
This commit is contained in:
parent
2db7591b6d
commit
d22ad11224
@ -1258,6 +1258,12 @@ class ConfigEditor(QDialog):
|
|||||||
self.updateText(self.conf)
|
self.updateText(self.conf)
|
||||||
restoreGeom(self, "addonconf")
|
restoreGeom(self, "addonconf")
|
||||||
restoreSplitter(self.form.splitter, "addonconf")
|
restoreSplitter(self.form.splitter, "addonconf")
|
||||||
|
self.setWindowTitle(
|
||||||
|
tr(
|
||||||
|
TR.ADDONS_CONFIG_WINDOW_TITLE,
|
||||||
|
name=self.mgr.addon_meta(addon).human_name(),
|
||||||
|
)
|
||||||
|
)
|
||||||
self.show()
|
self.show()
|
||||||
|
|
||||||
def onRestoreDefaults(self):
|
def onRestoreDefaults(self):
|
||||||
|
@ -4,3 +4,5 @@ addons-failed-to-load =
|
|||||||
|
|
||||||
When loading '{$name}':
|
When loading '{$name}':
|
||||||
{$traceback}
|
{$traceback}
|
||||||
|
# Shown in the add-on configuration screen (Tools>Add-ons>Config), in the title bar
|
||||||
|
addons-config-window-title = Configure '{$name}'
|
||||||
|
Loading…
Reference in New Issue
Block a user