| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3af9dc1 commit 3b41cb7
10 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -227,11 +227,10 @@ msgid "" | |||
| 227 | 227 | "these edits would be lost the next time Argument Clinic writes out fresh " | |
| 228 | 228 | "output.)" | |
| 229 | 229 | msgstr "" | |
| 230 | - "Argument Clinick block の出力部分を修正してはいけません。\n" | ||
| 231 | - "出力が望みどおりになるまで、入力を修正してください。\n" | ||
| 232 | - "(出力部分に対する修正は、次に Argument Clinic が新しい出力を書いたときに失わ" | ||
| 233 | - "れてしまいます。\n" | ||
| 234 | - "チェックサムの目的は出力部分に対する修正を検出するためです。)" | ||
| 230 | + "Argument Clinick block の出力部分を編集してはいけません。出力が望みどおりにな" | ||
| 231 | + "るまで、入力を変更してください。 (出力部分に行った編集は、次に Argument " | ||
| 232 | + "Clinic が新しい出力を書き込む際に失われてしまいます。チェックサムの目的は出力" | ||
| 233 | + "部分に行った編集がないかどうか検出するためです。)" | ||
| 235 | 234 | ||
| 236 | 235 | #: ../../howto/clinic.rst:131 | |
| 237 | 236 | msgid "" | |
@@ -733,7 +732,7 @@ msgid "" | |||
| 733 | 732 | msgstr "" | |
| 734 | 733 | "その出力の最終行が、あなたの \"impl\" 関数の宣言であることに注意してくださ" | |
| 735 | 734 | "い。 これは、ビルトインの実装が行われる場所です。 あなたが変更中の関数の既存" | |
| 736 | - "のプロトタイプを削除してください。しかし、開き並括弧 ``{`` は残してください。" | ||
| 735 | + "のプロトタイプを削除してください。しかし、開き波括弧 ``{`` は残してください。" | ||
| 737 | 736 | "そして、その引数をパースするコードと、 その引数をダンプするすべての変数の宣言" | |
| 738 | 737 | "を削除してください。 Python の引数がこの impl 関数の引数になっていることに注" | |
| 739 | 738 | "意してください。実装でこれらの変数に異なる名前が使用されている場合は、修正し" | |
@@ -744,6 +743,8 @@ msgid "" | |||
| 744 | 743 | "Let's reiterate, just because it's kind of weird. Your code should now look " | |
| 745 | 744 | "like this::" | |
| 746 | 745 | msgstr "" | |
| 746 | + "少々奇妙なコードなので、もう一度やってみましょう。あなたのコードは今や以下の" | ||
| 747 | + "ようになっているはずです::" | ||
| 747 | 748 | ||
| 748 | 749 | #: ../../howto/clinic.rst:479 | |
| 749 | 750 | msgid "" | |
@@ -764,20 +765,32 @@ msgid "" | |||
| 764 | 765 | "builtin is a class method, this will probably be below but relatively near " | |
| 765 | 766 | "to the implementation.)" | |
| 766 | 767 | msgstr "" | |
| 768 | + "この関数の :c:type:`PyMethodDef` 構造体を含むマクロについて思い出して下さい。" | ||
| 769 | + "この関数の既存の :c:type:`PyMethodDef` 構造体を探して、それをマクロへの参照に" | ||
| 770 | + "置き換えて下さい。 (ビルトインがモジュール・スコープにある場合、既存の :c:" | ||
| 771 | + "type:`PyMethodDef` 構造体はおそらくファイルの終わり近くにあります。ビルトイン" | ||
| 772 | + "がクラス・メソッドの場合、既存の :c:type:`PyMethodDef` 構造体はおそらく実装の" | ||
| 773 | + "後ろにありますが、比較的実装に近いです。)" | ||
| 767 | 774 | ||
| 768 | 775 | #: ../../howto/clinic.rst:531 | |
| 769 | 776 | msgid "" | |
| 770 | 777 | "Note that the body of the macro contains a trailing comma. So when you " | |
| 771 | 778 | "replace the existing static :c:type:`PyMethodDef` structure with the macro, " | |
| 772 | 779 | "*don't* add a comma to the end." | |
| 773 | 780 | msgstr "" | |
| 781 | + "マクロの本体には末尾にカンマ(comma)が含まれていることに注意してください。した" | ||
| 782 | + "がって、既存の static :c:type:`PyMethodDef` 構造体をマクロに置き換える場合" | ||
| 783 | + "は、末尾にカンマ(comma)を追加しないでください。" | ||
| 774 | 784 | ||
| 775 | 785 | #: ../../howto/clinic.rst:544 | |
| 776 | 786 | msgid "" | |
| 777 | 787 | "Compile, then run the relevant portions of the regression-test suite. This " | |
| 778 | 788 | "change should not introduce any new compile-time warnings or errors, and " | |
| 779 | 789 | "there should be no externally visible change to Python's behavior." | |
| 780 | 790 | msgstr "" | |
| 791 | + "回帰テスト(regression-test)のスイートの関連部分をコンパイルして実行します。こ" | ||
| 792 | + "の変更により、新たな、コンパイル時の警告やエラーが発生するべきではなく、 " | ||
| 793 | + "Python の動作に外部から目に見える変化が生じるべきではありません。" | ||
| 781 | 794 | ||
| 782 | 795 | #: ../../howto/clinic.rst:548 | |
| 783 | 796 | msgid "" | |
@@ -1531,8 +1544,8 @@ msgid "" | |||
| 1531 | 1544 | "As an example, here's our sample ``pickle.Pickler.dump`` using the proper " | |
| 1532 | 1545 | "converter::" | |
| 1533 | 1546 | msgstr "" | |
| 1534 | - "例題の ``pickle.Pickler.dump`` 適切な converter を使用したものを以下示しま" | ||
| 1535 | - "す::" | ||
| 1547 | + "例題の ``pickle.Pickler.dump`` に適切な converter を使用したものを以下に示し" | ||
| 1548 | + "ます::" | ||
| 1536 | 1549 | ||
| 1537 | 1550 | #: ../../howto/clinic.rst:883 | |
| 1538 | 1551 | msgid "" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -50,6 +50,10 @@ msgid "" | |||
| 50 | 50 | "an HTTP POST request. The encoding algorithm is not the same as the :" | |
| 51 | 51 | "program:`uuencode` program." | |
| 52 | 52 | msgstr "" | |
| 53 | + ":rfc:`4648` エンコーディングは、email で安全に送信したり、 URL の一部として" | ||
| 54 | + "使ったり、あるいは HTTP POST リクエストの一部に含めるために用いるのに適してい" | ||
| 55 | + "ます。このエンコーディングで使われているアルゴリズムは :program:`uuencode` プ" | ||
| 56 | + "ログラムで用いられているものとは同じではありません。" | ||
| 53 | 57 | ||
| 54 | 58 | #: ../../library/base64.rst:27 | |
| 55 | 59 | msgid "" | |
@@ -59,6 +63,11 @@ msgid "" | |||
| 59 | 63 | "or strings containing ASCII to :class:`bytes`. Both base-64 alphabets " | |
| 60 | 64 | "defined in :rfc:`4648` (normal, and URL- and filesystem-safe) are supported." | |
| 61 | 65 | msgstr "" | |
| 66 | + "このモジュールは、2つのインターフェースを提供します。このモダンなインター" | ||
| 67 | + "フェースは、:term:`bytes-like object` を ASCII :class:`bytes` にエンコード" | ||
| 68 | + "し、:term:`bytes-like object` か ASCII 文字列を、:class:`bytes` にデコードす" | ||
| 69 | + "ることができます。:rfc:`4648` に定義されている base-64 アルファベット (一般" | ||
| 70 | + "の、URL あるいはファイルシステムセーフなもの) の両方が使用できます。" | ||
| 62 | 71 | ||
| 63 | 72 | #: ../../library/base64.rst:33 | |
| 64 | 73 | msgid "" | |
@@ -113,6 +122,11 @@ msgid "" | |||
| 113 | 122 | "strings. The default is ``None``, for which the standard Base64 alphabet is " | |
| 114 | 123 | "used." | |
| 115 | 124 | msgstr "" | |
| 125 | + "オプション引数 *altchars* は長さ 2 の :term:`bytes-like object` で 、``+`` " | ||
| 126 | + "と ``/`` の代わりに使われる代替アルファベットを指定します。これにより、アプリ" | ||
| 127 | + "ケーションはたとえば URL やファイルシステムの影響を受けない Base64 文字列を生" | ||
| 128 | + "成できます。デフォルトは ``None`` で、標準の Base64 アルファベットが使われま" | ||
| 129 | + "す。" | ||
| 116 | 130 | ||
| 117 | 131 | #: ../../library/base64.rst:61 | |
| 118 | 132 | msgid "" | |
@@ -135,6 +149,9 @@ msgid "" | |||
| 135 | 149 | "length 2 which specifies the alternative alphabet used instead of the ``+`` " | |
| 136 | 150 | "and ``/`` characters." | |
| 137 | 151 | msgstr "" | |
| 152 | + "オプション引数の *altchars* は長さ 2 の :term:`bytes-like object` または " | ||
| 153 | + "ASCII 文字列で、``+`` と ``/`` の代わりに使われる代替アルファベットを指定しま" | ||
| 154 | + "す。" | ||
| 138 | 155 | ||
| 139 | 156 | #: ../../library/base64.rst:74 | |
| 140 | 157 | msgid "" | |
@@ -235,6 +252,13 @@ msgid "" | |||
| 235 | 252 | "purposes the default is ``None``, so that 0 and 1 are not allowed in the " | |
| 236 | 253 | "input." | |
| 237 | 254 | msgstr "" | |
| 255 | + ":rfc:`4648` は付加的なマッピングとして、数字の 0 (零) をアルファベットの O " | ||
| 256 | + "(オー) に、数字の 1 (壱) をアルファベットの I (アイ) または L (エル) に対応さ" | ||
| 257 | + "せることを許しています。オプション引数は *map01* は、 ``None`` でないときは、" | ||
| 258 | + "数字の 1 をどの文字に対応づけるかを指定します (*map01* が ``None`` でないと" | ||
| 259 | + "き、数字の 0 はつねにアルファベットの O (オー) に対応づけられます)。セキュリ" | ||
| 260 | + "ティ上の理由により、これはデフォルトでは ``None`` になっているため、 0 およ" | ||
| 261 | + "び 1 は入力として許可されていません。" | ||
| 238 | 262 | ||
| 239 | 263 | #: ../../library/base64.rst:137 ../../library/base64.rst:178 | |
| 240 | 264 | msgid "" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -206,6 +206,11 @@ msgid "" | |||
| 206 | 206 | "use as a checksum algorithm, it is not suitable for use as a general hash " | |
| 207 | 207 | "algorithm. Use as follows::" | |
| 208 | 208 | msgstr "" | |
| 209 | + "符号無し 32 ビットチェックサムである CRC-32 を *data* に対して計算します。 " | ||
| 210 | + "crc の初期値は *value* です。デフォルトの CRC の初期値はゼロです。このアルゴ" | ||
| 211 | + "リズムは ZIP ファイルのチェックサムと同じです。このアルゴリズムはチェックサム" | ||
| 212 | + "アルゴリズムとして設計されたもので、一般的なハッシュアルゴリズムには向きませ" | ||
| 213 | + "ん。以下のようにして使います::" | ||
| 209 | 214 | ||
| 210 | 215 | #: ../../library/binascii.rst:150 | |
| 211 | 216 | msgid "" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -42,10 +42,10 @@ msgstr "" | |||
| 42 | 42 | "このモジュールは、循環ガベージコレクタの無効化・検出頻度の調整・デバッグオブ" | |
| 43 | 43 | "ションの設定などを行うインターフェースを提供します。また、検出した到達不能オ" | |
| 44 | 44 | "ブジェクトのうち、解放する事ができないオブジェクトを参照する事もできます。循" | |
| 45 | - "環ガベージコレクタはPyhonの参照カウントを補うためのものなので、もしプログラム" | ||
| 46 | - "中で循環参照が発生しない事が明らかな場合には検出をする必要はありません。自動" | ||
| 47 | - "検出は、 ``gc.disable()`` で停止する事ができます。メモリリークをデバッグする" | ||
| 48 | - "ときには、 ``gc.set_debug(gc.DEBUG_LEAK)`` とします。これは ``gc." | ||
| 45 | + "環ガベージコレクタはPythonの参照カウントを補うためのものなので、もしプログラ" | ||
| 46 | + "ム中で循環参照が発生しない事が明らかな場合には検出をする必要はありません。自" | ||
| 47 | + "動検出は、 ``gc.disable()`` で停止する事ができます。メモリリークをデバッグす" | ||
| 48 | + "るときには、 ``gc.set_debug(gc.DEBUG_LEAK)`` とします。これは ``gc." | ||
| 49 | 49 | "DEBUG_SAVEALL`` を含んでいることに注意しましょう。ガベージとして検出されたオ" | |
| 50 | 50 | "ブジェクトは、インスペクション用に gc.garbage に保存されます。" | |
| 51 | 51 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -173,6 +173,8 @@ msgid "" | |||
| 173 | 173 | "This method is called to handle the start tag of an element (e.g. ``<div " | |
| 174 | 174 | "id=\"main\">``)." | |
| 175 | 175 | msgstr "" | |
| 176 | + "このメソッドは要素の開始タグを扱うために呼び出されます (例: ``<div " | ||
| 177 | + "id=\"main\">``)。" | ||
| 176 | 178 | ||
| 177 | 179 | #: ../../library/html.parser.rst:131 | |
| 178 | 180 | msgid "" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -667,6 +667,8 @@ msgstr "" | |||
| 667 | 667 | msgid "" | |
| 668 | 668 | "`maildir man page from Courier <https://www.courier-mta.org/maildir.html>`_" | |
| 669 | 669 | msgstr "" | |
| 670 | + "`Courier の maildir マニュアルページ <https://www.courier-mta.org/maildir." | ||
| 671 | + "html>`_" | ||
| 670 | 672 | ||
| 671 | 673 | #: ../../library/mailbox.rst:430 | |
| 672 | 674 | msgid "" | |
@@ -962,7 +964,7 @@ msgstr "" | |||
| 962 | 964 | ||
| 963 | 965 | #: ../../library/mailbox.rst:618 | |
| 964 | 966 | msgid "`nmh - Message Handling System <https://www.nongnu.org/nmh/>`_" | |
| 965 | - msgstr "" | ||
| 967 | + msgstr "`nmh - Message Handling System <https://www.nongnu.org/nmh/>`_" | ||
| 966 | 968 | ||
| 967 | 969 | #: ../../library/mailbox.rst:618 | |
| 968 | 970 | msgid "" | |
@@ -2238,6 +2240,10 @@ msgid "" | |||
| 2238 | 2240 | "that another program already holds a lock, or when a uniquely generated file " | |
| 2239 | 2241 | "name already exists." | |
| 2240 | 2242 | msgstr "" | |
| 2243 | + "メールボックスに関係したある条件がプログラムの制御を外れてそれ以上作業を続け" | ||
| 2244 | + "られなくなった場合、たとえば他のプログラムが既に保持しているロックを取得しよ" | ||
| 2245 | + "うとして失敗したとき、あるいは一意的に生成されたファイル名が既に存在していた" | ||
| 2246 | + "場合などに送出されます。" | ||
| 2241 | 2247 | ||
| 2242 | 2248 | #: ../../library/mailbox.rst:1519 | |
| 2243 | 2249 | msgid "" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -361,7 +361,7 @@ msgstr "``'macosx'``" | |||
| 361 | 361 | ||
| 362 | 362 | #: ../../library/webbrowser.rst:146 | |
| 363 | 363 | msgid ":class:`MacOSXOSAScript('default')`" | |
| 364 | - msgstr "" | ||
| 364 | + msgstr ":class:`MacOSXOSAScript('default')`" | ||
| 365 | 365 | ||
| 366 | 366 | #: ../../library/webbrowser.rst:146 ../../library/webbrowser.rst:148 | |
| 367 | 367 | msgid "\\(3)" | |
@@ -373,7 +373,7 @@ msgstr "``'safari'``" | |||
| 373 | 373 | ||
| 374 | 374 | #: ../../library/webbrowser.rst:148 | |
| 375 | 375 | msgid ":class:`MacOSXOSAScript('safari')`" | |
| 376 | - msgstr "" | ||
| 376 | + msgstr ":class:`MacOSXOSAScript('safari')`" | ||
| 377 | 377 | ||
| 378 | 378 | #: ../../library/webbrowser.rst:150 | |
| 379 | 379 | msgid "``'google-chrome'``" | |
@@ -432,7 +432,7 @@ msgstr "Windowsプラットフォームのみ。" | |||
| 432 | 432 | ||
| 433 | 433 | #: ../../library/webbrowser.rst:172 | |
| 434 | 434 | msgid "Only on macOS platform." | |
| 435 | - msgstr "" | ||
| 435 | + msgstr "macOS プラットフォームのみ。" | ||
| 436 | 436 | ||
| 437 | 437 | #: ../../library/webbrowser.rst:174 | |
| 438 | 438 | msgid "Support for Chrome/Chromium has been added." | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -251,6 +251,10 @@ msgid "" | |||
| 251 | 251 | "otherwise it is set to ``\"no\"``. Not stating the argument will omit the " | |
| 252 | 252 | "declaration from the document." | |
| 253 | 253 | msgstr "" | |
| 254 | + "同様に、*standalone* 引数を明示的に指定すると、スタンドアロン文書宣言がXMLの" | ||
| 255 | + "プロローグに追加されます。値が ``True`` の場合、``standalone=\"yes\"`` が追加" | ||
| 256 | + "され、それ以外の場合 ``\"no\"`` が設定されます。引数を指定しない場合は文書か" | ||
| 257 | + "ら宣言が省略されます。" | ||
| 254 | 258 | ||
| 255 | 259 | #: ../../library/xml.dom.minidom.rst:155 | |
| 256 | 260 | msgid "" | |
@@ -263,7 +267,7 @@ msgstr "" | |||
| 263 | 267 | #: ../../library/xml.dom.minidom.rst:159 ../../library/xml.dom.minidom.rst:180 | |
| 264 | 268 | #: ../../library/xml.dom.minidom.rst:199 | |
| 265 | 269 | msgid "The *standalone* parameter was added." | |
| 266 | - msgstr "" | ||
| 270 | + msgstr "*standalone* パラメータが追加されました。" | ||
| 267 | 271 | ||
| 268 | 272 | #: ../../library/xml.dom.minidom.rst:164 | |
| 269 | 273 | msgid "" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -966,6 +966,8 @@ msgid "" | |||
| 966 | 966 | "The :func:`tostringlist` function now preserves the attribute order " | |
| 967 | 967 | "specified by the user." | |
| 968 | 968 | msgstr "" | |
| 969 | + ":func:`tostringlist` 関数はユーザーが指定した属性の順序を保持するようになりま" | ||
| 970 | + "した。" | ||
| 969 | 971 | ||
| 970 | 972 | #: ../../library/xml.etree.elementtree.rst:745 | |
| 971 | 973 | msgid "" | |
@@ -1491,6 +1493,8 @@ msgid "" | |||
| 1491 | 1493 | "The :meth:`write` method now preserves the attribute order specified by the " | |
| 1492 | 1494 | "user." | |
| 1493 | 1495 | msgstr "" | |
| 1496 | + ":meth:`write` メソッドはユーザーが指定した属性の順序を保持するようになりまし" | ||
| 1497 | + "た。 " | ||
| 1494 | 1498 | ||
| 1495 | 1499 | #: ../../library/xml.etree.elementtree.rst:1189 | |
| 1496 | 1500 | msgid "This is the XML file that is going to be manipulated::" | |
@@ -1535,6 +1539,10 @@ msgid "" | |||
| 1535 | 1539 | "structure. You can use this class to build an element structure using a " | |
| 1536 | 1540 | "custom XML parser, or a parser for some other XML-like format." | |
| 1537 | 1541 | msgstr "" | |
| 1542 | + "汎用の要素構造ビルダー。これは start, data, end, comment, pi のメソッド呼び出" | ||
| 1543 | + "しの列を整形式の要素構造に変換します。このクラスを使うと、好みの XML 構文解析" | ||
| 1544 | + "器、または他の XML に似た形式の構文解析器を使って、要素構造を作り出すことがで" | ||
| 1545 | + "きます。" | ||
| 1538 | 1546 | ||
| 1539 | 1547 | #: ../../library/xml.etree.elementtree.rst:1248 | |
| 1540 | 1548 | msgid "" | |
@@ -1689,6 +1697,13 @@ msgid "" | |||
| 1689 | 1697 | "building a tree structure. This is an example of counting the maximum depth " | |
| 1690 | 1698 | "of an XML file::" | |
| 1691 | 1699 | msgstr "" | |
| 1700 | + ":meth:`XMLParser.feed` は *target* の ``start(tag, attrs_dict)`` メソッドをそ" | ||
| 1701 | + "れぞれの開始タグに対して呼び、また ``end(tag)`` メソッドを終了タグに対して呼" | ||
| 1702 | + "び、そしてデータを ``data(data)`` メソッドで処理します。サポートされているそ" | ||
| 1703 | + "の他のコールバックメソッドについては、 :class:`TreeBuilder` クラスを参照して" | ||
| 1704 | + "ください。:meth:`XMLParser.close` は *target* の ``close()`` メソッドを呼びま" | ||
| 1705 | + "す。 :class:`XMLParser` は木構造を構築する以外にも使えます。以下の例では、" | ||
| 1706 | + "XML ファイルの最高の深さを数えます。" | ||
| 1692 | 1707 | ||
| 1693 | 1708 | #: ../../library/xml.etree.elementtree.rst:1417 | |
| 1694 | 1709 | msgid "XMLPullParser Objects" | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -260,6 +260,12 @@ msgid "" | |||
| 260 | 260 | "isn't as efficient as the exponential case but it avoids triggering parser " | |
| 261 | 261 | "countermeasures that forbid deeply nested entities." | |
| 262 | 262 | msgstr "" | |
| 263 | + "二次爆発攻撃 (quadratic blowup attack) はエンティティ展開を悪用する点で " | ||
| 264 | + "`Billion Laughs`_ 攻撃に似ています。\n" | ||
| 265 | + "入れ子になったエンティティの代わりに、この攻撃は数千字の大きなエンティティを" | ||
| 266 | + "何度も繰り返します。\n" | ||
| 267 | + "この攻撃は指数関数的なものほど効率的ではありませんが、パーザの深い入れ子に" | ||
| 268 | + "なったエンティティを禁止する対抗手段をすり抜けます。" | ||
| 263 | 269 | ||
| 264 | 270 | #: ../../library/xml.rst:101 | |
| 265 | 271 | msgid "" | |
| Back | FazBrowse Home | New Git URL |
0 commit comments