Skip to content

Commit 6906cdc

Browse files
sync with cpython da73a5cc
1 parent c72d86c commit 6906cdc

File tree

7 files changed

+2172
-2164
lines changed

7 files changed

+2172
-2164
lines changed

library/gettext.po

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.12\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2023-10-11 17:13+0000\n"
10+
"POT-Creation-Date: 2023-12-04 00:03+0000\n"
1111
"PO-Revision-Date: 2018-05-23 16:02+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -312,8 +312,8 @@ msgstr ""
312312

313313
#: ../../library/gettext.rst:260
314314
msgid ""
315-
"Return the \"protected\" :attr:`_info` variable, a dictionary containing the "
316-
"metadata found in the message catalog file."
315+
"Return a dictionary containing the metadata found in the message catalog "
316+
"file."
317317
msgstr ""
318318

319319
#: ../../library/gettext.rst:266
@@ -359,10 +359,10 @@ msgstr ""
359359

360360
#: ../../library/gettext.rst:299
361361
msgid ""
362-
"The :mod:`gettext` module provides one additional class derived from :class:"
363-
"`NullTranslations`: :class:`GNUTranslations`. This class overrides :meth:"
364-
"`_parse` to enable reading GNU :program:`gettext` format :file:`.mo` files "
365-
"in both big-endian and little-endian format."
362+
"The :mod:`!gettext` module provides one additional class derived from :class:"
363+
"`NullTranslations`: :class:`GNUTranslations`. This class overrides :meth:`!"
364+
"_parse` to enable reading GNU :program:`gettext` format :file:`.mo` files in "
365+
"both big-endian and little-endian format."
366366
msgstr ""
367367

368368
#: ../../library/gettext.rst:304
@@ -372,7 +372,7 @@ msgid ""
372372
"the translation for the empty string. This metadata is in :rfc:`822`\\ -"
373373
"style ``key: value`` pairs, and should contain the ``Project-Id-Version`` "
374374
"key. If the key ``Content-Type`` is found, then the ``charset`` property is "
375-
"used to initialize the \"protected\" :attr:`_charset` instance variable, "
375+
"used to initialize the \"protected\" :attr:`!_charset` instance variable, "
376376
"defaulting to ``None`` if not found. If the charset encoding is specified, "
377377
"then all message ids and message strings read from the catalog are converted "
378378
"to Unicode using this encoding, else ASCII is assumed."
@@ -387,7 +387,7 @@ msgstr ""
387387
#: ../../library/gettext.rst:317
388388
msgid ""
389389
"The entire set of key/value pairs are placed into a dictionary and set as "
390-
"the \"protected\" :attr:`_info` instance variable."
390+
"the \"protected\" :attr:`!_info` instance variable."
391391
msgstr ""
392392

393393
#: ../../library/gettext.rst:320
@@ -747,9 +747,9 @@ msgstr "註解"
747747

748748
#: ../../library/gettext.rst:639
749749
msgid ""
750-
"The default locale directory is system dependent; for example, on RedHat "
750+
"The default locale directory is system dependent; for example, on Red Hat "
751751
"Linux it is :file:`/usr/share/locale`, but on Solaris it is :file:`/usr/lib/"
752-
"locale`. The :mod:`gettext` module does not try to support these system "
752+
"locale`. The :mod:`!gettext` module does not try to support these system "
753753
"dependent defaults; instead its default is :file:`{sys.base_prefix}/share/"
754754
"locale` (see :data:`sys.base_prefix`). For this reason, it is always best to "
755755
"call :func:`bindtextdomain` with an explicit absolute path at the start of "

0 commit comments

Comments
 (0)