8000 [skip ci] Update .po files · python/python-docs-ja@c71fc18 · GitHub
[go: up one dir, main page]

Skip to content

Commit c71fc18

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 466194c commit c71fc18

File tree

14 files changed

+6116
-5923
lines changed

14 files changed

+6116
-5923
lines changed

c-api/init.po

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -574,6 +574,8 @@ msgid ""
574574
"*encoding* and/or *errors* may be ``NULL`` to use :envvar:`PYTHONIOENCODING`"
575575
" and/or default values (depending on other settings)."
576576
msgstr ""
577+
"*encoding* と *errors* のどちらかまたは両方を ``NULL`` にすることで、 "
578+
":envvar:`PYTHONIOENCODING` とデフォルト値のどちらかまたは両方を使うことができます (他の設定に依存します)。"
577579

578580
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/init.rst:336
579581
msgid ""
@@ -1252,6 +1254,8 @@ msgid ""
12521254
"``NULL``). If the lock has been created, the current thread must have "
12531255
"acquired it."
12541256
msgstr ""
1257+
"(GIL が生成されている場合) GILを解放して、スレッドの状態を ``NULL`` にし、以前のスレッド状態 (``NULL`` にはなりません) を返します。\n"
1258+
"ロックがすでに生成されている場合、現在のスレッドがロックを獲得していなければなりません。"
12551259

12561260
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/init.rst:882
12571261
msgid ""
@@ -1260,6 +1264,8 @@ msgid ""
12601264
"created, the current thread must not have acquired it, otherwise deadlock "
12611265
"ensues."
12621266
msgstr ""
1267+
"(GIL が生成されている場合) GIL を獲得して、現在のスレッド状態を *tstate* に設定します。 *tstate* は ``NULL`` "
1268+
"であってはなりません。 GIL が生成されていて、この関数を呼び出したスレッドがすでにロックを獲得している場合、デッドロックに陥ります。"
12631269

12641270
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/init.rst:888
12651271
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/init.rst:934
@@ -1518,6 +1524,8 @@ msgid ""
15181524
"this function returns ``NULL`` then no exception has been raised and the "
15191525
"caller should assume no interpreter-specific dict is available."
15201526
msgstr ""
1527+
"インタプリタ固有のデータを保持している辞書を返します。\n"
1528+
"この関数が ``NULL`` を返した場合は、ここまでで例外は送出されておらず、呼び出し側はインタプリタ固有の辞書は利用できないと考えなければなりません。"
15211529

15221530
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/init.rst:1073
15231531
msgid ""

c-api/intro.po

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,8 @@ msgid ""
144144
"future Python versions, which may define additional names beginning with one"
145145
" of these prefixes."
146146
msgstr ""
147+
"API のユーザは、``Py`` や ``_Py`` で始まる名前を定義するコードを絶対に書いてはなりません。\n"
148+
"後からコードを読む人を混乱させたり、将来の Python のバージョンで同じ名前が定義されて、ユーザの書いたコードの可搬性を危うくする可能性があります。"
147149

148150
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/intro.rst:79
149151
msgid ""
@@ -271,7 +273,7 @@ msgstr "以下はプログラム例です::"
271273

272274
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/intro.rst:174
273275
msgid "MSVC support was added."
274-
msgstr ""
276+
msgstr "MSVC サポートが追加されました。"
275277

276278
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/intro.rst:181
277279
msgid "Objects, Types and Reference Counts"
@@ -400,6 +402,9 @@ msgid ""
400402
"from a :c:func:`Py_DECREF`, so almost any operation is potentially "
401403
"dangerous."
402404
msgstr ""
405+
"しかしながら、よく陥る過ちとして、あるオブジェクトをリストから得たときに、参照カウントをインクリメントせずにしばらく放っておくというのがあります。他の操作がオブジェクトをリストから除去してしまい、参照カウントがデクリメントされてデアロケートされてしまうことが考えられます。本当に危険なのは、まったく無害そうにみえる操作が、上記の動作を引き起こす何らかの"
406+
" Python コードを呼び出しかねないということです; :c:func:`Py_DECREF` "
407+
"からユーザへ制御を戻せるようなコードパスが存在するため、ほとんど全ての操作が潜在的に危険をはらむことになります。"
403408

404409
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/intro.rst:260
405410
msgid ""

c-api/long.po

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,9 @@ msgid ""
197197
":meth:`__int__` method (if present) to convert it to a "
198198
":c:type:`PyLongObject`."
199199
msgstr ""
200+
"*obj* が表す、Cの :c:type:`long` 表現を返します。もし *obj* が :c:type:`PyLongObject` "
201+
"のインスタンスでなければ、まず、その :meth:`__index__` メソッドあるいは :meth:`__int__` メソッドを (もしあれば) "
202+
"呼び出して、オブジェクトを :c:type:`PyLongObject` に変換します。"
200203

201204
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:138
202205
msgid ""
@@ -231,7 +234,7 @@ msgstr "可能であれば :meth:`__index__` を使うようになりました
231234
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:297
232235
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:317
233236
msgid "Using :meth:`__int__` is deprecated."
234-
msgstr ""
237+
msgstr ":meth:`__int__` の使用は非推奨です。"
235238

236239
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:157
237240
msgid ""
@@ -253,6 +256,8 @@ msgid ""
253256
":meth:`__int__` method (if present) to convert it to a "
254257
":c:type:`PyLongObject`."
255258
msgstr ""
259+
"*obj* が表す、Cの :c:type:`long long` 表現を返します。\n"
260+
"もし *obj* が :c:type:`PyLongObject` のインスタンスでなければ、まず、その :meth:`__index__` メソッドあるいは :meth:`__int__` メソッドを (もしあれば) 呼び出して、オブジェクトを :c:type:`PyLongObject` に変換します。"
256261

257262
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:181
258263
msgid ""
@@ -373,6 +378,8 @@ msgid ""
373378
":meth:`__int__` method (if present) to convert it to a "
374379
":c:type:`PyLongObject`."
375380
msgstr ""
381+
"*obj* が表す、Cの :c:type:`unsigned long` 表現を返します。\n"
382+
"もし *obj* が :c:type:`PyLongObject` のインスタンスでなければ、まず、その :meth:`__index__` メソッドあるいは :meth:`__int__` メソッドを (もしあれば) 呼び出して、オブジェクトを :c:type:`PyLongObject` に変換します。"
376383

377384
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:288
378385
msgid ""
@@ -397,6 +404,8 @@ msgid ""
397404
":meth:`__index__` or :meth:`__int__` method (if present) to convert it to a "
398405
":c:type:`PyLongObject`."
399406
msgstr ""
407+
"*obj* が表す、Cの :c:type:`unsigned long long` 表現を返します。\n"
408+
"もし *obj* が :c:type:`PyLongObject` のインスタンスでなければ、まず、その :meth:`__index__` メソッドあるいは :meth:`__int__` メソッドを (もしあれば) 呼び出して、オブジェクトを :c:type:`PyLongObject` に変換します。"
400409

401410
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:308
402411
msgid ""

c-api/memory.po

Lines changed: 29 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -491,93 +491,95 @@ msgstr "名前"
491491

492492
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:340
493493
msgid "PyMem_RawMalloc"
494-
msgstr ""
494+
msgstr "PyMem_RawMalloc"
495495

496496
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:340
497497
msgid "PyMem_Malloc"
498-
msgstr ""
498+
msgstr "PyMem_Malloc"
499499

500500
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:340
501501
msgid "PyObject_Malloc"
502-
msgstr ""
502+
msgstr "PyObject_Malloc"
503503

504504
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:342
505505
msgid "Release build"
506-
msgstr ""
506+
msgstr "リリースビルド"
507507

508508
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:342
509509
msgid "``\"pymalloc\"``"
510-
msgstr ""
510+
msgstr "``\"pymalloc\"``"
511511

512512
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:342
513513
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:344
514514
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:344
515515
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:344
516516
msgid "``malloc``"
517-
msgstr ""
517+
msgstr "``malloc``"
518518

519519
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:342
520520
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:342
521521
msgid "``pymalloc``"
522-
msgstr ""
522+
msgstr "``pymalloc``"
523523

524524
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:343
525525
msgid "Debug build"
526-
msgstr ""
526+
msgstr "デバッグビルド"
527527

528528
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:343
529529
msgid "``\"pymalloc_debug\"``"
530-
msgstr ""
530+
msgstr "``\"pymalloc_debug\"``"
531531

532532
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:343
533533
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:345
534534
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:345
535535
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:345
536536
msgid "``malloc`` + debug"
537-
msgstr ""
537+
msgstr "``malloc`` + debug"
538538

539539
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:343
540540
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:343
541541
msgid "``pymalloc`` + debug"
542-
msgstr ""
542+
msgstr "``pymalloc`` + debug"
543543

544544
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:344
545545
msgid "Release build, without pymalloc"
546-
msgstr ""
546+
msgstr "pymalloc 無しのリリースビルド"
547547

548548
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:344
549549
msgid "``\"malloc\"``"
550-
msgstr ""
550+
msgstr "``\"malloc\"``"
551551

552552
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:345
553553
msgid "Debug build, without pymalloc"
554-
msgstr ""
554+
msgstr "pymalloc 無しのデバッグビルド"
555555

556556
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:345
557557
msgid "``\"malloc_debug\"``"
558-
msgstr ""
558+
msgstr "``\"malloc_debug\"``"
559559

560560
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:348
561561
msgid "Legend:"
562-
msgstr ""
562+
msgstr "説明:"
563563

564564
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:350
565565
msgid "Name: value for :envvar:`PYTHONMALLOC` environment variable"
566-
msgstr ""
566+
msgstr "名前: :envvar:`PYTHONMALLOC` 環境変数の値"
567567

568568
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:351
569569
msgid ""
570570
"``malloc``: system allocators from the standard C library, C functions: "
571571
":c:func:`malloc`, :c:func:`calloc`, :c:func:`realloc` and :c:func:`free`"
572572
msgstr ""
573+
"``malloc``: 標準 C ライブラリのシステムアロケータ、C 関数: :c:func:`malloc`, :c:func:`calloc`, "
574+
":c:func:`realloc`, :c:func:`free`"
573575

574576
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:353
575577
msgid "``pymalloc``: :ref:`pymalloc memory allocator <pymalloc>`"
576-
msgstr ""
578+
msgstr "``pymalloc``: :ref:`pymalloc メモリアロケータ <pymalloc>`"
577579

578580
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:354
579581
msgid "\"+ debug\": with debug hooks installed by :c:func:`PyMem_SetupDebugHooks`"
580-
msgstr ""
582+
msgstr "\"+ debug\": :c:func:`PyMem_SetupDebugHooks` で設置されるデバッグフックとの組み合わせ"
581583

582584
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:358
583585
msgid "Customize Memory Allocators"
@@ -719,7 +721,7 @@ msgstr "指定されたドメインのメモリブロックアロケータを設
719721
msgid ""
720722
"The new allocator must return a distinct non-``NULL`` pointer when "
721723
"requesting zero bytes."
722-
msgstr ""
724+
msgstr "新しいアロケータは、0バイトを要求されたときユニークな ``NULL`` でないポインタを返さなければなりません。"
723725

724726
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:430
725727
msgid ""
@@ -821,13 +823,19 @@ msgid ""
821823
":c:func:`PyMem_RawMalloc` and :c:func:`PyMem_RawRealloc` for allocations "
822824
"larger than 512 bytes."
823825
msgstr ""
826+
"Python には、寿命の短いの小さな(512バイト以下の)オブジェクトに最適化された *pymalloc* アロケータがあります。 "
827+
"*pymalloc* は、256 KiBの固定サイズの \"アリーナ\" と呼びれるメモリマッピングを使います。512バイトよりも大きな割り当てでは、 "
828+
":c:func:`PyMem_RawMalloc` と :c:func:`PyMem_RawRealloc` にフォールバックします。"
824829

825830
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:492
826831
msgid ""
827832
"*pymalloc* is the :ref:`default allocator <default-memory-allocators>` of "
828833
"the :c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) and "
829834
":c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) domains."
830835
msgstr ""
836+
"*pymalloc* は、:c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) と "
837+
":c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) ドメインの "
838+
":ref:`既定のアロケータ <default-memory-allocators>` です。"
831839

832840
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:496
833841
msgid "The arena allocator uses the following functions:"
@@ -881,7 +889,7 @@ msgstr "アリーナアロケータを設定します。"
881889

882890
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:532
883891
msgid "tracemalloc C API"
884-
msgstr ""
892+
msgstr "tracemalloc C API"
885893

886894
#: /home CC7D /travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:556
887895
msgid "Examples"

c-api/module.po

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -591,6 +591,10 @@ msgid ""
591591
"can be used from the module's initialization function. This steals a "
592592
"reference to *value* on success. Return ``-1`` on error, ``0`` on success."
593593
msgstr ""
594+
"*module* にオブジェクトを *name* として追加します。\n"
595+
"この関数はモジュールの初期化関数から利用される便利関数です。\n"
596+
"この関数は成功したときには *value* への参照を盗みます。\n"
597+
"エラーのときには ``-1`` を、成功したときには ``0`` を返します。"
594598

595599
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/module.rst:424
596600
msgid ""
@@ -698,7 +702,7 @@ msgstr ""
698702

699703
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/module.rst:496
700704
msgid "Return 0 on success or -1 on failure."
701-
msgstr ""
705+
msgstr "成功したら 0 を、失敗したら -1 を返します。"
702706

703707
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/module.rst:502
704708
msgid ""

0 commit comments

Comments
 (0)
0