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

@ -7,3 +7,4 @@ addons-failed-to-load =
# 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-window-title = Add-ons