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

Skip to content

Commit e7ffa24

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 9ea56ac commit e7ffa24

File tree

10 files changed

+214
-35
lines changed

10 files changed

+214
-35
lines changed

c-api/arg.po

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -811,6 +811,9 @@ msgid ""
811811
"call, the *object* parameter will be ``NULL``; *address* will have the same "
812812
"value as in the original call."
813813
msgstr ""
814+
"もし *converter* が ``Py_CLEANUP_SUPPORTED`` "
815+
"を返すと、引数のパースが失敗した際に、コンバーターをもう一度呼び出し、すでに割り当てたメモリを開放するチャンスを与えます。二度目の呼び出しでは "
816+
"*object* 引数は ``NULL`` になり、*address* は最初の呼び出しと同じ値になります。"
814817

815818
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/arg.rst:351
816819
msgid "``Py_CLEANUP_SUPPORTED`` was added."

c-api/buffer.po

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,8 @@ msgid ""
234234
":func:`struct.calcsize` called on non-``NULL`` :c:member:`~Py_buffer.format`"
235235
" values."
236236
msgstr ""
237+
"要素一つ分のbyte単位のサイズ。\n"
238+
":func:`struct.calcsize` を非 ``NULL`` の :c:member:`~Py_buffer.format` 値に対して呼び出した結果と同じです。"
237239

238240
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/buffer.rst:135
239241
msgid ""
@@ -361,6 +363,7 @@ msgid ""
361363
"If all suboffsets are negative (i.e. no de-referencing is needed), then this"
362364
" field must be ``NULL`` (the default value)."
363365
msgstr ""
366+
"全ての suboffset が負数の場合 (つまり参照解決が不要) な場合、このフィールドは ``NULL`` (デフォルト値) でなければなりません。"
364367

365368
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/buffer.rst:204
366369
msgid ""
@@ -721,6 +724,8 @@ msgid ""
721724
"pointed to by an N-dimensional index when there are both non-``NULL`` "
722725
"strides and suboffsets::"
723726
msgstr ""
727+
"次の例は、 strides も suboffsets も ``NULL`` でない場合の、N 次元インデックスによって指されている N "
728+
"次元配列内の要素へのポインタを返す関数です::"
724729

725730
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/buffer.rst:428
726731
msgid "Buffer-related functions"
@@ -824,6 +829,9 @@ msgid ""
824829
"*order* can be ``'C'`` or ``'F'`` or ``'A'`` (for C-style or Fortran-style "
825830
"ordering or either one). ``0`` is returned on success, ``-1`` on error."
826831
msgstr ""
832+
"*src* から *len* バイトを連続表現で *buf* 上にコピーします。\n"
833+
"*order* は ``'C'`` または ``'F'`` または ``'A'`` (C スタイル順序または Fortran スタイル順序またはそれ以外) が指定できます。\n"
834+
"成功したら ``0`` が返り、エラーなら ``-1`` が返ります。"
827835

828836
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/buffer.rst:497
829837
msgid "This function fails if *len* != *src->len*."
@@ -872,3 +880,5 @@ msgid ""
872880
" *exporter* MUST be set to the exporting object and *flags* must be passed "
873881
"unmodified. Otherwise, *exporter* MUST be ``NULL``."
874882
msgstr ""
883+
"この関数を :ref:`getbufferproc <buffer-structs>` の一部として使う場合には、 *exporter* はエクスポートするオブジェクトに設定しなければならず、さらに *flags* は変更せずに渡さなければなりません。\n"
884+
"そうでない場合は、 *exporter* は ``NULL`` でなければなりません。"

c-api/init.po

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

564566
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/init.rst:333
565567
msgid ""

c-api/intro.po

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

144146
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/intro.rst:79
145147
msgid ""

c-api/long.po

Lines changed: 24 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# tomo, 2019
7+
# tomo, 2020
88
#
99
#, fuzzy
1010
msgid ""
@@ -13,7 +13,7 @@ msgstr ""
1313
"Report-Msgid-Bugs-To: \n"
1414
"POT-Creation-Date: 2020-01-22 04:37+0000\n"
1515
"PO-Revision-Date: 2019-09-01 03:38+0000\n"
16-
"Last-Translator: tomo, 2019\n"
16+
"Last-Translator: tomo, 2020\n"
1717
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -68,6 +68,7 @@ msgstr ""
6868
msgid ""
6969
"Return a new :c:type:`PyLongObject` object from *v*, or ``NULL`` on failure."
7070
msgstr ""
71+
"*v* から新たな :c:type:`PyLongObject` オブジェクトを生成して返します。失敗のときには ``NULL`` を返します。"
7172

7273
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:43
7374
msgid ""
@@ -86,36 +87,47 @@ msgid ""
8687
"Return a new :c:type:`PyLongObject` object from a C :c:type:`unsigned long`,"
8788
" or ``NULL`` on failure."
8889
msgstr ""
90+
"Cの :c:type:`unsigned long` から新たな :c:type:`PyLongObject` "
91+
"オブジェクトを生成して返します。失敗した際には ``NULL`` を返します。"
8992

9093
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:58
9194
msgid ""
9295
"Return a new :c:type:`PyLongObject` object from a C :c:type:`Py_ssize_t`, or"
9396
" ``NULL`` on failure."
9497
msgstr ""
98+
"C の :c:type:`Py_ssize_t` 型から新たな :c:type:`PyLongObject` オブジェクトを生成して返します。 "
99+
"失敗のときには ``NULL`` を返します。"
95100

96101
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:64
97102
msgid ""
98103
"Return a new :c:type:`PyLongObject` object from a C :c:type:`size_t`, or "
99104
"``NULL`` on failure."
100105
msgstr ""
106+
"C の :c:type:`size_t` 型から新たな :c:type:`PyLongObject` オブジェクトを生成して返します。 失敗のときには "
107+
"``NULL`` を返します。"
101108

102109
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:70
103110
msgid ""
104111
"Return a new :c:type:`PyLongObject` object from a C :c:type:`long long`, or "
105112
"``NULL`` on failure."
106113
msgstr ""
114+
"C の :c:type:`long long` 型から新たな :c:type:`PyLongObject` "
115+
"オブジェクトを生成して返します。失敗のときには ``NULL`` を返します。"
107116

108117
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:76
109118
msgid ""
110119
"Return a new :c:type:`PyLongObject` object from a C :c:type:`unsigned long "
111120
"long`, or ``NULL`` on failure."
112121
msgstr ""
122+
"C の :c:type:`unsigned long long` 型から新たな :c:type:`PyLongObject` "
123+
"オブジェクトを生成して返します。失敗のときには ``NULL`` を返します。"
113124

114125
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:82
115126
msgid ""
116127
"Return a new :c:type:`PyLongObject` object from the integer part of *v*, or "
117128
"``NULL`` on failure."
118129
msgstr ""
130+
"*v* の整数部から新たな :c:type:`PyLongObject` オブジェクトを生成して返します。失敗のときには ``NULL`` を返します。"
119131

120132
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:88
121133
msgid ""
@@ -129,6 +141,13 @@ msgid ""
129141
"and single underscores after a base specifier and between digits are "
130142
"ignored. If there are no digits, :exc:`ValueError` will be raised."
131143
msgstr ""
144+
"*str* の文字列値に基づいて、新たな :c:type:`PyLongObject` を返します。\n"
145+
"このとき *base* を基数として文字列を解釈します。\n"
146+
"*pend* が ``NULL`` でない場合は、 *\\*pend* は *str* 中で数が表現されている部分以降の先頭文字のアドレスを指しています。\n"
147+
"*base* が ``0`` の場合は、 *str* は :ref:`integers` の定義を使って解釈されます; この場合では、先頭に 0 がある 0 でない十進数は :exc:`ValueError` を送出します。\n"
148+
"*base* が ``0`` でなければ、 *base* は ``2`` 以上 ``36`` 以下の数でなければなりません。\n"
149+
"先頭の空白、基数の指定の後や数字の間にある単一のアンダースコアは無視されます。\n"
150+
"数字が全くない場合、 :exc:`ValueError` が送出されます。"
132151

133152
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:101
134153
msgid ""
@@ -224,6 +243,7 @@ msgid ""
224243
"Raise :exc:`OverflowError` if the value of *obj* is out of range for a "
225244
":c:type:`long long`."
226245
msgstr ""
246+
"もし *obj* の値が :c:type:`long long` の範囲外であれば、 :exc:`OverflowError` を送出します。"
227247

228248
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/long.rst:178
229249
msgid ""
@@ -419,3 +439,5 @@ msgstr ""
419439
msgid ""
420440
"Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
421441
msgstr ""
442+
"エラーが起きたときに ``NULL`` を返します。\n"
443+
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"

c-api/memory.po

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

486486
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:340
487487
msgid "PyMem_RawMalloc"
488-
msgstr ""
488+
msgstr "PyMem_RawMalloc"
489489

490490
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:340
491491
msgid "PyMem_Malloc"
492-
msgstr ""
492+
msgstr "PyMem_Malloc"
493493

494494
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:340
495495
msgid "PyObject_Malloc"
496-
msgstr ""
496+
msgstr "PyObject_Malloc"
497497

498498
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:342
499499
msgid "Release build"
500-
msgstr ""
500+
msgstr "リリースビルド"
501501

502502
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:342
503503
msgid "``\"pymalloc\"``"
504-
msgstr ""
504+
msgstr "``\"pymalloc\"``"
505505

506506
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:342
507507
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:344
508508
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:344
509509
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:344
510510
msgid "``malloc``"
511-
msgstr ""
511+
msgstr "``malloc``"
512512

513513
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:342
514514
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:342
515515
msgid "``pymalloc``"
516-
msgstr ""
516+
msgstr "``pymalloc``"
517517

518518
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:343
519519
msgid "Debug build"
520-
msgstr ""
520+
msgstr "デバッグビルド"
521521

522522
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:343
523523
msgid "``\"pymalloc_debug\"``"
524-
msgstr ""
524+
msgstr "``\"pymalloc_debug\"``"
525525

526526
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:343
527527
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:345
528528
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:345
529529
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:345
530530
msgid "``malloc`` + debug"
531-
msgstr ""
531+
msgstr "``malloc`` + debug"
532532

533533
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:343
534534
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:343
535535
msgid "``pymalloc`` + debug"
536-
msgstr ""
536+
msgstr "``pymalloc`` + debug"
537537

538538
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:344
539539
msgid "Release build, without pymalloc"
540-
msgstr ""
540+
msgstr "pymalloc 付きのリリースビルド"
541541

542542
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:344
543543
msgid "``\"malloc\"``"
544-
msgstr ""
544+
msgstr "``\"malloc\"``"
545545

546546
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:345
547547
msgid "Debug build, without pymalloc"
548-
msgstr ""
548+
msgstr "pymalloc"
549549

550550
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:345
551551
msgid "``\"malloc_debug\"``"
552-
msgstr ""
552+
msgstr "``\"malloc_debug\"``"
553553

554554
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:348
555555
msgid "Legend:"
556-
msgstr ""
556+
msgstr "凡例:"
557557

558558
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:350
559559
msgid "Name: value for :envvar:`PYTHONMALLOC` environment variable"
560-
msgstr ""
560+
msgstr "名前: "
561561

562562
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:351
563563
msgid ""
564564
"``malloc``: system allocators from the standard C library, C functions: "
565565
":c:func:`malloc`, :c:func:`calloc`, :c:func:`realloc` and :c:func:`free`"
566566
msgstr ""
567+
"``malloc``: 標準 C ライブラリのシステムアロケータ、C 関数: :c:func:`malloc`, :c:func:`calloc`, "
568+
":c:func:`realloc`, :c:func:`free`"
567569

568570
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:353
569571
msgid "``pymalloc``: :ref:`pymalloc memory allocator <pymalloc>`"
570-
msgstr ""
572+
msgstr "``pymalloc``: :ref:`pymalloc メモリアロケータ <pymalloc>`"
571573

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

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

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

819824
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:492
820825
msgid ""
821826
"*pymalloc* is the :ref:`default allocator <default-memory-allocators>` of "
822827
"the :c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) and "
823828
":c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) domains."
824829
msgstr ""
830+
"*pymalloc* は、:c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) と "
831+
":c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) ドメインの "
832+
":ref:`既定のアロケータ <default-memory-allocators>` です。"
825833

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

876884
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/memory.rst:532
877885
msgid "tracemalloc C API"
878-
msgstr ""
886+
msgstr "tracemalloc C API"
879887

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

0 commit comments

Comments
 (0)
0