Mercurial > p > roundup > code
view doc/license.txt @ 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 | 0d9f704a7ef2 |
| children | a1bdd7823bf8 |
line wrap: on
line source
License ======= Roundup is Free Software under the following license (from the file COPYING.txt in the software distribution): .. raw:: html <div class="file_insert"> .. include:: ../COPYING.txt .. raw:: html </div>
