|
6 | 6 | msgstr "" |
7 | 7 | "Project-Id-Version: Python 3.14\n" |
8 | 8 | "Report-Msgid-Bugs-To: \n" |
9 | | -"POT-Creation-Date: 2026-06-03 00:49+0000\n" |
| 9 | +"POT-Creation-Date: 2026-08-13 00:20+0000\n" |
10 | 10 | "PO-Revision-Date: 2018-05-23 14:44+0000\n" |
11 | 11 | "Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n" |
12 | 12 | "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" |
@@ -67,7 +67,7 @@ msgstr "" |
67 | 67 | msgid "" |
68 | 68 | "*name* and *value* are passed to ``BaseHeader`` from the :attr:`~email." |
69 | 69 | "policy.EmailPolicy.header_factory` call. The string value of any header " |
70 | | -"object is the *value* fully decoded to unicode." |
| 70 | +"object is the *value* fully decoded to a string." |
71 | 71 | msgstr "" |
72 | 72 |
|
73 | 73 | #: ../../library/email.headerregistry.rst:48 |
@@ -134,10 +134,10 @@ msgid "" |
134 | 134 | "defects to this list. On return, the ``kwds`` dictionary *must* contain " |
135 | 135 | "values for at least the keys ``decoded``, ``defects`` and ``parse_tree``. " |
136 | 136 | "``decoded`` should be the string value for the header (that is, the header " |
137 | | -"value fully decoded to unicode). ``parse_tree`` is set to the parse tree " |
| 137 | +"value fully decoded to a string). ``parse_tree`` is set to the parse tree " |
138 | 138 | "obtained from parsing the header. The parse method should assume that " |
139 | 139 | "*string* may contain content-transfer-encoded parts, but should correctly " |
140 | | -"handle all valid unicode characters as well so that it can parse un-encoded " |
| 140 | +"handle all valid Unicode characters as well so that it can parse un-encoded " |
141 | 141 | "header values." |
142 | 142 | msgstr "" |
143 | 143 |
|
@@ -181,7 +181,7 @@ msgid "" |
181 | 181 | "mechanism for encoding non-ASCII text as ASCII characters within a header " |
182 | 182 | "value. When a *value* containing encoded words is passed to the " |
183 | 183 | "constructor, the ``UnstructuredHeader`` parser converts such encoded words " |
184 | | -"into unicode, following the :rfc:`2047` rules for unstructured text. The " |
| 184 | +"into a string, following the :rfc:`2047` rules for unstructured text. The " |
185 | 185 | "parser uses heuristics to attempt to decode certain non-compliant encoded " |
186 | 186 | "words. Defects are registered in such cases, as well as defects for issues " |
187 | 187 | "such as invalid characters within the encoded words or the non-encoded text." |
@@ -280,11 +280,10 @@ msgstr "" |
280 | 280 |
|
281 | 281 | #: ../../library/email.headerregistry.rst:208 |
282 | 282 | msgid "" |
283 | | -"The ``decoded`` value of the header will have all encoded words decoded to " |
284 | | -"unicode. :class:`~encodings.idna` encoded domain names are also decoded to " |
285 | | -"unicode. The ``decoded`` value is set by :ref:`joining <meth-str-join>` " |
286 | | -"the :class:`str` value of the elements of the ``groups`` attribute with ``', " |
287 | | -"'``." |
| 283 | +"The ``decoded`` value of the header will have all encoded words decoded to a " |
| 284 | +"string. :class:`~encodings.idna` encoded domain names are also decoded to a " |
| 285 | +"string. The ``decoded`` value is set by :ref:`joining <meth-str-join>` the :" |
| 286 | +"class:`str` value of the elements of the ``groups`` attribute with ``', '``." |
288 | 287 | msgstr "" |
289 | 288 |
|
290 | 289 | #: ../../library/email.headerregistry.rst:214 |
@@ -595,7 +594,7 @@ msgid "" |
595 | 594 | "*domain*, in which case *username* and *domain* will be parsed from the " |
596 | 595 | "*addr_spec*. An *addr_spec* must be a properly RFC quoted string; if it is " |
597 | 596 | "not ``Address`` will raise an error. Unicode characters are allowed and " |
598 | | -"will be property encoded when serialized. However, per the RFCs, unicode is " |
| 597 | +"will be property encoded when serialized. However, per the RFCs, Unicode is " |
599 | 598 | "*not* allowed in the username portion of the address." |
600 | 599 | msgstr "" |
601 | 600 |
|
|
0 commit comments