mirror of
https://github.com/django/django.git
synced 2025-10-29 00:26:07 +00:00
[2.0.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of 196c257a23 from master
This commit is contained in:
committed by
Mariusz Felisiak
parent
146317b734
commit
fbe7c8f413
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user