Skip to content

Commit 1c9a410

Browse files
author
github-actions
committed
Merge 3.11 into 3.10
1 parent c666ad5 commit 1c9a410

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

c-api/conversion.po

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,18 @@ msgid ""
3636
"*format* and the extra arguments. See the Unix man page :manpage:"
3737
"`snprintf(3)`."
3838
msgstr ""
39+
"書式文字列 *format* と追加の引数から、 *size* バイトを超えない文字列を *str* "
40+
"に出力します。 Unix man page の :manpage:`snprintf(3)` を参照してください。"
3941

4042
#: ../../c-api/conversion.rst:19
4143
msgid ""
4244
"Output not more than *size* bytes to *str* according to the format string "
4345
"*format* and the variable argument list *va*. Unix man page :manpage:"
4446
"`vsnprintf(3)`."
4547
msgstr ""
48+
"書式文字列 *format* と可変長引数リスト *va* から、 *size* バイトを超えない文"
49+
"字列を *str* に出力します。 Unix man page の :manpage:`vsnprintf(3)` を参照し"
50+
"てください。"
4651

4752
#: ../../c-api/conversion.rst:23
4853
msgid ""
@@ -76,20 +81,27 @@ msgid ""
7681
"characters were written to *str* (excluding the trailing ``'\\0'`` byte at "
7782
"``str[rv]``)."
7883
msgstr ""
84+
"``0 <= rv < size`` のとき、変換出力は成功して、(最後の ``str[rv]`` にある "
85+
"``'\\0'`` を除いて) *rv* 文字が *str* に出力された。"
7986

8087
#: ../../c-api/conversion.rst:40
8188
msgid ""
8289
"When ``rv >= size``, the output conversion was truncated and a buffer with "
8390
"``rv + 1`` bytes would have been needed to succeed. ``str[size-1]`` is "
8491
"``'\\0'`` in this case."
8592
msgstr ""
93+
"``rv >= size`` のとき、変換出力は切り詰められており、成功するためには ``rv + "
94+
"1`` バイトが必要だったことを示します。``str[size-1]`` は ``'\\0'`` です。"
8695

8796
#: ../../c-api/conversion.rst:44
8897
msgid ""
8998
"When ``rv < 0``, \"something bad happened.\" ``str[size-1]`` is ``'\\0'`` in "
9099
"this case too, but the rest of *str* is undefined. The exact cause of the "
91100
"error depends on the underlying platform."
92101
msgstr ""
102+
"``rv < 0`` のときは、何か悪いことが起こった時です。この場合でも "
103+
"``str[size-1]`` は ``'\\0'`` ですが、*str* のそれ以外の部分は未定義です。エ"
104+
"ラーの正確な原因はプラットフォーム依存です。"
93105

94106
#: ../../c-api/conversion.rst:49
95107
msgid ""
@@ -105,6 +117,10 @@ msgid ""
105117
"have leading or trailing whitespace. The conversion is independent of the "
106118
"current locale."
107119
msgstr ""
120+
"文字列 ``s`` を :c:expr:`double` に変換します。失敗したときは Python の例外を"
121+
"発生させます。受け入れられる文字列は、 Python の :func:`float` コンストラクタ"
122+
"が受け付ける文字列に準拠しますが、 ``s`` の先頭と末尾に空白文字があってはなら"
123+
"ないという部分が異なります。この変換は現在のロケールに依存しません。"
108124

109125
#: ../../c-api/conversion.rst:59
110126
msgid ""
@@ -160,6 +176,8 @@ msgid ""
160176
"Convert a :c:expr:`double` *val* to a string using supplied *format_code*, "
161177
"*precision*, and *flags*."
162178
msgstr ""
179+
":c:expr:`double` *val* を指定された *format_code*, *precision*, *flags* に基"
180+
"づいて文字列に変換します。"
163181

164182
#: ../../c-api/conversion.rst:90
165183
msgid ""

library/typing.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ msgid ""
15371537
"dictionaries instead of instances of ``OrderedDict``."
15381538
msgstr ""
15391539
"``_field_types`` 属性および ``__annotations__`` 属性は ``OrderedDict`` インス"
1540-
"タンスではなく普通の辞書になりまいた。"
1540+
"タンスではなく普通の辞書になりました。"
15411541

15421542
#: ../../library/typing.rst:1425
15431543
msgid ""

0 commit comments

Comments
 (0)