Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitaaf6bc8

Browse files
author
github-actions
committed
Update translations from Transifex
1 parentd76d66c commitaaf6bc8

30 files changed

+2186
-2608
lines changed

‎c-api/conversion.po

Lines changed: 60 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ msgid ""
1212
msgstr ""
1313
"Project-Id-Version:Python 3.12\n"
1414
"Report-Msgid-Bugs-To:\n"
15-
"POT-Creation-Date:2024-01-26 14:13+0000\n"
15+
"POT-Creation-Date:2024-02-02 14:13+0000\n"
1616
"PO-Revision-Date:2021-06-28 00:48+0000\n"
1717
"Last-Translator:Arihiro TAKASE, 2023\n"
1818
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -112,6 +112,51 @@ msgstr "以下の関数は locale 非依存な文字列から数値への変換
112112

113113
#:../../c-api/conversion.rst:53
114114
msgid""
115+
"Convert the initial part of the string in ``str`` to an :c:expr:`unsigned "
116+
"long` value according to the given ``base``, which must be between ``2`` and "
117+
"``36`` inclusive, or be the special value ``0``."
118+
msgstr""
119+
120+
#:../../c-api/conversion.rst:57
121+
msgid""
122+
"Leading white space and case of characters are ignored. If ``base`` is zero "
123+
"it looks for a leading ``0b``, ``0o`` or ``0x`` to tell which base. If "
124+
"these are absent it defaults to ``10``. Base must be 0 or between 2 and 36 "
125+
"(inclusive). If ``ptr`` is non-``NULL`` it will contain a pointer to the "
126+
"end of the scan."
127+
msgstr""
128+
129+
#:../../c-api/conversion.rst:63
130+
msgid""
131+
"If the converted value falls out of range of corresponding return type, "
132+
"range error occurs (:c:data:`errno` is set to :c:macro:`!ERANGE`) and :c:"
133+
"macro:`!ULONG_MAX` is returned. If no conversion can be performed, ``0`` is "
134+
"returned."
135+
msgstr""
136+
137+
#:../../c-api/conversion.rst:68
138+
msgid"See also the Unix man page :manpage:`strtoul(3)`."
139+
msgstr""
140+
141+
#:../../c-api/conversion.rst:75
142+
msgid""
143+
"Convert the initial part of the string in ``str`` to an :c:expr:`long` value "
144+
"according to the given ``base``, which must be between ``2`` and ``36`` "
145+
"inclusive, or be the special value ``0``."
146+
msgstr""
147+
148+
#:../../c-api/conversion.rst:79
149+
msgid""
150+
"Same as :c:func:`PyOS_strtoul`, but return a :c:expr:`long` value instead "
151+
"and :c:macro:`LONG_MAX` on overflows."
152+
msgstr""
153+
154+
#:../../c-api/conversion.rst:82
155+
msgid"See also the Unix man page :manpage:`strtol(3)`."
156+
msgstr""
157+
158+
#:../../c-api/conversion.rst:89
159+
msgid""
115160
"Convert a string ``s`` to a :c:expr:`double`, raising a Python exception on "
116161
"failure. The set of accepted strings corresponds to the set of strings "
117162
"accepted by Python's :func:`float` constructor, except that ``s`` must not "
@@ -123,7 +168,7 @@ msgstr ""
123168
"が受け付ける文字列に準拠しますが、 ``s`` の先頭と末尾に空白文字があってはなら"
124169
"ないという部分が異なります。この変換は現在のロケールに依存しません。"
125170

126-
#:../../c-api/conversion.rst:59
171+
#:../../c-api/conversion.rst:95
127172
msgid""
128173
"If ``endptr`` is ``NULL``, convert the whole string. Raise :exc:"
129174
"`ValueError` and return ``-1.0`` if the string is not a valid representation "
@@ -133,7 +178,7 @@ msgstr ""
133178
"しい浮動小数点数の表現になっていない場合は ``-1.0`` を返して :exc:"
134179
"`ValueError` を発生させます。"
135180

136-
#:../../c-api/conversion.rst:63
181+
#:../../c-api/conversion.rst:99
137182
msgid""
138183
"If endptr is not ``NULL``, convert as much of the string as possible and set "
139184
"``*endptr`` to point to the first unconverted character. If no initial "
@@ -146,7 +191,7 @@ msgstr ""
146191
"数点数の表現が無かった場合、``*endptr`` を文字列の先頭に設定して、ValueError "
147192
"を発生させ、``-1.0`` を返します。"
148193

149-
#:../../c-api/conversion.rst:70
194+
#:../../c-api/conversion.rst:106
150195
msgid""
151196
"If ``s`` represents a value that is too large to store in a float (for "
152197
"example, ``\"1e500\"`` is such a string on many platforms) then if "
@@ -164,23 +209,23 @@ msgstr ""
164209
"場合でも、``*endptr`` には変換された値の直後の最初の文字へのポインタが設定さ"
165210
"れます。"
166211

167-
#:../../c-api/conversion.rst:78
212+
#:../../c-api/conversion.rst:114
168213
msgid""
169214
"If any other error occurs during the conversion (for example an out-of-"
170215
"memory error), set the appropriate Python exception and return ``-1.0``."
171216
msgstr""
172217
"それ以外のエラーが変換中に発生した場合(例えば out-of-memory エラー)、適切な "
173218
"Python の例外を設定して ``-1.0`` を返します。"
174219

175-
#:../../c-api/conversion.rst:87
220+
#:../../c-api/conversion.rst:123
176221
msgid""
177222
"Convert a :c:expr:`double` *val* to a string using supplied *format_code*, "
178223
"*precision*, and *flags*."
179224
msgstr""
180225
":c:expr:`double` *val* を指定された *format_code*, *precision*, *flags* に基"
181226
"づいて文字列に変換します。"
182227

183-
#:../../c-api/conversion.rst:90
228+
#:../../c-api/conversion.rst:126
184229
msgid""
185230
"*format_code* must be one of ``'e'``, ``'E'``, ``'f'``, ``'F'``, ``'g'``, "
186231
"``'G'`` or ``'r'``. For ``'r'``, the supplied *precision* must be 0 and is "
@@ -191,29 +236,29 @@ msgstr ""
191236
"ければならず、無視されます。 ``'r'`` フォーマットコードは標準の :func:`repr` "
192237
"フォーマットを指定しています。"
193238

194-
#:../../c-api/conversion.rst:95
239+
#:../../c-api/conversion.rst:131
195240
msgid""
196241
"*flags* can be zero or more of the values ``Py_DTSF_SIGN``, "
197242
"``Py_DTSF_ADD_DOT_0``, or ``Py_DTSF_ALT``, or-ed together:"
198243
msgstr""
199244
"*flags* は 0 か、 ``Py_DTSF_SIGN``, ``Py_DTSF_ADD_DOT_0``, ``Py_DTSF_ALT`` "
200245
"か、これらの or を取ったものです:"
201246

202-
#:../../c-api/conversion.rst:98
247+
#:../../c-api/conversion.rst:134
203248
msgid""
204249
"``Py_DTSF_SIGN`` means to always precede the returned string with a sign "
205250
"character, even if *val* is non-negative."
206251
msgstr""
207252
"``Py_DTSF_SIGN`` は、*val* が負で無いときも常に符号文字を先頭につけることを意"
208253
"味します。"
209254

210-
#:../../c-api/conversion.rst:101
255+
#:../../c-api/conversion.rst:137
211256
msgid""
212257
"``Py_DTSF_ADD_DOT_0`` means to ensure that the returned string will not look "
213258
"like an integer."
214259
msgstr"``Py_DTSF_ADD_DOT_0`` は文字列が整数のように見えないことを保証します。"
215260

216-
#:../../c-api/conversion.rst:104
261+
#:../../c-api/conversion.rst:140
217262
msgid""
218263
"``Py_DTSF_ALT`` means to apply\"alternate\" formatting rules. See the "
219264
"documentation for the :c:func:`PyOS_snprintf` ``'#'`` specifier for details."
@@ -222,7 +267,7 @@ msgstr ""
222267
"す。\n"
223268
"詳細は :c:func:`PyOS_snprintf` の ``'#'`` 指定を参照してください。"
224269

225-
#:../../c-api/conversion.rst:108
270+
#:../../c-api/conversion.rst:144
226271
msgid""
227272
"If *ptype* is non-``NULL``, then the value it points to will be set to one "
228273
"of ``Py_DTST_FINITE``, ``Py_DTST_INFINITE``, or ``Py_DTST_NAN``, signifying "
@@ -233,7 +278,7 @@ msgstr ""
233278
"て、``Py_DTST_FINITE``, ``Py_DTST_INFINITE``, ``Py_DTST_NAN`` のいずれかに設"
234279
"定されます。"
235280

236-
#:../../c-api/conversion.rst:112
281+
#:../../c-api/conversion.rst:148
237282
msgid""
238283
"The return value is a pointer to *buffer* with the converted string or "
239284
"``NULL`` if the conversion failed. The caller is responsible for freeing the "
@@ -244,13 +289,13 @@ msgstr ""
244289
"呼び出し側は、返された文字列を :c:func:`PyMem_Free` を使って解放する責任があ"
245290
"ります。"
246291

247-
#:../../c-api/conversion.rst:121
292+
#:../../c-api/conversion.rst:157
248293
msgid""
249294
"Case insensitive comparison of strings. The function works almost "
250295
"identically to :c:func:`!strcmp` except that it ignores the case."
251296
msgstr""
252297

253-
#:../../c-api/conversion.rst:127
298+
#:../../c-api/conversion.rst:163
254299
msgid""
255300
"Case insensitive comparison of strings. The function works almost "
256301
"identically to :c:func:`!strncmp` except that it ignores the case."

‎c-api/memoryview.po

Lines changed: 20 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version:Python 3.12\n"
1515
"Report-Msgid-Bugs-To:\n"
16-
"POT-Creation-Date:2024-01-26 14:13+0000\n"
16+
"POT-Creation-Date:2024-02-02 15:40+0000\n"
1717
"PO-Revision-Date:2021-06-28 00:49+0000\n"
1818
"Last-Translator:Osamu NAKAMURA, 2023\n"
1919
"Language-Team:Japanese (https://app.transifex.com/python-doc/teams/5390/"
@@ -50,15 +50,23 @@ msgstr ""
5050
"ら、その memoryview オブジェクトは読み書き可能です。そうでなければ読出しのみ"
5151
"になるか、エクスポーターの分別にもとづいて読み書きが可能となります。"
5252

53-
#:../../c-api/memoryview.rst:25
53+
#:../../c-api/memoryview.rst:26
54+
msgid"Flag to request a readonly buffer."
55+
msgstr""
56+
57+
#:../../c-api/memoryview.rst:31
58+
msgid"Flag to request a writable buffer."
59+
msgstr""
60+
61+
#:../../c-api/memoryview.rst:36
5462
msgid""
5563
"Create a memoryview object using *mem* as the underlying buffer. *flags* can "
5664
"be one of :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE`."
5765
msgstr""
5866
"*mem* を配下のバッファとしてmemoryview オブジェクトを作成します。 *flags* "
5967
"は :c:macro:`PyBUF_READ` か :c:macro:`PyBUF_WRITE` のどちらかになります。"
6068

61-
#:../../c-api/memoryview.rst:32
69+
#:../../c-api/memoryview.rst:43
6270
msgid""
6371
"Create a memoryview object wrapping the given buffer structure *view*. For "
6472
"simple byte buffers, :c:func:`PyMemoryView_FromMemory` is the preferred "
@@ -68,7 +76,7 @@ msgstr ""
6876
"します。単なるバイトバッファ向けには、 :c:func:`PyMemoryView_FromMemory` の"
6977
"ほうが望ましいです。"
7078

71-
#:../../c-api/memoryview.rst:38
79+
#:../../c-api/memoryview.rst:49
7280
msgid""
7381
"Create a memoryview object to a :term:`contiguous` chunk of memory (in "
7482
"either 'C' or 'F'ortran *order*) from an object that defines the buffer "
@@ -82,7 +90,12 @@ msgstr ""
8290
"メモリを参照します。それ以外の場合、メモリはコピーされて、 memoryview オブ"
8391
"ジェクトは新しい bytes オブジェクトを参照します。"
8492

85-
#:../../c-api/memoryview.rst:47
93+
#:../../c-api/memoryview.rst:55
94+
msgid""
95+
"*buffertype* can be one of :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE`."
96+
msgstr""
97+
98+
#:../../c-api/memoryview.rst:60
8699
msgid""
87100
"Return true if the object *obj* is a memoryview object. It is not currently "
88101
"allowed to create subclasses of :class:`memoryview`. This function always "
@@ -92,7 +105,7 @@ msgstr ""
92105
"`memoryview` のサブクラスの作成は許可されていません。この関数は常に成功しま"
93106
"す。"
94107

95-
#:../../c-api/memoryview.rst:54
108+
#:../../c-api/memoryview.rst:67
96109
msgid""
97110
"Return a pointer to the memoryview's private copy of the exporter's buffer. "
98111
"*mview* **must** be a memoryview instance; this macro doesn't check its "
@@ -104,7 +117,7 @@ msgstr ""
104117
"このマクロは型をチェックしないので自前で型チェックしなければならず、それを怠"
105118
"るとクラッシュする恐れがあります。"
106119

107-
#:../../c-api/memoryview.rst:60
120+
#:../../c-api/memoryview.rst:73
108121
msgid""
109122
"Return either a pointer to the exporting object that the memoryview is based "
110123
"on or ``NULL`` if the memoryview has been created by one of the functions :c:"

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp