mirror of
https://github.com/ankitects/anki.git
synced 2025-11-13 08:07:11 -05:00
allow "a:" to be translated to "a :" in French
This commit is contained in:
parent
cbdd152f36
commit
c0b1fb9c5f
1 changed files with 3 additions and 2 deletions
|
|
@ -563,10 +563,11 @@ when you answer "good" on a review.''')
|
||||||
return txt
|
return txt
|
||||||
|
|
||||||
def _line(self, i, a, b, bold=True):
|
def _line(self, i, a, b, bold=True):
|
||||||
|
colon = _(":")
|
||||||
if bold:
|
if bold:
|
||||||
i.append(("<tr><td width=200 align=right>%s:</td><td><b>%s</b></td></tr>") % (a,b))
|
i.append(("<tr><td width=200 align=right>%s%s</td><td><b>%s</b></td></tr>") % (a,colon,b))
|
||||||
else:
|
else:
|
||||||
i.append(("<tr><td width=200 align=right>%s:</td><td>%s</td></tr>") % (a,b))
|
i.append(("<tr><td width=200 align=right>%s%s</td><td>%s</td></tr>") % (a,colon,b))
|
||||||
|
|
||||||
def _lineTbl(self, i):
|
def _lineTbl(self, i):
|
||||||
return "<table width=400>" + "".join(i) + "</table>"
|
return "<table width=400>" + "".join(i) + "</table>"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue