Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 679996a

Browse files
author
github-actions
committed
Merge 3.11 into 3.8
1 parent 85732b9 commit 679996a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

c-api/conversion.po

Lines changed: 12 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 ""
@@ -84,20 +89,27 @@ msgid ""
8489
"characters were written to *str* (excluding the trailing ``'\\0'`` byte at "
8590
"``str[rv]``)."
8691
msgstr ""
92+
"``0 <= rv < size`` のとき、変換出力は成功して、(最後の ``str[rv]`` にある "
93+
"``'\\0'`` を除いて) *rv* 文字が *str* に出力された。"
8794

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

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

102114
#: ../../c-api/conversion.rst:51
103115
msgid ""

0 commit comments

Comments
 (0)