mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 22:12:21 -04:00
revert to % format string to avoid breaking add-on
partially reverts d8c3e71105
https://forums.ankiweb.net/t/anki-2-1-45-beta/10664/50
This commit is contained in:
parent
fb5e8d5f3b
commit
7099b6ea49
1 changed files with 2 additions and 2 deletions
|
@ -80,7 +80,7 @@ audio = (
|
||||||
_html = """
|
_html = """
|
||||||
<div id="fields"></div>
|
<div id="fields"></div>
|
||||||
<div id="dupes" class="is-inactive">
|
<div id="dupes" class="is-inactive">
|
||||||
<a href="#" onclick="pycmd('dupes');return false;">{}</a>
|
<a href="#" onclick="pycmd('dupes');return false;">%s</a>
|
||||||
</div>
|
</div>
|
||||||
<div id="cloze-hint"></div>
|
<div id="cloze-hint"></div>
|
||||||
"""
|
"""
|
||||||
|
@ -131,7 +131,7 @@ class Editor:
|
||||||
|
|
||||||
# then load page
|
# then load page
|
||||||
self.web.stdHtml(
|
self.web.stdHtml(
|
||||||
_html.format(tr.editing_show_duplicates()),
|
_html % tr.editing_show_duplicates(),
|
||||||
css=[
|
css=[
|
||||||
"css/editor.css",
|
"css/editor.css",
|
||||||
],
|
],
|
||||||
|
|
Loading…
Reference in a new issue