mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 06:22:22 -04:00
split add-ons window title from menu bar action
https://anki.tenderapp.com/discussions/private/4781-print-mistake
This commit is contained in:
parent
f04ea6904d
commit
c203410307
3 changed files with 7 additions and 5 deletions
|
@ -709,6 +709,7 @@ class AddonsDialog(QDialog):
|
||||||
qconnect(f.config.clicked, self.onConfig)
|
qconnect(f.config.clicked, self.onConfig)
|
||||||
qconnect(self.form.addonList.itemDoubleClicked, self.onConfig)
|
qconnect(self.form.addonList.itemDoubleClicked, self.onConfig)
|
||||||
qconnect(self.form.addonList.currentRowChanged, self._onAddonItemSelected)
|
qconnect(self.form.addonList.currentRowChanged, self._onAddonItemSelected)
|
||||||
|
self.setWindowTitle(tr(TR.ADDONS_WINDOW_TITLE))
|
||||||
self.setAcceptDrops(True)
|
self.setAcceptDrops(True)
|
||||||
self.redrawAddons()
|
self.redrawAddons()
|
||||||
restoreGeom(self, "addons")
|
restoreGeom(self, "addons")
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
</rect>
|
</rect>
|
||||||
</property>
|
</property>
|
||||||
<property name="windowTitle">
|
<property name="windowTitle">
|
||||||
<string>Add-ons</string>
|
<string notr="true">ADD-ONS</string>
|
||||||
</property>
|
</property>
|
||||||
<property name="modal">
|
<property name="modal">
|
||||||
<bool>true</bool>
|
<bool>true</bool>
|
||||||
|
|
|
@ -2,8 +2,9 @@ addons-possibly-involved = Add-ons possibly involved: { $addons }
|
||||||
addons-failed-to-load =
|
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.
|
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}':
|
When loading '{ $name }':
|
||||||
{$traceback}
|
{ $traceback }
|
||||||
# Shown in the add-on configuration screen (Tools>Add-ons>Config), in the title bar
|
# Shown in the add-on configuration screen (Tools>Add-ons>Config), in the title bar
|
||||||
addons-config-window-title = Configure '{$name}'
|
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-validation-error = There was a problem with the provided configuration: { $problem }, at path { $path }, against schema { $schema }.
|
||||||
|
addons-window-title = Add-ons
|
||||||
|
|
Loading…
Reference in a new issue