Mercurial > p > roundup > code
view share/roundup/templates/devel/html/help.css @ 7750:216662fbaaee
fix(i18n): fix incorrect lookup of some translations
The code had:
_("some term %s here" % term)
this extracts the template, but looks up the string with %s replaced.
So the translation is broken. Changed to:
_("some term %s here") % term
which looks up the template and substitutes in the translation of the
template.
Found by ruff INT ruleset.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Fri, 01 Mar 2024 14:04:05 -0500 |
| parents | b419f29b1e2f |
| children |
line wrap: on
line source
@import url(style.css); body { padding: 0;} body > .header, body > .footer { margin: 0; } body .content { width: auto;} .header h1 { font-size: 110%; } table.classhelp th { border-top: 1px solid #afafaf; border-bottom: 1px solid #afafaf; empty-cells: show; text-align: left; vertical-align: middle; white-space: nowrap; } table.classhelp td { border-bottom: 1px solid #efefef; empty-cells: show; text-align: left; vertical-align: middle; white-space: nowrap; }
