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

Skip to content

Commit ca8fbba

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 8385ab3 commit ca8fbba

File tree

14 files changed

+5222
-5095
lines changed

14 files changed

+5222
-5095
lines changed

c-api/bytearray.po

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# shirou - しろう <shirou.faw@gmail.com>, 2017
88
# Arihiro TAKASE, 2017
9+
# tomo, 2020
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2019-12-16 12:12+0000\n"
1617
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
17-
"Last-Translator: Arihiro TAKASE, 2017\n"
18+
"Last-Translator: tomo, 2020\n"
1819
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
@@ -72,6 +73,7 @@ msgid ""
7273
"Create a new bytearray object from *string* and its length, *len*. On "
7374
"failure, ``NULL`` is returned."
7475
msgstr ""
76+
"*string* とその長さ *len* から新しい bytearray オブジェクトを返します。失敗した場合は ``NULL`` を返します。"
7577

7678
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/bytearray.rst:56
7779
msgid ""
@@ -80,14 +82,16 @@ msgstr "bytearray *a* と *b* を連結した結果を新しい bytearray とし
8082

8183
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/bytearray.rst:61
8284
msgid "Return the size of *bytearray* after checking for a ``NULL`` pointer."
83-
msgstr ""
85+
msgstr "``NULL`` ポインタチェックの後に *bytearray* のサイズを返します。"
8486

8587
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/bytearray.rst:66
8688
msgid ""
8789
"Return the contents of *bytearray* as a char array after checking for a "
8890
"``NULL`` pointer. The returned array always has an extra null byte "
8991
"appended."
9092
msgstr ""
93+
"``NULL`` ポインタチェックの後に *bytearray* の内容を char 配列として返します。\n"
94+
"返される配列には、常に余分な null バイトが追加されます。"
9195

9296
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/bytearray.rst:73
9397
msgid "Resize the internal buffer of *bytearray* to *len*."

c-api/cell.po

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# Arihiro TAKASE, 2017
8+
# tomo, 2020
89
#
910
#, fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To: \n"
1415
"POT-Creation-Date: 2019-12-16 12:12+0000\n"
1516
"PO-Revision-Date: 2017-02-16 17:33+0000\n"
16-
"Last-Translator: Arihiro TAKASE, 2017\n"
17+
"Last-Translator: tomo, 2020\n"
1718
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1819
"MIME-Version: 1.0\n"
1920
"Content-Type: text/plain; charset=UTF-8\n"
@@ -53,13 +54,15 @@ msgstr "セルオブジェクトに対応する型オブジェクトです。"
5354

5455
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/cell.rst:30
5556
msgid "Return true if *ob* is a cell object; *ob* must not be ``NULL``."
56-
msgstr ""
57+
msgstr "*ob* がセルオブジェクトの場合に真を返します。*ob* は ``NULL`` であってはなりません。"
5758

5859
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/cell.rst:35
5960
msgid ""
6061
"Create and return a new cell object containing the value *ob*. The parameter"
6162
" may be ``NULL``."
6263
msgstr ""
64+
"値 *ob* の入った新たなセルオブジェクトを生成して返します。\n"
65+
"引数を ``NULL`` にしてもかまいません。"
6366

6467
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/cell.rst:41
6568
msgid "Return the contents of the cell *cell*."
@@ -69,7 +72,7 @@ msgstr "*cell* の内容を返します。"
6972
msgid ""
7073
"Return the contents of the cell *cell*, but without checking that *cell* is "
7174
"non-``NULL`` and a cell object."
72-
msgstr ""
75+
msgstr "*cell* の内容を返しますが、*cell* が非 ``NULL`` かつセルオブジェクトであるかどうかはチェックしません。"
7376

7477
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/cell.rst:52
7578
msgid ""
@@ -78,10 +81,17 @@ msgid ""
7881
"*cell* must be non-``NULL``; if it is not a cell object, ``-1`` will be "
7982
"returned. On success, ``0`` will be returned."
8083
msgstr ""
84+
"セルオブジェクト *cell* の内容を *value* に設定します。\n"
85+
"この関数は現在のセルの全ての内容に対する参照を解放します。\n"
86+
"*value* は ``NULL`` でもかまいません。\n"
87+
"*cell* は非 ``NULL`` でなければなりません。*cell* がセルオブジェクトでない場合、``-1`` を返します。\n"
88+
"成功すると ``0`` を返します。"
8189

8290
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/cell.rst:60
8391
msgid ""
8492
"Sets the value of the cell object *cell* to *value*. No reference counts "
8593
"are adjusted, and no checks are made for safety; *cell* must be non-``NULL``"
8694
" and must be a cell object."
8795
msgstr ""
96+
"セルオブジェクト *cell* の値を *value* に設定します。\n"
97+
"参照カウントに対する変更はなく、安全のためのチェックは何も行いません。*cell* は非 ``NULL`` でなければならず、かつセルオブジェクトでなければなりません。"

c-api/codec.po

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#
66
# Translators:
77
# Arihiro TAKASE, 2017
8-
# tomo, 2018
8+
# tomo, 2020
99
#
1010
#, fuzzy
1111
msgid ""
@@ -14,7 +14,7 @@ msgstr ""
1414
"Report-Msgid-Bugs-To: \n"
1515
"POT-Creation-Date: 2019-12-16 12:12+0000\n"
1616
"PO-Revision-Date: 2017-02-16 17:34+0000\n"
17-
"Last-Translator: tomo, 2018\n"
17+
"Last-Translator: tomo, 2020\n"
1818
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1919
"MIME-Version: 1.0\n"
2020
"Content-Type: text/plain; charset=UTF-8\n"
@@ -56,6 +56,10 @@ msgid ""
5656
"may be ``NULL`` to use the default method defined for the codec. Raises a "
5757
":exc:`LookupError` if no encoder can be found."
5858
msgstr ""
59+
"*encoding* に応じて見つかったエンコーダ関数に対して *object* を渡します。\n"
60+
"エラーハンドリングメソッドは *errors* で指定します。\n"
61+
"*errors* は ``NULL`` でもよく、その場合はその codec のデフォルトのメソッドが利用されます。\n"
62+
"エンコーダが見つからなかった場合は :exc:`LookupError` を発生させます。"
5963

6064
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/codec.rst:29
6165
msgid "Generic codec based decoding API."
@@ -68,6 +72,10 @@ msgid ""
6872
"may be ``NULL`` to use the default method defined for the codec. Raises a "
6973
":exc:`LookupError` if no encoder can be found."
7074
msgstr ""
75+
"*encoding* に応じて見つかったデコーダ関数に対して *object* を渡します。\n"
76+
"エラーハンドリングメソッドは *errors* で指定します。\n"
77+
"*errors* は ``NULL`` でもよく、その場合はその codec のデフォルトのメソッドが利用されます。\n"
78+
"デコーダが見つからなかった場合は :exc:`LookupError` を発生させます。"
7179

7280
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/codec.rst:38
7381
msgid "Codec lookup API"
@@ -80,6 +88,8 @@ msgid ""
8088
"mechanism effectively case-insensitive. If no codec is found, a "
8189
":exc:`KeyError` is set and ``NULL`` returned."
8290
msgstr ""
91+
"次の関数では、文字列 *encoding* は全て小文字に変換することで、効率的に、大文字小文字を無視した検索をします。\n"
92+
"コーデックが見つからない場合、 :exc:`KeyError` を設定して ``NULL`` を返します。"
8393

8494
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/codec.rst:47
8595
msgid "Get an encoder function for the given *encoding*."
@@ -155,6 +165,8 @@ msgid ""
155165
"special case ``NULL`` can be passed, in which case the error handling "
156166
"callback for \"strict\" will be returned."
157167
msgstr ""
168+
"*name* で登録されたエラーハンドリングコールバック関数を検索します。\n"
169+
"特別な場合として、``NULL`` が渡された場合、\"strict\" のエラーハンドリングコールバック関数を返します。"
158170

159171
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/codec.rst:100
160172
msgid "Raise *exc* as an exception."

c-api/contextvars.po

Lines changed: 11 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: 2019-12-16 12:12+0000\n"
1515
"PO-Revision-Date: 2018-06-29 21:01+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"
@@ -80,18 +80,27 @@ msgid ""
8080
"Return true if *o* is of type :c:data:`PyContext_Type`. *o* must not be "
8181
"``NULL``. This function always succeeds."
8282
msgstr ""
83+
"*o* が :c:data:`PyContext_Type` の場合に真を返します。\n"
84+
"*o* は ``NULL`` であってはなりません。\n"
85+
"この関数は常に成功します。"
8386

8487
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/contextvars.rst:67
8588
msgid ""
8689
"Return true if *o* is of type :c:data:`PyContextVar_Type`. *o* must not be "
8790
"``NULL``. This function always succeeds."
8891
msgstr ""
92+
"*o* が :c:data:`PyContextVar_Type` の場合に真を返します。\n"
93+
"*o* は ``NULL`` であってはなりません。\n"
94+
"この関数は常に成功します。"
8995

9096
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/contextvars.rst:72
9197
msgid ""
9298
"Return true if *o* is of type :c:data:`PyContextToken_Type`. *o* must not be"
9399
" ``NULL``. This function always succeeds."
94100
msgstr ""
101+
"*o* が :c:data:`PyContextToken_Type` の場合に真を返します。\n"
102+
"*o* は ``NULL`` であってはなりません。\n"
103+
"この関数は常に成功します。"
95104

96105
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/contextvars.rst:76
97106
msgid "Context object management functions:"

c-api/dict.po

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017
99
# 秘湯 <xwhhsprings@gmail.com>, 2017
1010
# Arihiro TAKASE, 2017
11-
# tomo, 2019
11+
# tomo, 2020
1212
#
1313
#, fuzzy
1414
msgid ""
@@ -17,7 +17,7 @@ msgstr ""
1717
"Report-Msgid-Bugs-To: \n"
1818
"POT-Creation-Date: 2019-12-16 12:12+0000\n"
1919
"PO-Revision-Date: 2017-02-16 17:35+0000\n"
20-
"Last-Translator: tomo, 2019\n"
20+
"Last-Translator: tomo, 2020\n"
2121
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2222
"MIME-Version: 1.0\n"
2323
"Content-Type: text/plain; charset=UTF-8\n"
@@ -57,6 +57,8 @@ msgstr "*p* が辞書オブジェクトであり、かつ辞書型のサブク
5757
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:36
5858
msgid "Return a new empty dictionary, or ``NULL`` on failure."
5959
msgstr ""
60+
"空の新たな辞書を返します。\n"
61+
"失敗すると ``NULL`` を返します。"
6062

6163
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:41
6264
msgid ""
@@ -128,6 +130,8 @@ msgid ""
128130
"``NULL`` if the key *key* is not present, but *without* setting an "
129131
"exception."
130132
msgstr ""
133+
"辞書 *p* 内で *key* をキーとするオブジェクトを返します。\n"
134+
"キー *key* が存在しない場合には ``NULL`` を返しますが、例外をセット *しません*。"
131135

132136
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:98
133137
msgid ""
@@ -144,6 +148,9 @@ msgid ""
144148
"Return ``NULL`` **with** an exception set if an exception occurred. Return "
145149
"``NULL`` **without** an exception set if the key wasn't present."
146150
msgstr ""
151+
":c:func:`PyDict_GetItem` の変種で例外を隠しません。\n"
152+
"例外が発生した場合は、例外をセット **した上で** ``NULL`` を返します。\n"
153+
"キーが存在しなかった場合は、例外をセット **せずに** ``NULL`` を返します。"
147154

148155
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:113
149156
msgid ""
@@ -213,6 +220,12 @@ msgid ""
213220
"Its value represents offsets within the internal dictionary structure, and "
214221
"since the structure is sparse, the offsets are not consecutive."
215222
msgstr ""
223+
"辞書 *p* 内の全てのキー/値のペアにわたる反復処理を行います。\n"
224+
"*ppos* が参照している :c:type:`Py_ssize_t` 型は、この関数で反復処理を開始する際に、最初に関数を呼び出すよりも前に ``0`` に初期化しておかなければなりません。この関数は辞書内の各ペアを取り上げるごとに真を返し、全てのペアを取り上げたことが分かると偽を返します。\n"
225+
"パラメーター *pkey* および *pvalue* には、それぞれ辞書の各々のキーと値が埋められた :c:type:`PyObject\\*` 変数を指すポインタか、または ``NULL`` が入ります。\n"
226+
"この関数から返される参照はすべて借用参照になります。\n"
227+
"反復処理中に *ppos* を変更してはなりません。\n"
228+
"この値は内部的な辞書構造体のオフセットを表現しており、構造体はスパースなので、オフセットの値に一貫性がないためです。"
216229

217230
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/dict.rst:169
218231
msgid "For example::"

c-api/float.po

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Translators:
77
# Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017
88
# Arihiro TAKASE, 2017
9-
# tomo, 2019
9+
# tomo, 2020
1010
#
1111
#, fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To: \n"
1616
"POT-Creation-Date: 2019-12-16 12:12+0000\n"
1717
"PO-Revision-Date: 2017-02-16 17:35+0000\n"
18-
"Last-Translator: tomo, 2019\n"
18+
"Last-Translator: tomo, 2020\n"
1919
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -61,11 +61,14 @@ msgid ""
6161
"Create a :c:type:`PyFloatObject` object based on the string value in *str*, "
6262
"or ``NULL`` on failure."
6363
msgstr ""
64+
"*str* の文字列値をもとに :c:type:`PyFloatObject` オブジェクトを生成します。失敗すると ``NULL`` を返します。"
6465

6566
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/float.rst:42
6667
msgid ""
6768
"Create a :c:type:`PyFloatObject` object from *v*, or ``NULL`` on failure."
6869
msgstr ""
70+
"*v* から :c:type:`PyFloatObject` オブジェクトを生成して返します。\n"
71+
"失敗すると ``NULL`` を返します。"
6972

7073
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/float.rst:47
7174
msgid ""
@@ -76,6 +79,9 @@ msgid ""
7679
"This method returns ``-1.0`` upon failure, so one should call "
7780
":c:func:`PyErr_Occurred` to check for errors."
7881
msgstr ""
82+
"*pyfloat* の指す値を、 C の :c:type:`double` 型表現で返します。 *pyfloat* が Python 浮動小数点オブジェクトではなく、かつ :meth:`__float__` メソッドを持っていれば、 *pyfloat* を浮動小数点に変換するためにこのメソッドが最初に呼ばれます。\n"
83+
" ``__float__()`` が定義されていない場合は、 :meth:`__float__` にフォールバックされます。\n"
84+
"このメソッドは失敗した場合 ``-1.0`` を返します。そのため呼び出し元は :c:func:`PyErr_Occurred` を呼んでエラーをチェックすべきです。"
7985

8086
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/float.rst:54
8187
msgid "Use :meth:`__index__` if available."

c-api/gcsupport.po

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Translators:
77
# Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017
88
# Arihiro TAKASE, 2017
9-
# tomo, 2019
9+
# tomo, 2020
1010
#
1111
#, fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To: \n"
1616
"POT-Creation-Date: 2019-12-16 12:12+0000\n"
1717
"PO-Revision-Date: 2017-02-16 17:35+0000\n"
18-
"Last-Translator: tomo, 2019\n"
18+
"Last-Translator: tomo, 2020\n"
1919
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2020
"MIME-Version: 1.0\n"
2121
"Content-Type: text/plain; charset=UTF-8\n"
@@ -104,6 +104,9 @@ msgid ""
104104
"resized object or ``NULL`` on failure. *op* must not be tracked by the "
105105
"collector yet."
106106
msgstr ""
107+
":c:func:`PyObject_NewVar` が確保したオブジェクトのメモリをリサイズします。\n"
108+
"リサイズされたオブジェクトを返します。失敗すると ``NULL`` を返します。\n"
109+
"*op* はコレクタに追跡されていてはなりません。"
107110

108111
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/gcsupport.rst:57
109112
msgid ""
@@ -201,6 +204,11 @@ msgid ""
201204
"object argument. If *visit* returns a non-zero value that value should be "
202205
"returned immediately."
203206
msgstr ""
207+
"コンテナオブジェクトのためのトラバーサル関数 (traversal function) です。\n"
208+
"実装では、*self* に直接入っている各オブジェクトに対して *visit* 関数を呼び出さなければなりません。\n"
209+
"このとき、*visit* へのパラメタはコンテナに入っている各オブジェクトと、このハンドラに渡された *arg* の値です。\n"
210+
"*visit* 関数は ``NULL`` オブジェクトを引数に渡して呼び出してはなりません。\n"
211+
"*visit* が非ゼロの値を返す場合、エラーが発生し、戻り値をそのまま返すようにしなければなりません。"
204212

205213
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/gcsupport.rst:117
206214
msgid ""
@@ -219,12 +227,17 @@ msgid ""
219227
"*arg*. If *visit* returns a non-zero value, then return it. Using this "
220228
"macro, :c:member:`~PyTypeObject.tp_traverse` handlers look like::"
221229
msgstr ""
230+
"*o* が ``NULL`` でなければ、 *o* と *arg* を引数にして *visit* コールバックを呼び出します。\n"
231+
"*visit* がゼロでない値を返した場合、その値を返します。\n"
232+
"このマクロを使うと、 :c:member:`~PyTypeObject.tp_traverse` ハンドラは次のようになります::"
222233

223234
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/gcsupport.rst:137
224235
msgid ""
225236
"The :c:member:`~PyTypeObject.tp_clear` handler must be of the "
226237
":c:type:`inquiry` type, or ``NULL`` if the object is immutable."
227238
msgstr ""
239+
":c:member:`~PyTypeObject.tp_clear` ハンドラは :c:type:`inquiry` 型であるか、オブジェクトが不変 "
240+
"(immutable) な場合は ``NULL`` でなければなりません。"
228241

229242
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/gcsupport.rst:143
230243
msgid ""

0 commit comments

Comments
 (0)
0