From 9eb11b53d5074e9490b53856b13c54ccd1c1a689 Mon Sep 17 00:00:00 2001 From: ANH Date: Mon, 31 Aug 2020 00:35:17 +0300 Subject: [PATCH] remove unicode isolation markers from add-on config editor title --- qt/aqt/addons.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/qt/aqt/addons.py b/qt/aqt/addons.py index 4da2b57d8..9f8bfc4e9 100644 --- a/qt/aqt/addons.py +++ b/qt/aqt/addons.py @@ -25,7 +25,7 @@ import anki import aqt import aqt.forms 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.qt import * from aqt.utils import ( @@ -1293,9 +1293,11 @@ class ConfigEditor(QDialog): restoreGeom(self, "addonconf") restoreSplitter(self.form.splitter, "addonconf") self.setWindowTitle( - tr( - TR.ADDONS_CONFIG_WINDOW_TITLE, - name=self.mgr.addon_meta(addon).human_name(), + without_unicode_isolation( + tr( + TR.ADDONS_CONFIG_WINDOW_TITLE, + name=self.mgr.addon_meta(addon).human_name(), + ) ) ) self.show()