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

Skip to content

Commit 1fe8440

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 2fa96ec commit 1fe8440

File tree

11 files changed

+5181
-5090
lines changed

11 files changed

+5181
-5090
lines changed

c-api/bytes.po

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
# 秘湯 <xwhhsprings@gmail.com>, 2017
99
# Osamu NAKAMURA, 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: 2020-01-01 12:19+0000\n"
1919
"PO-Revision-Date: 2017-02-16 17:33+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"
@@ -67,13 +67,17 @@ msgid ""
6767
" and ``NULL`` on failure. The parameter *v* must not be ``NULL``; it will "
6868
"not be checked."
6969
msgstr ""
70+
"成功時に、文字列 *v* のコピーを値とする新しいバイトオブジェクトを返し、失敗時に ``NULL`` を返します。\n"
71+
"引数 *v* は ``NULL`` であってはなりません; そのチェックは行われません。"
7072

7173
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/bytes.rst:46
7274
msgid ""
7375
"Return a new bytes object with a copy of the string *v* as value and length "
7476
"*len* on success, and ``NULL`` on failure. If *v* is ``NULL``, the contents"
7577
" of the bytes object are uninitialized."
7678
msgstr ""
79+
"成功時に、文字列 *v* のコピーを値とする長さ *len* の新しいバイトオブジェクトを返し、失敗時に ``NULL`` を返します。\n"
80+
"引数 *v* が ``NULL`` の場合、バイトオブジェクトの中身は初期化されていません。"
7781

7882
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/bytes.rst:53
7983
msgid ""
@@ -282,6 +286,12 @@ msgid ""
282286
"deallocated. If *o* is ED4F not a bytes object at all, "
283287
":c:func:`PyBytes_AsString` returns ``NULL`` and raises :exc:`TypeError`."
284288
msgstr ""
289+
"*o* の中身へのポインタを返します。\n"
290+
"ポインタは、 ``len(o) + 1`` バイトからなる *o* の内部バッファを参照します。\n"
291+
"他に null のバイトがあるかどうかにかかわらず、バッファの最後のバイトは必ず null になります。\n"
292+
"``PyBytes_FromStringAndSize(NULL, size)`` で生成された場合を除いて、データを修正してはなりません。\n"
293+
"またポインタを解放(deallocated)してはなりません。\n"
294+
"もし、 *o* が bytes オブジェクトでなければ、 :c:func:`PyBytes_AsString` は ``NULL`` を返し :exc:`TypeError` を送出します。"
285295

286296
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/bytes.rst:154
287297
msgid "Macro form of :c:func:`PyBytes_AsString` but without error checking."
@@ -299,6 +309,8 @@ msgid ""
299309
"bytes; if it does, the function returns ``-1`` and a :exc:`ValueError` is "
300310
"raised."
301311
msgstr ""
312+
"*length* の値が ``NULL`` の場合、バイトオブジェクトが null バイトを含まない可能性があります。その場合、関数は ``-1`` "
313+
"を返し、 :exc:`ValueError` を送出します。"
302314

303315
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/bytes.rst:166
304316
msgid ""
@@ -329,6 +341,9 @@ msgid ""
329341
"of *\\*bytes* will be set to ``NULL``; the appropriate exception will be "
330342
"set."
331343
msgstr ""
344+
"*newpart* の内容を *bytes* の後ろに連結した新しいバイトオブジェクトを *\\*bytes* に生成します。呼び出し側は新しい参照を所有します。\n"
345+
"*bytes* の古い値の参照は盗まれます。\n"
346+
"もし新しいオブジェクトが生成できない場合、古い *bytes* の参照は放棄され、 *\\*bytes* の値は ``NULL`` に設定されます; 適切な例外が設定されます。"
332347

333348
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/bytes.rst:189
334349
msgid ""
@@ -352,3 +367,9 @@ msgid ""
352367
"*\\*bytes* is deallocated, *\\*bytes* is set to ``NULL``, :exc:`MemoryError`"
353368
" is set, and ``-1`` is returned."
354369
msgstr ""
370+
"本来 \"変更不可能 (immutable)\" なバイトオブジェクトをリサイズする方法です。\n"
371+
"作成されたばかりのバイトオブジェクトにのみこれをしようしてください; 他のコードですでに使用されている可能性のあるバイトオブジェクトに使用してはいけません。\n"
372+
"入力されたバイトオブジェクトの参照カウントが 1 でない場合、この関数はエラーになります。\n"
373+
"左辺値として存在する (つまり書き込み可能な) バイトオブジェクトのアドレスを受け取り、新しいサイズを要求します。\n"
374+
"成功時には、*\\*bytes* はリサイズされたバイトオブジェクトを保持し、``0`` が返されます; *\\*bytes* のアドレスは入力された際のアドレスと異なるかもしれません。\n"
375+
"再割り当て (reallocation) が失敗した場合、 *\\*bytes* が元々指してしたバイトオブジェクトを解放し、*\\*bytes* を ``NULL`` に設定し、 :exc:`MemoryError` を設定し、そして ``-1`` が返されます。"

c-api/conversion.po

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
# 秘湯 <xwhhsprings@gmail.com>, 2017
88
# Arihiro TAKASE, 2017
99
# Inada Naoki <songofacandy@gmail.com>, 2017
10-
# tomo, 2019
10+
# tomo, 2020
1111
#
1212
#, fuzzy
1313
msgid ""
@@ -16,7 +16,7 @@ msgstr ""
1616
"Report-Msgid-Bugs-To: \n"
1717
"POT-Creation-Date: 2020-01-01 12:19+0000\n"
1818
"PO-Revision-Date: 2017-02-16 17:34+0000\n"
19-
"Last-Translator: tomo, 2019\n"
19+
"Last-Translator: tomo, 2020\n"
2020
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2121
"MIME-Version: 1.0\n"
2222
"Content-Type: text/plain; charset=UTF-8\n"
@@ -78,6 +78,8 @@ msgid ""
7878
"to avoid truncation exceeds *size* by more than 512 bytes, Python aborts "
7979
"with a :c:func:`Py_FatalError`."
8080
msgstr ""
81+
"もし :c:func:`vsnprintf` のないプラットフォームで、切り捨てを避けるために必要なバッファサイズが *size* "
82+
"を512バイトより大きく超過していれば、 Python は :c:func:`Py_FatalError` で abort します。"
8183

8284
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/conversion.rst:37
8385
msgid ""
@@ -199,24 +201,28 @@ msgid ""
199201
"*flags* can be zero or more of the values ``Py_DTSF_SIGN``, "
200202
"``Py_DTSF_ADD_DOT_0``, or ``Py_DTSF_ALT``, or-ed together:"
201203
msgstr ""
204+
"*flags* は 0 か、 ``Py_DTSF_SIGN``, ``Py_DTSF_ADD_DOT_0``, ``Py_DTSF_ALT`` "
205+
"か、これらの or を取ったものです:"
202206

203207
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/conversion.rst:101
204208
msgid ""
205209
"``Py_DTSF_SIGN`` means to always precede the returned string with a sign "
206210
"character, even if *val* is non-negative."
207-
msgstr ""
211+
msgstr "``Py_DTSF_SIGN`` は、*val* が負で無いときも常に符号文字を先頭につけることを意味します。"
208212

209213
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/conversion.rst:104
210214
msgid ""
211215
"``Py_DTSF_ADD_DOT_0`` means to ensure that the returned string will not look"
212216
" like an integer."
213-
msgstr " 10000 "
217+
msgstr "``Py_DTSF_ADD_DOT_0`` は文字列が整数のように見えないことを保証します。"
214218

215219
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/conversion.rst:107
216220
msgid ""
217221
"``Py_DTSF_ALT`` means to apply \"alternate\" formatting rules. See the "
218222
"documentation for the :c:func:`PyOS_snprintf` ``'#'`` specifier for details."
219223
msgstr ""
224+
"``Py_DTSF_ALT`` は \"alternate\" フォーマットルールを適用することを意味します。\n"
225+
"詳細は :c:func:`PyOS_snprintf` の ``'#'`` 指定を参照してください。"
220226

221227
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/conversion.rst:111
222228
msgid ""
@@ -225,13 +231,17 @@ msgid ""
225231
"that *val* is a finite number, an infinite number, or not a number, "
226232
"respectively."
227233
msgstr ""
234+
"*ptype* が ``NULL`` で無い場合、*val* が有限数、無限数、NaNのどれかに合わせて、``Py_DTST_FINITE``, "
235+
"``Py_DTST_INFINITE``, ``Py_DTST_NAN`` のいずれかに設定されます。"
228236

229237
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/conversion.rst:115
230238
msgid ""
231239
"The return value is a pointer to *buffer* with the converted string or "
232240
"``NULL`` if the conversion failed. The caller is responsible for freeing the"
233241
" returned string by calling :c:func:`PyMem_Free`."
234242
msgstr ""
243+
"戻り値は変換後の文字列が格納された *buffer* へのポインタか、変換が失敗した場合は ``NULL`` です。\n"
244+
"呼び出し側は、返された文字列を :c:func:`PyMem_Free` を使って解放する責任があります。"
235245

236246
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/conversion.rst:124
237247
msgid ""

c-api/file.po

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# Translators:
77
# Osamu NAKAMURA, 2017
88
# Arihiro TAKASE, 2017
9-
# tomo, 2017
9+
# tomo, 2020
1010
#
1111
#, fuzzy
1212
msgid ""
@@ -15,7 +15,7 @@ msgstr ""
1515
"Report-Msgid-Bugs-To: \n"
1616
"POT-Creation-Date: 2020-01-01 12:19+0000\n"
1717
"PO-Revision-Date: 2017-02-16 17:35+0000\n"
18-
"Last-Translator: tomo, 2017\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"
@@ -54,6 +54,12 @@ msgid ""
5454
"failure. For a more comprehensive description of the arguments, please refer"
5555
" to the :func:`io.open` function documentation."
5656
msgstr ""
57+
"既に開かれているファイル *fd* のファイルディスクリプタから Python のファイルオブジェクトを作成します。\n"
58+
"引数 *name* 、 *encoding* 、 *errors* 、 *newline* には、デフォルトの値として ``NULL`` が使えます。\n"
59+
"*buffering* には *-1* を指定してデフォルトの値を使うことができます。\n"
60+
"*name* は無視されるのですが、後方互換性のために残されています。\n"
61+
"失敗すると ``NULL`` を返します。\n"
62+
"より包括的な引数の解説は、 :func:`io.open` 関数のドキュメントを参照してください。"
5763

5864
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/file.rst:31
5965
msgid ""
@@ -103,39 +109,47 @@ msgstr ""
103109
msgid ""
104110
"Overrides the normal behavior of :func:`io.open_code` to pass its parameter "
105111
"through the provided handler."
106-
msgstr ""
112+
msgstr ":func:`io.open_code` の通常の振る舞いを上書きして、そのパラメーターを提供されたハンドラで渡します。"
107113

108114
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/file.rst:68
109115
msgid ""
110116
"The handler is a function of type :c:type:`PyObject *(\\*)(PyObject *path, "
111117
"void *userData)`, where *path* is guaranteed to be "
112118
":c:type:`PyUnicodeObject`."
113119
msgstr ""
120+
"ハンドラは :c:type:`PyObject *(\\*)(PyObject *path, void *userData)` 型の関数で、 "
121+
"*path* は :c:type:`PyUnicodeObject` であることが保証されています。"
114122

115123
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/file.rst:71
116124
msgid ""
117125
"The *userData* pointer is passed into the hook function. Since hook "
118126
"functions may be called from different runtimes, this pointer should not "
119127
"refer directly to Python state."
120128
msgstr ""
129+
"*userData* ポインタはフック関数に渡されます。\n"
130+
"フック関数は別なランタイムから呼び出されるかもしれないので、このポインタは直接 Python の状態を参照すべきではありません。"
121131

122132
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/file.rst:75
123133
msgid ""
124134
"As this hook is intentionally used during import, avoid importing new "
125135
"modules during its execution unless they are known to be frozen or available"
126136
" in ``sys.modules``."
127137
msgstr ""
138+
"このフック関数はインポート中に使われることを意図しているため、モジュールが frozen なモジュールであるか ``sys.modules`` "
139+
"にある利用可能なモジュールであることが分かっている場合を除いては、フック関数の実行中に新しいモジュールをインポートするのは避けてください。"
128140

129141
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/file.rst:79
130142
msgid ""
131143
"Once a hook has been set, it cannot be removed or replaced, and later calls "
132144
"to :c:func:`PyFile_SetOpenCodeHook` will fail. On failure, the function "
133145
"returns -1 and sets an exception if the interpreter has been initialized."
134146
msgstr ""
147+
"いったんフック関数が設定されたら、削除や置き換えもできず、後からの :c:func:`PyFile_SetOpenCodeHook` の呼び出しは失敗します。\n"
148+
"この関数が失敗したときは、インタープリタが初期化されていた場合、 -1 を返して例外をセットします。"
135149

136150
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/file.rst:83
137151
msgid "This function is safe to call before :c:func:`Py_Initialize`."
138-
msgstr ""
152+
msgstr "この関数は :c:func:`Py_Initialize` より前に呼び出しても安全です。"
139153

140154
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/file.rst:93
141155
msgid ""

c-api/function.po

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
# Translators:
77
# Arihiro TAKASE, 2017
88
# Osamu NAKAMURA, 2017
9+
# tomo, 2020
910
#
1011
#, fuzzy
1112
msgid ""
@@ -14,7 +15,7 @@ msgstr ""
1415
"Report-Msgid-Bugs-To: \n"
1516
"POT-Creation-Date: 2020-01-01 12:19+0000\n"
1617
"PO-Revision-Date: 2017-02-16 17:35+0000\n"
17-
"Last-Translator: Osamu NAKAMURA, 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"
@@ -48,6 +49,8 @@ msgid ""
4849
"Return true if *o* is a function object (has type "
4950
":c:data:`PyFunction_Type`). The parameter must not be ``NULL``."
5051
msgstr ""
52+
"*o* が関数オブジェクト (:c:data:`PyFunction_Type` 型なら) なら true を返します。\n"
53+
"引数は ``NULL`` であってはいけません。"
5154

5255
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/function.rst:34
5356
msgid ""
@@ -65,6 +68,9 @@ msgid ""
6568
" and closure are set to ``NULL``. *__qualname__* is set to the same value as"
6669
" the function's name."
6770
msgstr ""
71+
"関数のドキュメント文字列と名前はコードオブジェクトから取得されます。\n"
72+
"*__module__* は *globals* から取得されます。\n"
73+
"引数のデフォルト値やアノテーション、クロージャは ``NULL`` に設定されます。 *__qualname__* は関数名と同じ値に設定されます。"
6874

6975
#: /home/travis/build/python/cpython-doc-catalog/Doc/c-api/function.rst:44
7076
msgid ""

0 commit comments

Comments
 (0)
0