mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
[1.7.x] Various documentation typo/spelling fixes
Errors detected by Topy (https://github.com/intgr/topy), all changes
verified by hand.
Backport of 11d453bcad from master
This commit is contained in:
committed by
Tim Graham
parent
4499c676ef
commit
ba1728dd9b
@@ -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
|
||||
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``)
|
||||
instead of positional interpolation (e.g., ``%s`` or ``%d``) whenever you
|
||||
|
||||
Reference in New Issue
Block a user