[2.0.x] Fixed typo in docs/topics/i18n/translation.txt.
Backport of 196c257a230bba8f2f1b2021c383eb2744e8df41 from master
This commit is contained in:
parent
146317b734
commit
fbe7c8f413
@ -1652,13 +1652,13 @@ To workaround this, you can escape percent signs by adding a second percent
|
|||||||
sign::
|
sign::
|
||||||
|
|
||||||
from django.utils.translation import gettext as _
|
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
|
Or you can use ``no-python-format`` so that all percent signs are treated as
|
||||||
literals::
|
literals::
|
||||||
|
|
||||||
# xgettext:no-python-format
|
# xgettext:no-python-format
|
||||||
output = _("10% interest)
|
output = _("10% interest")
|
||||||
|
|
||||||
.. _creating-message-files-from-js-code:
|
.. _creating-message-files-from-js-code:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user