|
8 | 8 | msgstr "" |
9 | 9 | "Project-Id-Version: Python 3.6\n" |
10 | 10 | "Report-Msgid-Bugs-To: \n" |
11 | | -"POT-Creation-Date: 2018-01-05 15:01+0000\n" |
| 11 | +"POT-Creation-Date: 2018-06-01 13:27+0900\n" |
12 | 12 | "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" |
13 | 13 | " Last-Translator: 操旭 <[email protected]>, 2017\n" |
14 | 14 | "Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n" |
@@ -2576,77 +2576,77 @@ msgstr "" |
2576 | 2576 | msgid "" |
2577 | 2577 | "Python supports this conversion in several ways: the ``idna`` codec " |
2578 | 2578 | "performs conversion between Unicode and ACE, separating an input string into" |
2579 | | -" labels based on the separator characters defined in `section 3.1`_ (1) of " |
2580 | | -":rfc:`3490` and converting each label to ACE as required, and conversely " |
2581 | | -"separating an input byte string into labels based on the ``.`` separator and" |
2582 | | -" converting any ACE labels found into unicode. Furthermore, the " |
2583 | | -":mod:`socket` module transparently converts Unicode host names to ACE, so " |
2584 | | -"that applications need not be concerned about converting host names " |
2585 | | -"themselves when they pass them to the socket module. On top of that, modules" |
2586 | | -" that have host names as function parameters, such as :mod:`http.client` and" |
2587 | | -" :mod:`ftplib`, accept Unicode host names (:mod:`http.client` then also " |
2588 | | -"transparently sends an IDNA hostname in the :mailheader:`Host` field if it " |
2589 | | -"sends that field at all)." |
| 2579 | +" labels based on the separator characters defined in :rfc:`section 3.1 of " |
| 2580 | +"RFC 3490 <3490#section-3.1>` and converting each label to ACE as required, " |
| 2581 | +"and conversely separating an input byte string into labels based on the " |
| 2582 | +"``.`` separator and converting any ACE labels found into unicode. " |
| 2583 | +"Furthermore, the :mod:`socket` module transparently converts Unicode host " |
| 2584 | +"names to ACE, so that applications need not be concerned about converting " |
| 2585 | +"host names themselves when they pass them to the socket module. On top of " |
| 2586 | +"that, modules that have host names as function parameters, such as " |
| 2587 | +":mod:`http.client` and :mod:`ftplib`, accept Unicode host names " |
| 2588 | +"(:mod:`http.client` then also transparently sends an IDNA hostname in the " |
| 2589 | +":mailheader:`Host` field if it sends that field at all)." |
2590 | 2590 | msgstr "" |
2591 | 2591 |
|
2592 | | -#: ../../library/codecs.rst:1441 |
| 2592 | +#: ../../library/codecs.rst:1439 |
2593 | 2593 | msgid "" |
2594 | 2594 | "When receiving host names from the wire (such as in reverse name lookup), no" |
2595 | 2595 | " automatic conversion to Unicode is performed: Applications wishing to " |
2596 | 2596 | "present such host names to the user should decode them to Unicode." |
2597 | 2597 | msgstr "" |
2598 | 2598 |
|
2599 | | -#: ../../library/codecs.rst:1445 |
| 2599 | +#: ../../library/codecs.rst:1443 |
2600 | 2600 | msgid "" |
2601 | 2601 | "The module :mod:`encodings.idna` also implements the nameprep procedure, " |
2602 | 2602 | "which performs certain normalizations on host names, to achieve case-" |
2603 | 2603 | "insensitivity of international domain names, and to unify similar " |
2604 | 2604 | "characters. The nameprep functions can be used directly if desired." |
2605 | 2605 | msgstr "" |
2606 | 2606 |
|
2607 | | -#: ../../library/codecs.rst:1453 |
| 2607 | +#: ../../library/codecs.rst:1451 |
2608 | 2608 | msgid "" |
2609 | 2609 | "Return the nameprepped version of *label*. The implementation currently " |
2610 | 2610 | "assumes query strings, so ``AllowUnassigned`` is true." |
2611 | 2611 | msgstr "" |
2612 | 2612 |
|
2613 | | -#: ../../library/codecs.rst:1459 |
| 2613 | +#: ../../library/codecs.rst:1457 |
2614 | 2614 | msgid "" |
2615 | 2615 | "Convert a label to ASCII, as specified in :rfc:`3490`. ``UseSTD3ASCIIRules``" |
2616 | 2616 | " is assumed to be false." |
2617 | 2617 | msgstr "" |
2618 | 2618 |
|
2619 | | -#: ../../library/codecs.rst:1465 |
| 2619 | +#: ../../library/codecs.rst:1463 |
2620 | 2620 | msgid "Convert a label to Unicode, as specified in :rfc:`3490`." |
2621 | 2621 | msgstr "" |
2622 | 2622 |
|
2623 | | -#: ../../library/codecs.rst:1469 |
| 2623 | +#: ../../library/codecs.rst:1467 |
2624 | 2624 | msgid ":mod:`encodings.mbcs` --- Windows ANSI codepage" |
2625 | 2625 | msgstr "" |
2626 | 2626 |
|
2627 | | -#: ../../library/codecs.rst:1474 |
| 2627 | +#: ../../library/codecs.rst:1472 |
2628 | 2628 | msgid "Encode operand according to the ANSI codepage (CP_ACP)." |
2629 | 2629 | msgstr "" |
2630 | 2630 |
|
2631 | | -#: ../../library/codecs.rst:1476 |
| 2631 | +#: ../../library/codecs.rst:1474 |
2632 | 2632 | msgid "Availability: Windows only." |
2633 | 2633 | msgstr "" |
2634 | 2634 |
|
2635 | | -#: ../../library/codecs.rst:1478 |
| 2635 | +#: ../../library/codecs.rst:1476 |
2636 | 2636 | msgid "Support any error handler." |
2637 | 2637 | msgstr "" |
2638 | 2638 |
|
2639 | | -#: ../../library/codecs.rst:1481 |
| 2639 | +#: ../../library/codecs.rst:1479 |
2640 | 2640 | msgid "" |
2641 | 2641 | "Before 3.2, the *errors* argument was ignored; ``'replace'`` was always used" |
2642 | 2642 | " to encode, and ``'ignore'`` to decode." |
2643 | 2643 | msgstr "" |
2644 | 2644 |
|
2645 | | -#: ../../library/codecs.rst:1487 |
| 2645 | +#: ../../library/codecs.rst:1485 |
2646 | 2646 | msgid ":mod:`encodings.utf_8_sig` --- UTF-8 codec with BOM signature" |
2647 | 2647 | msgstr "" |
2648 | 2648 |
|
2649 | | -#: ../../library/codecs.rst:1493 |
| 2649 | +#: ../../library/codecs.rst:1491 |
2650 | 2650 | msgid "" |
2651 | 2651 | "This module implements a variant of the UTF-8 codec: On encoding a UTF-8 " |
2652 | 2652 | "encoded BOM will be prepended to the UTF-8 encoded bytes. For the stateful " |
|
0 commit comments