diff options
author | Georg Brandl <georg@python.org> | 2007-09-01 13:51:09 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-09-01 13:51:09 (GMT) |
commit | 55ac8f0f26efdbbcb5cc197f9369d23d50bee908 (patch) | |
tree | a0d5b7128c055d8c767652dc3948c3404be06396 /Doc/library/gettext.rst | |
parent | 1617457cff847fed9fadb01f1acf6ba8bb621726 (diff) | |
download | cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.zip cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.tar.gz cpython-55ac8f0f26efdbbcb5cc197f9369d23d50bee908.tar.bz2 |
Get rid of the remaining versionadded/versionchanged directives.
Diffstat (limited to 'Doc/library/gettext.rst')
-rw-r--r-- | Doc/library/gettext.rst | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/Doc/library/gettext.rst b/Doc/library/gettext.rst index 51628e6..af82f96 100644 --- a/Doc/library/gettext.rst +++ b/Doc/library/gettext.rst @@ -49,8 +49,6 @@ class-based API instead. :func:`gettext` family of functions. If *codeset* is omitted, then the current binding is returned. - .. versionadded:: 2.4 - .. function:: textdomain([domain]) @@ -72,8 +70,6 @@ class-based API instead. system encoding, if no other encoding was explicitly set with :func:`bind_textdomain_codeset`. - .. versionadded:: 2.4 - .. function:: dgettext(domain, message) @@ -86,8 +82,6 @@ class-based API instead. system encoding, if no other encoding was explicitly set with :func:`bind_textdomain_codeset`. - .. versionadded:: 2.4 - .. function:: ngettext(singular, plural, n) @@ -102,8 +96,6 @@ class-based API instead. syntax to be used in :file:`.po` files and the formulas for a variety of languages. - .. versionadded:: 2.3 - .. function:: lngettext(singular, plural, n) @@ -111,15 +103,11 @@ class-based API instead. system encoding, if no other encoding was explicitly set with :func:`bind_textdomain_codeset`. - .. versionadded:: 2.4 - .. function:: dngettext(domain, singular, plural, n) Like :func:`ngettext`, but look the message up in the specified *domain*. - .. versionadded:: 2.3 - .. function:: ldngettext(domain, singular, plural, n) @@ -127,7 +115,6 @@ class-based API instead. preferred system encoding, if no other encoding was explicitly set with :func:`bind_textdomain_codeset`. - .. versionadded:: 2.4 Note that GNU :program:`gettext` also defines a :func:`dcgettext` method, but this was deemed not useful and so it is currently unimplemented. @@ -199,9 +186,6 @@ the built-in namespace as the function :func:`_`. *fallback* is false (which is the default), and returns a :class:`NullTranslations` instance if *fallback* is true. - .. versionchanged:: 2.4 - Added the *codeset* parameter. - .. function:: install(domain[, localedir[, unicode [, codeset[, names]]]]) @@ -223,12 +207,6 @@ the built-in namespace as the function :func:`_`. builtin namespace, so it is easily accessible in all modules of your application. - .. versionchanged:: 2.4 - Added the *codeset* parameter. - - .. versionchanged:: 2.5 - Added the *names* parameter. - The :class:`NullTranslations` class ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -275,8 +253,6 @@ are the methods of :class:`NullTranslations`: If a fallback has been set, forward :meth:`lgettext` to the fallback. Otherwise, return the translated message. Overridden in derived classes. - .. versionadded:: 2.4 - .. method:: NullTranslations.ugettext(message) @@ -290,16 +266,12 @@ are the methods of :class:`NullTranslations`: If a fallback has been set, forward :meth:`ngettext` to the fallback. Otherwise, return the translated message. Overridden in derived classes. - .. versionadded:: 2.3 - .. method:: NullTranslations.lngettext(singular, plural, n) If a fallback has been set, forward :meth:`ngettext` to the fallback. Otherwise, return the translated message. Overridden in derived classes. - .. versionadded:: 2.4 - .. method:: NullTranslations.ungettext(singular, plural, n) @@ -307,8 +279,6 @@ are the methods of :class:`NullTranslations`: Otherwise, return the translated message as a Unicode string. Overridden in derived classes. - .. versionadded:: 2.3 - .. method:: NullTranslations.info() @@ -325,16 +295,12 @@ are the methods of :class:`NullTranslations`: Return the "protected" :attr:`_output_charset` variable, which defines the encoding used to return translated messages. - .. versionadded:: 2.4 - .. method:: NullTranslations.set_output_charset(charset) Change the "protected" :attr:`_output_charset` variable, which defines the encoding used to return translated messages. - .. versionadded:: 2.4 - .. method:: NullTranslations.install([unicode [, names]]) @@ -362,9 +328,6 @@ are the methods of :class:`NullTranslations`: This puts :func:`_` only in the module's global namespace and so only affects calls within this module. - .. versionchanged:: 2.5 - Added the *names* parameter. - The :class:`GNUTranslations` class ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -415,8 +378,6 @@ The following methods are overridden from the base class implementation: system encoding, if no other encoding was explicitly set with :meth:`set_output_charset`. - .. versionadded:: 2.4 - .. method:: GNUTranslations.ugettext(message) @@ -437,8 +398,6 @@ The following methods are overridden from the base class implementation: request is forwarded to the fallback's :meth:`ngettext` method. Otherwise, when *n* is 1 *singular* is returned, and *plural* is returned in all other cases. - .. versionadded:: 2.3 - .. method:: GNUTranslations.lngettext(singular, plural, n) @@ -446,8 +405,6 @@ The following methods are overridden from the base class implementation: system encoding, if no other encoding was explicitly set with :meth:`set_output_charset`. - .. versionadded:: 2.4 - .. method:: GNUTranslations.ungettext(singular, plural, n) @@ -469,8 +426,6 @@ The following methods are overridden from the base class implementation: 'There are %(num)d files in this directory', n) % {'num': n} - .. versionadded:: 2.3 - Solaris message catalog support ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |