Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 30c99b5

Browse files
committed
[po] auto sync bot
1 parent cbfc7c7 commit 30c99b5

4 files changed

Lines changed: 3801 additions & 3787 deletions

File tree

library/difflib.po

Lines changed: 55 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
11+
"POT-Creation-Date: 2018-10-28 09:36+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: Freesand Leo <[email protected]>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -92,7 +92,7 @@ msgstr ""
9292
msgid "Code"
9393
msgstr ""
9494

95-
#: ../../library/difflib.rst:68 ../../library/difflib.rst:489
95+
#: ../../library/difflib.rst:68 ../../library/difflib.rst:490
9696
msgid "Meaning"
9797
msgstr "意义"
9898

@@ -534,178 +534,178 @@ msgstr ""
534534

535535
#: ../../library/difflib.rst:460
536536
msgid ""
537-
"Return list of triples describing matching subsequences. Each triple is of "
538-
"the form ``(i, j, n)``, and means that ``a[i:i+n] == b[j:j+n]``. The "
539-
"triples are monotonically increasing in *i* and *j*."
537+
"Return list of triples describing non-overlapping matching subsequences. "
538+
"Each triple is of the form ``(i, j, n)``, and means that ``a[i:i+n] == "
539+
"b[j:j+n]``. The triples are monotonically increasing in *i* and *j*."
540540
msgstr ""
541541

542-
#: ../../library/difflib.rst:464
542+
#: ../../library/difflib.rst:465
543543
msgid ""
544544
"The last triple is a dummy, and has the value ``(len(a), len(b), 0)``. It "
545545
"is the only triple with ``n == 0``. If ``(i, j, n)`` and ``(i', j', n')`` "
546546
"are adjacent triples in the list, and the second is not the last triple in "
547-
"the list, then ``i+n != i'`` or ``j+n != j'``; in other words, adjacent "
547+
"the list, then ``i+n < i'`` or ``j+n < j'``; in other words, adjacent "
548548
"triples always describe non-adjacent equal blocks."
549549
msgstr ""
550550

551-
#: ../../library/difflib.rst:481
551+
#: ../../library/difflib.rst:482
552552
msgid ""
553553
"Return list of 5-tuples describing how to turn *a* into *b*. Each tuple is "
554554
"of the form ``(tag, i1, i2, j1, j2)``. The first tuple has ``i1 == j1 == "
555555
"0``, and remaining tuples have *i1* equal to the *i2* from the preceding "
556556
"tuple, and, likewise, *j1* equal to the previous *j2*."
557557
msgstr ""
558558

559-
#: ../../library/difflib.rst:486
559+
#: ../../library/difflib.rst:487
560560
msgid "The *tag* values are strings, with these meanings:"
561561
msgstr ""
562562

563-
#: ../../library/difflib.rst:489
563+
#: ../../library/difflib.rst:490
564564
msgid "Value"
565565
msgstr ""
566566

567-
#: ../../library/difflib.rst:491
567+
#: ../../library/difflib.rst:492
568568
msgid "``'replace'``"
569569
msgstr ""
570570

571-
#: ../../library/difflib.rst:491
571+
#: ../../library/difflib.rst:492
572572
msgid "``a[i1:i2]`` should be replaced by ``b[j1:j2]``."
573573
msgstr ""
574574

575-
#: ../../library/difflib.rst:494
575+
#: ../../library/difflib.rst:495
576576
msgid "``'delete'``"
577577
msgstr ""
578578

579-
#: ../../library/difflib.rst:494
579+
#: ../../library/difflib.rst:495
580580
msgid "``a[i1:i2]`` should be deleted. Note that ``j1 == j2`` in this case."
581581
msgstr ""
582582

583-
#: ../../library/difflib.rst:497
583+
#: ../../library/difflib.rst:498
584584
msgid "``'insert'``"
585585
msgstr ""
586586

587-
#: ../../library/difflib.rst:497
587+
#: ../../library/difflib.rst:498
588588
msgid ""
589589
"``b[j1:j2]`` should be inserted at ``a[i1:i1]``. Note that ``i1 == i2`` in "
590590
"this case."
591591
msgstr ""
592592

593-
#: ../../library/difflib.rst:501
593+
#: ../../library/difflib.rst:502
594594
msgid "``'equal'``"
595595
msgstr ""
596596

597-
#: ../../library/difflib.rst:501
597+
#: ../../library/difflib.rst:502
598598
msgid "``a[i1:i2] == b[j1:j2]`` (the sub-sequences are equal)."
599599
msgstr ""
600600

601-
#: ../../library/difflib.rst:505
601+
#: ../../library/difflib.rst:506
602602
msgid "For example::"
603603
msgstr "例如::"
604604

605-
#: ../../library/difflib.rst:522
605+
#: ../../library/difflib.rst:523
606606
msgid "Return a :term:`generator` of groups with up to *n* lines of context."
607607
msgstr ""
608608

609-
#: ../../library/difflib.rst:524
609+
#: ../../library/difflib.rst:525
610610
msgid ""
611611
"Starting with the groups returned by :meth:`get_opcodes`, this method splits"
612612
" out smaller change clusters and eliminates intervening ranges which have no"
613613
" changes."
614614
msgstr ""
615615

616-
#: ../../library/difflib.rst:528
616+
#: ../../library/difflib.rst:529
617617
msgid "The groups are returned in the same format as :meth:`get_opcodes`."
618618
msgstr ""
619619

620-
#: ../../library/difflib.rst:533
620+
#: ../../library/difflib.rst:534
621621
msgid ""
622622
"Return a measure of the sequences' similarity as a float in the range [0, "
623623
"1]."
624624
msgstr ""
625625

626-
#: ../../library/difflib.rst:536
626+
#: ../../library/difflib.rst:537
627627
msgid ""
628628
"Where T is the total number of elements in both sequences, and M is the "
629629
"number of matches, this is 2.0\\*M / T. Note that this is ``1.0`` if the "
630630
"sequences are identical, and ``0.0`` if they have nothing in common."
631631
msgstr ""
632632

633-
#: ../../library/difflib.rst:540
633+
#: ../../library/difflib.rst:541
634634
msgid ""
635635
"This is expensive to compute if :meth:`get_matching_blocks` or "
636636
":meth:`get_opcodes` hasn't already been called, in which case you may want "
637637
"to try :meth:`quick_ratio` or :meth:`real_quick_ratio` first to get an upper"
638638
" bound."
639639
msgstr ""
640640

641-
#: ../../library/difflib.rst:548
641+
#: ../../library/difflib.rst:549
642642
msgid "Return an upper bound on :meth:`ratio` relatively quickly."
643643
msgstr ""
644644

645-
#: ../../library/difflib.rst:553
645+
#: ../../library/difflib.rst:554
646646
msgid "Return an upper bound on :meth:`ratio` very quickly."
647647
msgstr ""
648648

649-
#: ../../library/difflib.rst:556
649+
#: ../../library/difflib.rst:557
650650
msgid ""
651651
"The three methods that return the ratio of matching to total characters can "
652652
"give different results due to differing levels of approximation, although "
653653
":meth:`quick_ratio` and :meth:`real_quick_ratio` are always at least as "
654654
"large as :meth:`ratio`:"
655655
msgstr ""
656656

657-
#: ../../library/difflib.rst:573
657+
#: ../../library/difflib.rst:574
658658
msgid "SequenceMatcher Examples"
659659
msgstr ""
660660

661-
#: ../../library/difflib.rst:575
661+
#: ../../library/difflib.rst:576
662662
msgid "This example compares two strings, considering blanks to be \"junk\":"
663663
msgstr ""
664664

665-
#: ../../library/difflib.rst:581
665+
#: ../../library/difflib.rst:582
666666
msgid ""
667667
":meth:`ratio` returns a float in [0, 1], measuring the similarity of the "
668668
"sequences. As a rule of thumb, a :meth:`ratio` value over 0.6 means the "
669669
"sequences are close matches:"
670670
msgstr ""
671671

672-
#: ../../library/difflib.rst:588
672+
#: ../../library/difflib.rst:589
673673
msgid ""
674674
"If you're only interested in where the sequences match, "
675675
":meth:`get_matching_blocks` is handy:"
676676
msgstr ""
677677

678-
#: ../../library/difflib.rst:597
678+
#: ../../library/difflib.rst:598
679679
msgid ""
680680
"Note that the last tuple returned by :meth:`get_matching_blocks` is always a"
681681
" dummy, ``(len(a), len(b), 0)``, and this is the only case in which the last"
682682
" tuple element (number of elements matched) is ``0``."
683683
msgstr ""
684684

685-
#: ../../library/difflib.rst:601
685+
#: ../../library/difflib.rst:602
686686
msgid ""
687687
"If you want to know how to change the first sequence into the second, use "
688688
":meth:`get_opcodes`:"
689689
msgstr ""
690690

691-
#: ../../library/difflib.rst:612
691+
#: ../../library/difflib.rst:613
692692
msgid ""
693693
"The :func:`get_close_matches` function in this module which shows how simple"
694694
" code building on :class:`SequenceMatcher` can be used to do useful work."
695695
msgstr ""
696696

697-
#: ../../library/difflib.rst:616
697+
#: ../../library/difflib.rst:617
698698
msgid ""
699699
"`Simple version control recipe "
700700
"<https://code.activestate.com/recipes/576729/>`_ for a small application "
701701
"built with :class:`SequenceMatcher`."
702702
msgstr ""
703703

704-
#: ../../library/difflib.rst:624
704+
#: ../../library/difflib.rst:625
705705
msgid "Differ Objects"
706706
msgstr ""
707707

708-
#: ../../library/difflib.rst:626
708+
#: ../../library/difflib.rst:627
709709
msgid ""
710710
"Note that :class:`Differ`\\ -generated deltas make no claim to be "
711711
"**minimal** diffs. To the contrary, minimal diffs are often counter-"
@@ -715,50 +715,50 @@ msgid ""
715715
"longer diff."
716716
msgstr ""
717717

718-
#: ../../library/difflib.rst:632
718+
#: ../../library/difflib.rst:633
719719
msgid "The :class:`Differ` class has this constructor:"
720720
msgstr ""
721721

722-
#: ../../library/difflib.rst:637
722+
#: ../../library/difflib.rst:638
723723
msgid ""
724724
"Optional keyword parameters *linejunk* and *charjunk* are for filter "
725725
"functions (or ``None``):"
726726
msgstr ""
727727

728-
#: ../../library/difflib.rst:640
728+
#: ../../library/difflib.rst:641
729729
msgid ""
730730
"*linejunk*: A function that accepts a single string argument, and returns "
731731
"true if the string is junk. The default is ``None``, meaning that no line "
732732
"is considered junk."
733733
msgstr ""
734734

735-
#: ../../library/difflib.rst:644
735+
#: ../../library/difflib.rst:645
736736
msgid ""
737737
"*charjunk*: A function that accepts a single character argument (a string of"
738738
" length 1), and returns true if the character is junk. The default is "
739739
"``None``, meaning that no character is considered junk."
740740
msgstr ""
741741

742-
#: ../../library/difflib.rst:648
742+
#: ../../library/difflib.rst:649
743743
msgid ""
744744
"These junk-filtering functions speed up matching to find differences and do "
745745
"not cause any differing lines or characters to be ignored. Read the "
746746
"description of the :meth:`~SequenceMatcher.find_longest_match` method's "
747747
"*isjunk* parameter for an explanation."
748748
msgstr ""
749749

750-
#: ../../library/difflib.rst:654
750+
#: ../../library/difflib.rst:655
751751
msgid ""
752752
":class:`Differ` objects are used (deltas generated) via a single method:"
753753
msgstr ""
754754

755-
#: ../../library/difflib.rst:659
755+
#: ../../library/difflib.rst:660
756756
msgid ""
757757
"Compare two sequences of lines, and generate the delta (a sequence of "
758758
"lines)."
759759
msgstr ""
760760

761-
#: ../../library/difflib.rst:661
761+
#: ../../library/difflib.rst:662
762762
msgid ""
763763
"Each sequence must contain individual single-line strings ending with "
764764
"newlines. Such sequences can be obtained from the "
@@ -767,46 +767,46 @@ msgid ""
767767
"as-is via the :meth:`~io.IOBase.writelines` method of a file-like object."
768768
msgstr ""
769769

770-
#: ../../library/difflib.rst:672
770+
#: ../../library/difflib.rst:673
771771
msgid "Differ Example"
772772
msgstr ""
773773

774-
#: ../../library/difflib.rst:674
774+
#: ../../library/difflib.rst:675
775775
msgid ""
776776
"This example compares two texts. First we set up the texts, sequences of "
777777
"individual single-line strings ending with newlines (such sequences can also"
778778
" be obtained from the :meth:`~io.BaseIO.readlines` method of file-like "
779779
"objects):"
780780
msgstr ""
781781

782-
#: ../../library/difflib.rst:693
782+
#: ../../library/difflib.rst:694
783783
msgid "Next we instantiate a Differ object:"
784784
msgstr ""
785785

786-
#: ../../library/difflib.rst:697
786+
#: ../../library/difflib.rst:698
787787
msgid ""
788788
"Note that when instantiating a :class:`Differ` object we may pass functions "
789789
"to filter out line and character \"junk.\" See the :meth:`Differ` "
790790
"constructor for details."
791791
msgstr ""
792792

793-
#: ../../library/difflib.rst:701
793+
#: ../../library/difflib.rst:702
794794
msgid "Finally, we compare the two:"
795795
msgstr ""
796796

797-
#: ../../library/difflib.rst:705
797+
#: ../../library/difflib.rst:706
798798
msgid "``result`` is a list of strings, so let's pretty-print it:"
799799
msgstr ""
800800

801-
#: ../../library/difflib.rst:720
801+
#: ../../library/difflib.rst:721
802802
msgid "As a single multi-line string it looks like this:"
803803
msgstr ""
804804

805-
#: ../../library/difflib.rst:739
805+
#: ../../library/difflib.rst:740
806806
msgid "A command-line interface to difflib"
807807
msgstr ""
808808

809-
#: ../../library/difflib.rst:741
809+
#: ../../library/difflib.rst:742
810810
msgid ""
811811
"This example shows how to use difflib to create a ``diff``-like utility. It "
812812
"is also contained in the Python source distribution, as "

library/unittest.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-10-27 09:37+0900\n"
11+
"POT-Creation-Date: 2018-10-28 09:36+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: Freesand Leo <[email protected]>, 2018\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -114,7 +114,7 @@ msgstr ""
114114

115115
#: ../../library/unittest.rst:61
116116
msgid ""
117-
"`Nose <https://nose.readthedocs.io/>`_ and `py.test "
117+
"`Nose <https://nose.readthedocs.io/>`_ and `pytest "
118118
"<https://docs.pytest.org/>`_"
119119
msgstr ""
120120

library/zipfile.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.7\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2018-06-30 05:56+0900\n"
11+
"POT-Creation-Date: 2018-10-28 09:36+0900\n"
1212
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
1313
"Last-Translator: 操旭 <[email protected]>, 2017\n"
1414
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -427,7 +427,7 @@ msgstr ""
427427

428428
#: ../../library/zipfile.rst:365
429429
msgid ""
430-
"Calling :meth:`testfile` on a closed ZipFile will raise a :exc:`ValueError`."
430+
"Calling :meth:`testzip` on a closed ZipFile will raise a :exc:`ValueError`."
431431
" Previously, a :exc:`RuntimeError` was raised."
432432
msgstr ""
433433

0 commit comments

Comments
 (0)