Skip to content

Commit 16825e6

Browse files
sync with cpython f12e7cb8
1 parent 1cc6555 commit 16825e6

File tree

1 file changed

+57
-53
lines changed

1 file changed

+57
-53
lines changed

library/imaplib.po

Lines changed: 57 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.13\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2024-10-11 00:13+0000\n"
9+
"POT-Creation-Date: 2025-08-24 00:17+0000\n"
1010
"PO-Revision-Date: 2018-05-23 16:04+0000\n"
1111
"Last-Translator: Adrian Liaw <[email protected]>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -395,34 +395,38 @@ msgid ""
395395
"includes the phrase ``AUTH=CRAM-MD5``."
396396
msgstr ""
397397

398-
#: ../../library/imaplib.rst:331
398+
#: ../../library/imaplib.rst:328
399+
msgid "An :exc:`IMAP4.error` is raised if MD5 support is not available."
400+
msgstr ""
401+
402+
#: ../../library/imaplib.rst:334
399403
msgid "Shutdown connection to server. Returns server ``BYE`` response."
400404
msgstr ""
401405

402-
#: ../../library/imaplib.rst:333
406+
#: ../../library/imaplib.rst:336
403407
msgid "The method no longer ignores silently arbitrary exceptions."
404408
msgstr ""
405409

406-
#: ../../library/imaplib.rst:339
410+
#: ../../library/imaplib.rst:342
407411
msgid ""
408412
"List subscribed mailbox names in directory matching pattern. *directory* "
409413
"defaults to the top level directory and *pattern* defaults to match any "
410414
"mailbox. Returned data are tuples of message part envelope and data."
411415
msgstr ""
412416

413-
#: ../../library/imaplib.rst:346
417+
#: ../../library/imaplib.rst:349
414418
msgid "Show my ACLs for a mailbox (i.e. the rights that I have on mailbox)."
415419
msgstr ""
416420

417-
#: ../../library/imaplib.rst:351
421+
#: ../../library/imaplib.rst:354
418422
msgid "Returns IMAP namespaces as defined in :rfc:`2342`."
419423
msgstr ""
420424

421-
#: ../../library/imaplib.rst:356
425+
#: ../../library/imaplib.rst:359
422426
msgid "Send ``NOOP`` to server."
423427
msgstr ""
424428

425-
#: ../../library/imaplib.rst:361
429+
#: ../../library/imaplib.rst:364
426430
msgid ""
427431
"Opens socket to *port* at *host*. The optional *timeout* parameter specifies "
428432
"a timeout in seconds for the connection attempt. If timeout is not given or "
@@ -435,56 +439,56 @@ msgid ""
435439
"You may override this method."
436440
msgstr ""
437441

438-
#: ../../library/imaplib.rst:371
442+
#: ../../library/imaplib.rst:374
439443
msgid ""
440444
"Raises an :ref:`auditing event <auditing>` ``imaplib.open`` with arguments "
441445
"``self``, ``host``, ``port``."
442446
msgstr ""
443447
"引發一個附帶引數 ``self``、``host``、``port`` 的\\ :ref:`稽核事件 "
444448
"<auditing>` ``imaplib.open``。"
445449

446-
#: ../../library/imaplib.rst:373
450+
#: ../../library/imaplib.rst:376
447451
msgid "The *timeout* parameter was added."
448452
msgstr "新增 *timeout* 參數。"
449453

450-
#: ../../library/imaplib.rst:378
454+
#: ../../library/imaplib.rst:381
451455
msgid ""
452456
"Fetch truncated part of a message. Returned data is a tuple of message part "
453457
"envelope and data."
454458
msgstr ""
455459

456-
#: ../../library/imaplib.rst:384
460+
#: ../../library/imaplib.rst:387
457461
msgid ""
458462
"Assume authentication as *user*. Allows an authorised administrator to proxy "
459463
"into any user's mailbox."
460464
msgstr ""
461465

462-
#: ../../library/imaplib.rst:390
466+
#: ../../library/imaplib.rst:393
463467
msgid ""
464468
"Reads *size* bytes from the remote server. You may override this method."
465469
msgstr ""
466470

467-
#: ../../library/imaplib.rst:395
471+
#: ../../library/imaplib.rst:398
468472
msgid "Reads one line from the remote server. You may override this method."
469473
msgstr ""
470474

471-
#: ../../library/imaplib.rst:400
475+
#: ../../library/imaplib.rst:403
472476
msgid ""
473477
"Prompt server for an update. Returned data is ``None`` if no new messages, "
474478
"else value of ``RECENT`` response."
475479
msgstr ""
476480

477-
#: ../../library/imaplib.rst:406
481+
#: ../../library/imaplib.rst:409
478482
msgid "Rename mailbox named *oldmailbox* to *newmailbox*."
479483
msgstr ""
480484

481-
#: ../../library/imaplib.rst:411
485+
#: ../../library/imaplib.rst:414
482486
msgid ""
483487
"Return data for response *code* if received, or ``None``. Returns the given "
484488
"code, instead of the usual type."
485489
msgstr ""
486490

487-
#: ../../library/imaplib.rst:417
491+
#: ../../library/imaplib.rst:420
488492
msgid ""
489493
"Search mailbox for matching messages. *charset* may be ``None``, in which "
490494
"case no ``CHARSET`` will be specified in the request to the server. The "
@@ -494,11 +498,11 @@ msgid ""
494498
"`enable` command."
495499
msgstr ""
496500

497-
#: ../../library/imaplib.rst:424
501+
#: ../../library/imaplib.rst:427
498502
msgid "Example::"
499503
msgstr "範例: ::"
500504

501-
#: ../../library/imaplib.rst:426
505+
#: ../../library/imaplib.rst:429
502506
msgid ""
503507
"# M is a connected IMAP4 instance...\n"
504508
"typ, msgnums = M.search(None, 'FROM', '\"LDJ\"')\n"
@@ -507,61 +511,61 @@ msgid ""
507511
"typ, msgnums = M.search(None, '(FROM \"LDJ\")')"
508512
msgstr ""
509513

510-
#: ../../library/imaplib.rst:435
514+
#: ../../library/imaplib.rst:438
511515
msgid ""
512516
"Select a mailbox. Returned data is the count of messages in *mailbox* "
513517
"(``EXISTS`` response). The default *mailbox* is ``'INBOX'``. If the "
514518
"*readonly* flag is set, modifications to the mailbox are not allowed."
515519
msgstr ""
516520

517-
#: ../../library/imaplib.rst:442
521+
#: ../../library/imaplib.rst:445
518522
msgid "Sends ``data`` to the remote server. You may override this method."
519523
msgstr ""
520524

521-
#: ../../library/imaplib.rst:444
525+
#: ../../library/imaplib.rst:447
522526
msgid ""
523527
"Raises an :ref:`auditing event <auditing>` ``imaplib.send`` with arguments "
524528
"``self``, ``data``."
525529
msgstr ""
526530
"引發一個附帶引數 ``self``、``data`` 的\\ :ref:`稽核事件 <auditing>` "
527531
"``imaplib.send``。"
528532

529-
#: ../../library/imaplib.rst:449
533+
#: ../../library/imaplib.rst:452
530534
msgid ""
531535
"Set an ``ACL`` for *mailbox*. The method is non-standard, but is supported "
532536
"by the ``Cyrus`` server."
533537
msgstr ""
534538

535-
#: ../../library/imaplib.rst:455
539+
#: ../../library/imaplib.rst:458
536540
msgid ""
537541
"Set ``ANNOTATION``\\ s for *mailbox*. The method is non-standard, but is "
538542
"supported by the ``Cyrus`` server."
539543
msgstr ""
540544

541-
#: ../../library/imaplib.rst:461
545+
#: ../../library/imaplib.rst:464
542546
msgid ""
543547
"Set the ``quota`` *root*'s resource *limits*. This method is part of the "
544548
"IMAP4 QUOTA extension defined in rfc2087."
545549
msgstr ""
546550

547-
#: ../../library/imaplib.rst:467
551+
#: ../../library/imaplib.rst:470
548552
msgid ""
549553
"Close connection established in ``open``. This method is implicitly called "
550554
"by :meth:`IMAP4.logout`. You may override this method."
551555
msgstr ""
552556

553-
#: ../../library/imaplib.rst:473
557+
#: ../../library/imaplib.rst:476
554558
msgid "Returns socket instance used to connect to server."
555559
msgstr ""
556560

557-
#: ../../library/imaplib.rst:478
561+
#: ../../library/imaplib.rst:481
558562
msgid ""
559563
"The ``sort`` command is a variant of ``search`` with sorting semantics for "
560564
"the results. Returned data contains a space separated list of matching "
561565
"message numbers."
562566
msgstr ""
563567

564-
#: ../../library/imaplib.rst:482
568+
#: ../../library/imaplib.rst:485
565569
msgid ""
566570
"Sort has two arguments before the *search_criterion* argument(s); a "
567571
"parenthesized list of *sort_criteria*, and the searching *charset*. Note "
@@ -573,39 +577,39 @@ msgid ""
573577
"searching criteria. It then returns the numbers of matching messages."
574578
msgstr ""
575579

576-
#: ../../library/imaplib.rst:491 ../../library/imaplib.rst:562
580+
#: ../../library/imaplib.rst:494 ../../library/imaplib.rst:565
577581
msgid "This is an ``IMAP4rev1`` extension command."
578582
msgstr ""
579583

580-
#: ../../library/imaplib.rst:496
584+
#: ../../library/imaplib.rst:499
581585
msgid ""
582586
"Send a ``STARTTLS`` command. The *ssl_context* argument is optional and "
583587
"should be a :class:`ssl.SSLContext` object. This will enable encryption on "
584588
"the IMAP connection. Please read :ref:`ssl-security` for best practices."
585589
msgstr ""
586590

587-
#: ../../library/imaplib.rst:503
591+
#: ../../library/imaplib.rst:506
588592
msgid ""
589593
"The method now supports hostname check with :attr:`ssl.SSLContext."
590594
"check_hostname` and *Server Name Indication* (see :const:`ssl.HAS_SNI`)."
591595
msgstr ""
592596

593-
#: ../../library/imaplib.rst:511
597+
#: ../../library/imaplib.rst:514
594598
msgid "Request named status conditions for *mailbox*."
595599
msgstr ""
596600

597-
#: ../../library/imaplib.rst:516
601+
#: ../../library/imaplib.rst:519
598602
msgid ""
599603
"Alters flag dispositions for messages in mailbox. *command* is specified by "
600604
"section 6.4.6 of :rfc:`2060` as being one of \"FLAGS\", \"+FLAGS\", or \"-"
601605
"FLAGS\", optionally with a suffix of \".SILENT\"."
602606
msgstr ""
603607

604-
#: ../../library/imaplib.rst:520
608+
#: ../../library/imaplib.rst:523
605609
msgid "For example, to set the delete flag on all messages::"
606610
msgstr ""
607611

608-
#: ../../library/imaplib.rst:522
612+
#: ../../library/imaplib.rst:525
609613
msgid ""
610614
"typ, data = M.search(None, 'ALL')\n"
611615
"for num in data[0].split():\n"
@@ -617,7 +621,7 @@ msgstr ""
617621
" M.store(num, '+FLAGS', '\\\\Deleted')\n"
618622
"M.expunge()"
619623

620-
#: ../../library/imaplib.rst:529
624+
#: ../../library/imaplib.rst:532
621625
msgid ""
622626
"Creating flags containing ']' (for example: \"[test]\") violates :rfc:`3501` "
623627
"(the IMAP protocol). However, imaplib has historically allowed creation of "
@@ -629,24 +633,24 @@ msgid ""
629633
"are sent from the server, since this improves real-world compatibility."
630634
msgstr ""
631635

632-
#: ../../library/imaplib.rst:541
636+
#: ../../library/imaplib.rst:544
633637
msgid "Subscribe to new mailbox."
634638
msgstr ""
635639

636-
#: ../../library/imaplib.rst:546
640+
#: ../../library/imaplib.rst:549
637641
msgid ""
638642
"The ``thread`` command is a variant of ``search`` with threading semantics "
639643
"for the results. Returned data contains a space separated list of thread "
640644
"members."
641645
msgstr ""
642646

643-
#: ../../library/imaplib.rst:549
647+
#: ../../library/imaplib.rst:552
644648
msgid ""
645649
"Thread members consist of zero or more messages numbers, delimited by "
646650
"spaces, indicating successive parent and child."
647651
msgstr ""
648652

649-
#: ../../library/imaplib.rst:552
653+
#: ../../library/imaplib.rst:555
650654
msgid ""
651655
"Thread has two arguments before the *search_criterion* argument(s); a "
652656
"*threading_algorithm*, and the searching *charset*. Note that unlike "
@@ -659,66 +663,66 @@ msgid ""
659663
"specified threading algorithm."
660664
msgstr ""
661665

662-
#: ../../library/imaplib.rst:567
666+
#: ../../library/imaplib.rst:570
663667
msgid ""
664668
"Execute command args with messages identified by UID, rather than message "
665669
"number. Returns response appropriate to command. At least one argument "
666670
"must be supplied; if none are provided, the server will return an error and "
667671
"an exception will be raised."
668672
msgstr ""
669673

670-
#: ../../library/imaplib.rst:575
674+
#: ../../library/imaplib.rst:578
671675
msgid "Unsubscribe from old mailbox."
672676
msgstr ""
673677

674-
#: ../../library/imaplib.rst:579
678+
#: ../../library/imaplib.rst:582
675679
msgid ""
676680
":meth:`imaplib.IMAP4.unselect` frees server's resources associated with the "
677681
"selected mailbox and returns the server to the authenticated state. This "
678682
"command performs the same actions as :meth:`imaplib.IMAP4.close`, except "
679683
"that no messages are permanently removed from the currently selected mailbox."
680684
msgstr ""
681685

682-
#: ../../library/imaplib.rst:589
686+
#: ../../library/imaplib.rst:592
683687
msgid ""
684688
"Allow simple extension commands notified by server in ``CAPABILITY`` "
685689
"response."
686690
msgstr ""
687691

688-
#: ../../library/imaplib.rst:592
692+
#: ../../library/imaplib.rst:595
689693
msgid "The following attributes are defined on instances of :class:`IMAP4`:"
690694
msgstr ""
691695

692-
#: ../../library/imaplib.rst:596
696+
#: ../../library/imaplib.rst:599
693697
msgid ""
694698
"The most recent supported protocol in the ``CAPABILITY`` response from the "
695699
"server."
696700
msgstr ""
697701

698-
#: ../../library/imaplib.rst:602
702+
#: ../../library/imaplib.rst:605
699703
msgid ""
700704
"Integer value to control debugging output. The initialize value is taken "
701705
"from the module variable ``Debug``. Values greater than three trace each "
702706
"command."
703707
msgstr ""
704708

705-
#: ../../library/imaplib.rst:608
709+
#: ../../library/imaplib.rst:611
706710
msgid ""
707711
"Boolean value that is normally ``False``, but is set to ``True`` if an :meth:"
708712
"`enable` command is successfully issued for the ``UTF8=ACCEPT`` capability."
709713
msgstr ""
710714

711-
#: ../../library/imaplib.rst:618
715+
#: ../../library/imaplib.rst:621
712716
msgid "IMAP4 Example"
713717
msgstr "IMAP4 範例"
714718

715-
#: ../../library/imaplib.rst:620
719+
#: ../../library/imaplib.rst:623
716720
msgid ""
717721
"Here is a minimal example (without error checking) that opens a mailbox and "
718722
"retrieves and prints all messages::"
719723
msgstr ""
720724

721-
#: ../../library/imaplib.rst:623
725+
#: ../../library/imaplib.rst:626
722726
msgid ""
723727
"import getpass, imaplib\n"
724728
"\n"

0 commit comments

Comments
 (0)