fix misaligned deck heading in RTL languages

https://forums.ankiweb.net/t/anki-2-1-29-beta/1220/2?u=dae
This commit is contained in:
Damien Elmes 2020-07-22 11:00:39 +10:00
parent 1b441f5050
commit 2ff1a27b04

View File

@ -150,7 +150,7 @@ where id > ?""",
def _renderDeckTree(self, top: DeckTreeNode) -> str: def _renderDeckTree(self, top: DeckTreeNode) -> str:
buf = """ buf = """
<tr><th colspan=5 align=left>%s</th><th class=count>%s</th> <tr><th colspan=5 align=start>%s</th><th class=count>%s</th>
<th class=count>%s</th><th class=optscol></th></tr>""" % ( <th class=count>%s</th><th class=optscol></th></tr>""" % (
_("Deck"), _("Deck"),
tr(TR.STATISTICS_DUE_COUNT), tr(TR.STATISTICS_DUE_COUNT),