Mercurial > p > roundup > code
annotate 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 |
| rev | line source |
|---|---|
|
4033
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
diff
changeset
|
1 License |
|
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
diff
changeset
|
2 ======= |
|
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
diff
changeset
|
3 |
|
4612
771e66e8c0b4
Trying to get the license included in the generated website docs.
Bernhard Reiter <bernhard@intevation.de>
parents:
4033
diff
changeset
|
4 Roundup is Free Software under the following license (from the file |
|
771e66e8c0b4
Trying to get the license included in the generated website docs.
Bernhard Reiter <bernhard@intevation.de>
parents:
4033
diff
changeset
|
5 COPYING.txt in the software distribution): |
|
4033
bca7c59ac400
Enhance documentation generation.
Stefan Seefeld <stefan@seefeld.name>
parents:
diff
changeset
|
6 |
|
7437
0d9f704a7ef2
Reformat inclusion of COPYING.txt into license.txt.
John Rouillard <rouilj@ieee.org>
parents:
7436
diff
changeset
|
7 .. raw:: html |
|
0d9f704a7ef2
Reformat inclusion of COPYING.txt into license.txt.
John Rouillard <rouilj@ieee.org>
parents:
7436
diff
changeset
|
8 |
|
0d9f704a7ef2
Reformat inclusion of COPYING.txt into license.txt.
John Rouillard <rouilj@ieee.org>
parents:
7436
diff
changeset
|
9 <div class="file_insert"> |
|
0d9f704a7ef2
Reformat inclusion of COPYING.txt into license.txt.
John Rouillard <rouilj@ieee.org>
parents:
7436
diff
changeset
|
10 |
|
7436
8a73b0b12102
Import copying as rst not as literal text.
John Rouillard <rouilj@ieee.org>
parents:
4621
diff
changeset
|
11 .. include:: ../COPYING.txt |
|
7437
0d9f704a7ef2
Reformat inclusion of COPYING.txt into license.txt.
John Rouillard <rouilj@ieee.org>
parents:
7436
diff
changeset
|
12 |
|
0d9f704a7ef2
Reformat inclusion of COPYING.txt into license.txt.
John Rouillard <rouilj@ieee.org>
parents:
7436
diff
changeset
|
13 .. raw:: html |
|
0d9f704a7ef2
Reformat inclusion of COPYING.txt into license.txt.
John Rouillard <rouilj@ieee.org>
parents:
7436
diff
changeset
|
14 |
|
0d9f704a7ef2
Reformat inclusion of COPYING.txt into license.txt.
John Rouillard <rouilj@ieee.org>
parents:
7436
diff
changeset
|
15 </div> |
