Mercurial > p > roundup > code
view doc/index.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 | a072331c843b |
| children | e3b34d02c61a |
line wrap: on
line source
.. meta:: :description: Table of contents for documentation on the Roundup Issue Tracker. ======================================================= Roundup: an Issue-Tracking System for Knowledge Workers ======================================================= For how to contact the community see https://www.roundup-tracker.org . Contents ======== .. toctree:: :maxdepth: 2 features installation upgrading security FAQ user_guide customising <customizing.txt> rest xmlrpc reference glossary admin_guide license acknowledgements upgrading-history tracker_templates Design Overview <overview> Design (original) <design> developers Notes about the MySQL Database backend <mysql> Notes about the PostgreSQL Database backend <postgresql> Richard Jones implementation notes <implementation> security-history See: https://wiki.roundup-tracker.org/ReleaseErrata for fixes to documentation. Indices ======= * :ref:`genindex`
