mirror of
https://github.com/django/django.git
synced 2025-07-17 16:19:12 +00:00
[3.0.x] Fixed typo in docs/topics/i18n/translation.txt.
Thanks durey for the report. Backport of dd3dcd28402b7c9cc7bfd24d3e026db751ca4dfd from master
This commit is contained in:
parent
04bc3577ed
commit
c91c4b326b
@ -124,7 +124,7 @@ specified with Python's standard named-string interpolation syntax. Example::
|
||||
|
||||
This technique lets language-specific translations reorder the placeholder
|
||||
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.
|
||||
|
||||
For this reason, you should use named-string interpolation (e.g., ``%(day)s``)
|
||||
|
Loading…
x
Reference in New Issue
Block a user