Mercurial > p > roundup > code
annotate website/issues/TEMPLATE-INFO.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 | 40329ed1cced |
| children |
| rev | line source |
|---|---|
|
6105
40329ed1cced
add mising template info so it can be used as a template
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
1 Name: issue |
|
40329ed1cced
add mising template info so it can be used as a template
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
2 Description: this is the issue tracker for roundup. |
|
40329ed1cced
add mising template info so it can be used as a template
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
3 Intended-For: production use by roundup. |
|
40329ed1cced
add mising template info so it can be used as a template
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
4 |
