Fixed typo in docs/topics/i18n/translation.txt.
Thanks durey for the report.
This commit is contained in:
parent
67b334fbaf
commit
dd3dcd2840
|
@ -124,7 +124,7 @@ specified with Python's standard named-string interpolation syntax. Example::
|
||||||
|
|
||||||
This technique lets language-specific translations reorder the placeholder
|
This technique lets language-specific translations reorder the placeholder
|
||||||
text. For example, an English translation may be ``"Today is November 26."``,
|
text. For example, an English translation may be ``"Today is November 26."``,
|
||||||
while a Spanish translation may be ``"Hoy es 26 de Noviembre."`` -- with the
|
while a Spanish translation may be ``"Hoy es 26 de noviembre."`` -- with the
|
||||||
month and the day placeholders swapped.
|
month and the day placeholders swapped.
|
||||||
|
|
||||||
For this reason, you should use named-string interpolation (e.g., ``%(day)s``)
|
For this reason, you should use named-string interpolation (e.g., ``%(day)s``)
|
||||||
|
|
Loading…
Reference in New Issue