split add-ons window title from menu bar action

https://anki.tenderapp.com/discussions/private/4781-print-mistake
This commit is contained in:
Damien Elmes 2020-07-19 09:49:36 +10:00
parent f04ea6904d
commit c203410307
3 changed files with 7 additions and 5 deletions

View File

@ -709,6 +709,7 @@ class AddonsDialog(QDialog):
qconnect(f.config.clicked, self.onConfig)
qconnect(self.form.addonList.itemDoubleClicked, self.onConfig)
qconnect(self.form.addonList.currentRowChanged, self._onAddonItemSelected)
self.setWindowTitle(tr(TR.ADDONS_WINDOW_TITLE))
self.setAcceptDrops(True)
self.redrawAddons()
restoreGeom(self, "addons")

View File

@ -14,7 +14,7 @@
</rect>
</property>
<property name="windowTitle">
<string>Add-ons</string>
<string notr="true">ADD-ONS</string>
</property>
<property name="modal">
<bool>true</bool>

View File

@ -2,8 +2,9 @@ addons-possibly-involved = Add-ons possibly involved: { $addons }
addons-failed-to-load =
An add-on you installed failed to load. If problems persist, please go to the Tools>Add-ons menu, and disable or delete the add-on.
When loading '{$name}':
{$traceback}
When loading '{ $name }':
{ $traceback }
# Shown in the add-on configuration screen (Tools>Add-ons>Config), in the title bar
addons-config-window-title = Configure '{$name}'
addons-config-validation-error = There was a problem with the provided configuration: {$problem}, at path {$path}, against schema {$schema}.
addons-config-window-title = Configure '{ $name }'
addons-config-validation-error = There was a problem with the provided configuration: { $problem }, at path { $path }, against schema { $schema }.
addons-window-title = Add-ons