mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
Merge pull request #751 from ANH25/addon-config-editor-title
Remove unicode isolation markers from add-on config editor title
This commit is contained in:
commit
ec6164c807
1 changed files with 6 additions and 4 deletions
|
@ -25,7 +25,7 @@ import anki
|
||||||
import aqt
|
import aqt
|
||||||
import aqt.forms
|
import aqt.forms
|
||||||
from anki.httpclient import HttpClient
|
from anki.httpclient import HttpClient
|
||||||
from anki.lang import _, ngettext
|
from anki.lang import _, ngettext, without_unicode_isolation
|
||||||
from aqt import gui_hooks
|
from aqt import gui_hooks
|
||||||
from aqt.qt import *
|
from aqt.qt import *
|
||||||
from aqt.utils import (
|
from aqt.utils import (
|
||||||
|
@ -1293,9 +1293,11 @@ class ConfigEditor(QDialog):
|
||||||
restoreGeom(self, "addonconf")
|
restoreGeom(self, "addonconf")
|
||||||
restoreSplitter(self.form.splitter, "addonconf")
|
restoreSplitter(self.form.splitter, "addonconf")
|
||||||
self.setWindowTitle(
|
self.setWindowTitle(
|
||||||
tr(
|
without_unicode_isolation(
|
||||||
TR.ADDONS_CONFIG_WINDOW_TITLE,
|
tr(
|
||||||
name=self.mgr.addon_meta(addon).human_name(),
|
TR.ADDONS_CONFIG_WINDOW_TITLE,
|
||||||
|
name=self.mgr.addon_meta(addon).human_name(),
|
||||||
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
self.show()
|
self.show()
|
||||||
|
|
Loading…
Reference in a new issue