summaryrefslogtreecommitdiff
path: root/docs/ref
diff options
context:
space:
mode:
authorJon Dufresne <jon.dufresne@gmail.com>2019-02-05 19:45:26 -0800
committerTim Graham <timograham@gmail.com>2019-02-08 10:05:53 -0500
commit6eb4996672ca5ccaba20e468d91a83d1cd019801 (patch)
tree659dc13499058e3e6776033d9bc846964e7c668c /docs/ref
parent48c17807a99f7a4341c74db19e16a37b010827c2 (diff)
Fixed #30165 -- Deprecated ugettext(), ugettext_lazy(), ugettext_noop(), ungettext(), and ungettext_lazy().
Diffstat (limited to 'docs/ref')
-rw-r--r--docs/ref/utils.txt5
1 files changed, 0 insertions, 5 deletions
diff --git a/docs/ref/utils.txt b/docs/ref/utils.txt
index 0461cf6c11..cd7c7aca63 100644
--- a/docs/ref/utils.txt
+++ b/docs/ref/utils.txt
@@ -978,7 +978,6 @@ between unicode and bytestrings. If your code doesn't support Python 2, use the
functions without the ``u``.
.. function:: gettext(message)
-.. function:: ugettext(message)
Translates ``message`` and returns it as a string.
@@ -989,7 +988,6 @@ functions without the ``u``.
For more information, see :ref:`contextual-markers`.
.. function:: gettext_lazy(message)
-.. function:: ugettext_lazy(message)
.. function:: pgettext_lazy(context, message)
Same as the non-lazy versions above, but using lazy execution.
@@ -997,7 +995,6 @@ functions without the ``u``.
See :ref:`lazy translations documentation <lazy-translations>`.
.. function:: gettext_noop(message)
-.. function:: ugettext_noop(message)
Marks strings for translation but doesn't translate them now. This can be
used to store strings in global variables that should stay in the base
@@ -1005,7 +1002,6 @@ functions without the ``u``.
later.
.. function:: ngettext(singular, plural, number)
-.. function:: ungettext(singular, plural, number)
Translates ``singular`` and ``plural`` and returns the appropriate string
based on ``number``.
@@ -1016,7 +1012,6 @@ functions without the ``u``.
based on ``number`` and the ``context``.
.. function:: ngettext_lazy(singular, plural, number)
-.. function:: ungettext_lazy(singular, plural, number)
.. function:: npgettext_lazy(context, singular, plural, number)
Same as the non-lazy versions above, but using lazy execution.