mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
[2.0.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of 196c257a23
from master
This commit is contained in:
parent
146317b734
commit
fbe7c8f413
1 changed files with 2 additions and 2 deletions
|
@ -1652,13 +1652,13 @@ To workaround this, you can escape percent signs by adding a second percent
|
|||
sign::
|
||||
|
||||
from django.utils.translation import gettext as _
|
||||
output = _("10%% interest)
|
||||
output = _("10%% interest")
|
||||
|
||||
Or you can use ``no-python-format`` so that all percent signs are treated as
|
||||
literals::
|
||||
|
||||
# xgettext:no-python-format
|
||||
output = _("10% interest)
|
||||
output = _("10% interest")
|
||||
|
||||
.. _creating-message-files-from-js-code:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue