remove missed format literals
This commit is contained in:
parent
2564dd75ee
commit
a6ccae95b6
@ -81,15 +81,15 @@ class Editor:
|
|||||||
righttopbtns.append(self._addButton('text_clear', 'clear', _("Remove formatting (Ctrl+R)")))
|
righttopbtns.append(self._addButton('text_clear', 'clear', _("Remove formatting (Ctrl+R)")))
|
||||||
# The color selection buttons do not use an icon so the HTML must be specified manually
|
# The color selection buttons do not use an icon so the HTML must be specified manually
|
||||||
tip = _("Set foreground colour (F7)")
|
tip = _("Set foreground colour (F7)")
|
||||||
righttopbtns.append(f'''<button tabindex=-1 class=linkb title="{tip}"
|
righttopbtns.append('''<button tabindex=-1 class=linkb title="{}"
|
||||||
type="button" onclick="pycmd('colour');return false;">
|
type="button" onclick="pycmd('colour');return false;">
|
||||||
<div id=forecolor style="display:inline-block; background: #000;border-radius: 5px;"
|
<div id=forecolor style="display:inline-block; background: #000;border-radius: 5px;"
|
||||||
class=topbut></div></button>''')
|
class=topbut></div></button>'''.format(tip))
|
||||||
tip = _("Change colour (F8)")
|
tip = _("Change colour (F8)")
|
||||||
righttopbtns.append(f'''<button tabindex=-1 class=linkb title="{tip}"
|
righttopbtns.append('''<button tabindex=-1 class=linkb title="{}"
|
||||||
type="button" onclick="pycmd('changeCol');return false;">
|
type="button" onclick="pycmd('changeCol');return false;">
|
||||||
<div style="display:inline-block; border-radius: 5px;"
|
<div style="display:inline-block; border-radius: 5px;"
|
||||||
class="topbut rainbow"></div></button>''')
|
class="topbut rainbow"></div></button>'''.format(tip))
|
||||||
righttopbtns.append(self._addButton('text_cloze', 'cloze', _("Cloze deletion (Ctrl+Shift+C)")))
|
righttopbtns.append(self._addButton('text_cloze', 'cloze', _("Cloze deletion (Ctrl+Shift+C)")))
|
||||||
righttopbtns.append(self._addButton('paperclip', 'attach', _("Attach pictures/audio/video (F3)")))
|
righttopbtns.append(self._addButton('paperclip', 'attach', _("Attach pictures/audio/video (F3)")))
|
||||||
righttopbtns.append(self._addButton('media-record', 'record', _("Record audio (F5)")))
|
righttopbtns.append(self._addButton('media-record', 'record', _("Record audio (F5)")))
|
||||||
|
Loading…
Reference in New Issue
Block a user