Mercurial > p > roundup > code
annotate website/www/robots.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 | 5855a6a26bdd |
| children |
| rev | line source |
|---|---|
|
6667
5855a6a26bdd
Add sitemap to docs. Also add robots.txt to advertize sitemap.
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
1 User-agent: * |
|
5855a6a26bdd
Add sitemap to docs. Also add robots.txt to advertize sitemap.
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
2 |
|
5855a6a26bdd
Add sitemap to docs. Also add robots.txt to advertize sitemap.
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
3 Sitemap: https://www.roundup-tracker.org/sitemap.xml |
|
5855a6a26bdd
Add sitemap to docs. Also add robots.txt to advertize sitemap.
John Rouillard <rouilj@ieee.org>
parents:
diff
changeset
|
4 |
