Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf5485d7

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parente08a950 commitf5485d7

File tree

3 files changed

+90
-84
lines changed

3 files changed

+90
-84
lines changed

‎library/difflib.po

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version:Python 2.7\n"
1010
"Report-Msgid-Bugs-To:\n"
11-
"POT-Creation-Date:2018-01-21 01:52+0900\n"
12-
"PO-Revision-Date:2017-09-22 17:56+0000\n"
11+
"POT-Creation-Date:2018-10-27 14:45+0900\n"
12+
"PO-Revision-Date:2018-10-27 05:52+0000\n"
1313
"Last-Translator:tomo🐧\n"
1414
"Language-Team:Japanese (http://www.transifex.com/python-doc/python-27/language/ja/)\n"
1515
"MIME-Version:1.0\n"
@@ -86,7 +86,7 @@ msgstr ":class:`Differ` クラスによる差分の各行は、2文字のコー
8686
msgid"Code"
8787
msgstr"コード"
8888

89-
#:../../library/difflib.rst:61../../library/difflib.rst:467
89+
#:../../library/difflib.rst:61../../library/difflib.rst:468
9090
msgid"Meaning"
9191
msgstr"意味"
9292

@@ -287,7 +287,7 @@ msgid ""
287287
"delta (a :term:`generator` generating the delta lines)."
288288
msgstr"*a* と *b* (文字列のリスト) を比較し、差分 (差分形式の行を生成するジェネレータ(:term:`generator`)) を、 :class:`Differ` のスタイルで返します。"
289289

290-
#:../../library/difflib.rst:217../../library/difflib.rst:617
290+
#:../../library/difflib.rst:217../../library/difflib.rst:618
291291
msgid""
292292
"Optional keyword parameters *linejunk* and *charjunk* are for filter "
293293
"functions (or ``None``):"
@@ -491,184 +491,184 @@ msgstr "このメソッドは :term:`named tuple` ``Match(a, b, size)`` を返
491491

492492
#:../../library/difflib.rst:434
493493
msgid""
494-
"Return list of triples describing matching subsequences. Each triple is of "
495-
"the form ``(i, j, n)``, and means that ``a[i:i+n] == b[j:j+n]``. The "
496-
"triples are monotonically increasing in *i* and *j*."
497-
msgstr"マッチしたシーケンス中で個別にマッチしたシーケンスをあらわす、3つの値のリストを返します。それぞれの値は ``(i, j, n)`` という形式であらわされ、``a[i:i+n] == b[j:j+n]`` という関係を意味します。3つの値は *i* と *j* の間で単調に増加します。"
494+
"Return list of triples describingnon-overlappingmatching subsequences. "
495+
"Each triple is ofthe form ``(i, j, n)``, and means that ``a[i:i+n] == "
496+
"b[j:j+n]``. Thetriples are monotonically increasing in *i* and *j*."
497+
msgstr""
498498

499-
#:../../library/difflib.rst:438
499+
#:../../library/difflib.rst:439
500500
msgid""
501501
"The last triple is a dummy, and has the value ``(len(a), len(b), 0)``. It "
502502
"is the only triple with ``n == 0``. If ``(i, j, n)`` and ``(i', j', n')`` "
503503
"are adjacent triples in the list, and the second is not the last triple in "
504-
"the list, then ``i+n!= i'`` or ``j+n!= j'``; in other words, adjacent "
504+
"the list, then ``i+n< i'`` or ``j+n< j'``; in other words, adjacent "
505505
"triples always describe non-adjacent equal blocks."
506-
msgstr"最後のタプルはダミーで、``(len(a), len(b), 0)`` という値を持ちます。これは ``n == 0`` である唯一のタプルです。もし ``(i, j, n)`` と ``(i', j', n')`` がリストで並んでいる3つ組で、2つ目が最後の3つ組でなければ、``i+n != i'`` または ``j+n != j'`` です。言い換えると並んでいる3つ組は常に隣接していない同じブロックを表しています。"
506+
msgstr""
507507

508-
#:../../library/difflib.rst:446
508+
#:../../library/difflib.rst:447
509509
msgid""
510510
"The guarantee that adjacent triples always describe non-adjacent blocks was "
511511
"implemented."
512512
msgstr"隣接する3つ組は常に隣接しないブロックを表すと保証するようになりました。"
513513

514-
#:../../library/difflib.rst:459
514+
#:../../library/difflib.rst:460
515515
msgid""
516516
"Return list of 5-tuples describing how to turn *a* into *b*. Each tuple is "
517517
"of the form ``(tag, i1, i2, j1, j2)``. The first tuple has ``i1 == j1 == "
518518
"0``, and remaining tuples have *i1* equal to the *i2* from the preceding "
519519
"tuple, and, likewise, *j1* equal to the previous *j2*."
520520
msgstr"*a* を *b* にするための方法を記述する5つのタプルを返します。それぞれのタプルは ``(tag, i1, i2, j1, j2)`` という形式であらわされます。最初のタプルは ``i1 == j1 == 0`` であり、*i1* はその前にあるタプルの *i2* と同じ値です。同様に *j1* は前の *j2* と同じ値になります。"
521521

522-
#:../../library/difflib.rst:464
522+
#:../../library/difflib.rst:465
523523
msgid"The *tag* values are strings, with these meanings:"
524524
msgstr"*tag* の値は文字列であり、次のような意味です:"
525525

526-
#:../../library/difflib.rst:467
526+
#:../../library/difflib.rst:468
527527
msgid"Value"
528528
msgstr"``値``"
529529

530-
#:../../library/difflib.rst:469
530+
#:../../library/difflib.rst:470
531531
msgid"``'replace'``"
532532
msgstr"``'replace'``"
533533

534-
#:../../library/difflib.rst:469
534+
#:../../library/difflib.rst:470
535535
msgid"``a[i1:i2]`` should be replaced by ``b[j1:j2]``."
536536
msgstr"``a[i1:i2]`` は ``b[j1:j2]`` に置き換えられる。"
537537

538-
#:../../library/difflib.rst:472
538+
#:../../library/difflib.rst:473
539539
msgid"``'delete'``"
540540
msgstr"``'delete'``"
541541

542-
#:../../library/difflib.rst:472
542+
#:../../library/difflib.rst:473
543543
msgid"``a[i1:i2]`` should be deleted. Note that ``j1 == j2`` in this case."
544544
msgstr"``a[i1:i2]`` は削除される。この時、``j1 == j2`` である。"
545545

546-
#:../../library/difflib.rst:475
546+
#:../../library/difflib.rst:476
547547
msgid"``'insert'``"
548548
msgstr"``'insert'``"
549549

550-
#:../../library/difflib.rst:475
550+
#:../../library/difflib.rst:476
551551
msgid""
552552
"``b[j1:j2]`` should be inserted at ``a[i1:i1]``. Note that ``i1 == i2`` in "
553553
"this case."
554554
msgstr"``b[j1:j2]`` が ``a[i1:i1]`` に挿入される。この時 ``i1 == i2`` である。"
555555

556-
#:../../library/difflib.rst:479
556+
#:../../library/difflib.rst:480
557557
msgid"``'equal'``"
558558
msgstr"``'equal'``"
559559

560-
#:../../library/difflib.rst:479
560+
#:../../library/difflib.rst:480
561561
msgid"``a[i1:i2] == b[j1:j2]`` (the sub-sequences are equal)."
562562
msgstr"``a[i1:i2] == b[j1:j2]`` (サブシーケンスは等しい)."
563563

564-
#:../../library/difflib.rst:483
564+
#:../../library/difflib.rst:484
565565
msgid"For example:"
566566
msgstr"例えば:"
567567

568-
#:../../library/difflib.rst:500
568+
#:../../library/difflib.rst:501
569569
msgid"Return a :term:`generator` of groups with up to *n* lines of context."
570570
msgstr"最大 *n* 行までのコンテクストを含むグループを生成するような、ジェネレータ(:term:`generator`)を返します。"
571571

572-
#:../../library/difflib.rst:502
572+
#:../../library/difflib.rst:503
573573
msgid""
574574
"Starting with the groups returned by :meth:`get_opcodes`, this method splits"
575575
" out smaller change clusters and eliminates intervening ranges which have no"
576576
" changes."
577577
msgstr"このメソッドは、 :meth:`get_opcodes` で返されるグループの中から、似たような差異のかたまりに分け、間に挟まっている変更の無い部分を省きます。"
578578

579-
#:../../library/difflib.rst:506
579+
#:../../library/difflib.rst:507
580580
msgid"The groups are returned in the same format as :meth:`get_opcodes`."
581581
msgstr"グループは :meth:`get_opcodes` と同じ書式で返されます。"
582582

583-
#:../../library/difflib.rst:513
583+
#:../../library/difflib.rst:514
584584
msgid""
585585
"Return a measure of the sequences' similarity as a float in the range [0, "
586586
"1]."
587587
msgstr"[0, 1] の範囲の浮動小数点数で、シーケンスの類似度を測る値を返します。"
588588

589-
#:../../library/difflib.rst:516
589+
#:../../library/difflib.rst:517
590590
msgid""
591591
"Where T is the total number of elements in both sequences, and M is the "
592592
"number of matches, this is 2.0\\*M / T. Note that this is ``1.0`` if the "
593593
"sequences are identical, and ``0.0`` if they have nothing in common."
594594
msgstr"T が2つのシーケンスの要素数の総計だと仮定し、M をマッチした数とすると、この値は 2.0\\*M / T であらわされます。もしシーケンスがまったく同じ場合、値は ``1.0`` となり、まったく異なる場合には ``0.0`` となります。"
595595

596-
#:../../library/difflib.rst:520
596+
#:../../library/difflib.rst:521
597597
msgid""
598598
"This is expensive to compute if :meth:`get_matching_blocks` or "
599599
":meth:`get_opcodes` hasn't already been called, in which case you may want "
600600
"to try :meth:`quick_ratio` or :meth:`real_quick_ratio` first to get an upper"
601601
" bound."
602602
msgstr"このメソッドは :meth:`get_matching_blocks` または :meth:`get_opcodes` がまだ呼び出されていない場合には非常にコストが高いです。この場合、上限を素早く計算するために、 :meth:`quick_ratio` もしくは :meth:`real_quick_ratio` を最初に試してみる方がいいかもしれません。"
603603

604-
#:../../library/difflib.rst:528
604+
#:../../library/difflib.rst:529
605605
msgid"Return an upper bound on :meth:`ratio` relatively quickly."
606606
msgstr":meth:`ratio` の上界を、より高速に計算します。"
607607

608-
#:../../library/difflib.rst:533
608+
#:../../library/difflib.rst:534
609609
msgid"Return an upper bound on :meth:`ratio` very quickly."
610610
msgstr":meth:`ratio` の上界を、非常に高速に計算します。"
611611

612-
#:../../library/difflib.rst:536
612+
#:../../library/difflib.rst:537
613613
msgid""
614614
"The three methods that return the ratio of matching to total characters can "
615615
"give different results due to differing levels of approximation, although "
616616
":meth:`quick_ratio` and :meth:`real_quick_ratio` are always at least as "
617617
"large as :meth:`ratio`:"
618618
msgstr"この文字列全体のマッチ率を返す3つのメソッドは、精度の異なる近似値を返します。 :meth:`quick_ratio` と :meth:`real_quick_ratio` は、常に :meth:`ratio` 以上の値を返します:"
619619

620-
#:../../library/difflib.rst:553
620+
#:../../library/difflib.rst:554
621621
msgid"SequenceMatcher Examples"
622622
msgstr"SequenceMatcher の例"
623623

624-
#:../../library/difflib.rst:555
624+
#:../../library/difflib.rst:556
625625
msgid"This example compares two strings, considering blanks to be\"junk:\""
626626
msgstr"この例は2つの文字列を比較します。空白を\"junk\" とします。"
627627

628-
#:../../library/difflib.rst:561
628+
#:../../library/difflib.rst:562
629629
msgid""
630630
":meth:`ratio` returns a float in [0, 1], measuring the similarity of the "
631631
"sequences. As a rule of thumb, a :meth:`ratio` value over 0.6 means the "
632632
"sequences are close matches:"
633633
msgstr":meth:`ratio` は、[0, 1] の範囲の値を返し、シーケンスの類似度を測ります。経験によると、 :meth:`ratio` の値が0.6を超えると、シーケンスがよく似ていることを示します:"
634634

635-
#:../../library/difflib.rst:568
635+
#:../../library/difflib.rst:569
636636
msgid""
637637
"If you're only interested in where the sequences match, "
638638
":meth:`get_matching_blocks` is handy:"
639639
msgstr"シーケンスのどこがマッチしているかにだけ興味のある時には :meth:`get_matching_blocks` が手軽でしょう:"
640640

641-
#:../../library/difflib.rst:577
641+
#:../../library/difflib.rst:578
642642
msgid""
643643
"Note that the last tuple returned by :meth:`get_matching_blocks` is always a"
644644
" dummy, ``(len(a), len(b), 0)``, and this is the only case in which the last"
645645
" tuple element (number of elements matched) is ``0``."
646646
msgstr":meth:`get_matching_blocks` が返す最後のタプルが常にダミーであることに注目してください。このダミーは ``(len(a), len(b), 0)`` であり、これはタプルの最後の要素(マッチする要素の数)が ``0`` となる唯一のケースです。"
647647

648-
#:../../library/difflib.rst:581
648+
#:../../library/difflib.rst:582
649649
msgid""
650650
"If you want to know how to change the first sequence into the second, use "
651651
":meth:`get_opcodes`:"
652652
msgstr"はじめのシーケンスがどのようにして2番目のものになるのかを知るには、 :meth:`get_opcodes` を使います:"
653653

654-
#:../../library/difflib.rst:592
654+
#:../../library/difflib.rst:593
655655
msgid""
656656
"The :func:`get_close_matches` function in this module which shows how simple"
657657
" code building on :class:`SequenceMatcher` can be used to do useful work."
658658
msgstr":class:`SequenceMatcher` を使った、シンプルで使えるコードを知るには、このモジュールの関数 :func:`get_close_matches` を参照してください。"
659659

660-
#:../../library/difflib.rst:596
660+
#:../../library/difflib.rst:597
661661
msgid""
662662
"`Simple version control recipe "
663663
"<https://code.activestate.com/recipes/576729/>`_ for a small application "
664664
"built with :class:`SequenceMatcher`."
665665
msgstr"`Simple version control recipe <https://code.activestate.com/recipes/576729/>`_ :class:`SequenceMatcher` で作った小規模アプリケーション。"
666666

667-
#:../../library/difflib.rst:604
667+
#:../../library/difflib.rst:605
668668
msgid"Differ Objects"
669669
msgstr"Differ オブジェクト"
670670

671-
#:../../library/difflib.rst:606
671+
#:../../library/difflib.rst:607
672672
msgid""
673673
"Note that :class:`Differ`\\ -generated deltas make no claim to be "
674674
"**minimal** diffs. To the contrary, minimal diffs are often counter-"
@@ -678,36 +678,36 @@ msgid ""
678678
"longer diff."
679679
msgstr":class:`Differ` オブジェクトによって生成された差分が **最小** であるなどとは言いません。むしろ、最小の差分はしばしば直観に反しています。その理由は、どこでもできるとなれば一致を見いだしてしまうからで、ときには思いがけなく100ページも離れたマッチになってしまうのです。一致点を互いに隣接したマッチに制限することで、場合によって長めの差分を出力するというコストを掛けることにはなっても、ある種の局所性を保つことができるのです。"
680680

681-
#:../../library/difflib.rst:612
681+
#:../../library/difflib.rst:613
682682
msgid"The :class:`Differ` class has this constructor:"
683683
msgstr":class:`Differ` は、以下のようなコンストラクタを持ちます:"
684684

685-
#:../../library/difflib.rst:620
685+
#:../../library/difflib.rst:621
686686
msgid""
687687
"*linejunk*: A function that accepts a single string argument, and returns "
688688
"true if the string is junk. The default is ``None``, meaning that no line "
689689
"is considered junk."
690690
msgstr"*linejunk*: ひとつの文字列引数を受け取る関数です。文字列が junk のときに真を返します。デフォルトでは、``None`` であり、どんな行であっても junk とは見なされません。"
691691

692-
#:../../library/difflib.rst:624
692+
#:../../library/difflib.rst:625
693693
msgid""
694694
"*charjunk*: A function that accepts a single character argument (a string of"
695695
" length 1), and returns true if the character is junk. The default is "
696696
"``None``, meaning that no character is considered junk."
697697
msgstr"*charjunk*: この関数は文字(長さ1の文字列)を引数として受け取り、文字が junk であるときに真を返します。デフォルトは ``None`` であり、どんな文字も junk とは見なされません。"
698698

699-
#:../../library/difflib.rst:628
699+
#:../../library/difflib.rst:629
700700
msgid""
701701
":class:`Differ` objects are used (deltas generated) via a single method:"
702702
msgstr":class:`Differ` オブジェクトは、以下の1つのメソッドを通して利用されます。(差分を生成します):"
703703

704-
#:../../library/difflib.rst:633
704+
#:../../library/difflib.rst:634
705705
msgid""
706706
"Compare two sequences of lines, and generate the delta (a sequence of "
707707
"lines)."
708708
msgstr"文字列からなる2つのシーケンスを比較し、差分(を表す文字列からなるシーケンス)を生成します。"
709709

710-
#:../../library/difflib.rst:635
710+
#:../../library/difflib.rst:636
711711
msgid""
712712
"Each sequence must contain individual single-line strings ending with "
713713
"newlines. Such sequences can be obtained from the :meth:`~file.readlines` "
@@ -716,45 +716,45 @@ msgid ""
716716
":meth:`~file.writelines` method of a file-like object."
717717
msgstr"各シーケンスの要素は、改行で終わる独立した単一行からなる文字列でなければなりません。そのようなシーケンスは、ファイル風オブジェクトの :meth:`~file.readlines` メソッドによって得ることができます。(得られる)差分は改行文字で終了する文字列のシーケンスとして得られ、ファイル風オブジェクトの :meth:`~file.writelines` メソッドによって出力できる形になっています。"
718718

719-
#:../../library/difflib.rst:646
719+
#:../../library/difflib.rst:647
720720
msgid"Differ Example"
721721
msgstr"Differ の例"
722722

723-
#:../../library/difflib.rst:648
723+
#:../../library/difflib.rst:649
724724
msgid""
725725
"This example compares two texts. First we set up the texts, sequences of "
726726
"individual single-line strings ending with newlines (such sequences can also"
727727
" be obtained from the :meth:`~file.readlines` method of file-like objects):"
728728
msgstr"以下の例は2つのテキストを比較しています。最初に、テキストを行毎に改行で終わる文字列のシーケンスにセットアップします (そのようなシーケンスは、ファイル風オブジェクトの :meth:`~file.readlines` メソッドからも得ることができます) 。"
729729

730-
#:../../library/difflib.rst:667
730+
#:../../library/difflib.rst:668
731731
msgid"Next we instantiate a Differ object:"
732732
msgstr"次に Differ オブジェクトをインスタンス化します:"
733733

734-
#:../../library/difflib.rst:671
734+
#:../../library/difflib.rst:672
735735
msgid""
736736
"Note that when instantiating a :class:`Differ` object we may pass functions "
737737
"to filter out line and character\"junk.\" See the :meth:`Differ` "
738738
"constructor for details."
739739
msgstr"注意: :class:`Differ` オブジェクトをインスタンス化するとき、行 junk と文字 junk をフィルタリングする関数を渡すことができます。詳細は :meth:`Differ` コンストラクタを参照してください。"
740740

741-
#:../../library/difflib.rst:675
741+
#:../../library/difflib.rst:676
742742
msgid"Finally, we compare the two:"
743743
msgstr"最後に、2つを比較します:"
744744

745-
#:../../library/difflib.rst:679
745+
#:../../library/difflib.rst:680
746746
msgid"``result`` is a list of strings, so let's pretty-print it:"
747747
msgstr"``result`` は文字列のリストなので、pretty-printしてみましょう:"
748748

749-
#:../../library/difflib.rst:694
749+
#:../../library/difflib.rst:695
750750
msgid"As a single multi-line string it looks like this:"
751751
msgstr"これは、複数行の文字列として、次のように出力されます:"
752752

753-
#:../../library/difflib.rst:713
753+
#:../../library/difflib.rst:714
754754
msgid"A command-line interface to difflib"
755755
msgstr"difflib のコマンドラインインタフェース"
756756

757-
#:../../library/difflib.rst:715
757+
#:../../library/difflib.rst:716
758758
msgid""
759759
"This example shows how to use difflib to create a ``diff``-like utility. It "
760760
"is also contained in the Python source distribution, as "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp