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

Skip to content

Commit 3014fc7

Browse files
author
github-actions
committed
Merge 3.11 into 3.9
1 parent ebbc96a commit 3014fc7

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
@@ -38,13 +38,18 @@ msgid ""
3838
"*format* and the extra arguments. See the Unix man page :manpage:"
3939
"`snprintf(3)`."
4040
msgstr ""
41+
"書式文字列 *format* と追加の引数から、 *size* バイトを超えない文字列を *str* "
42+
"に出力します。 Unix man page の :manpage:`snprintf(3)` を参照してください。"
4143

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

4954
#: ../../c-api/conversion.rst:23
5055
msgid ""
@@ -86,20 +91,27 @@ msgid ""
8691
"characters were written to *str* (excluding the trailing ``'\\0'`` byte at "
8792
"``str[rv]``)."
8893
msgstr ""
94+
"``0 <= rv < size`` のとき、変換出力は成功して、(最後の ``str[rv]`` にある "
95+
"``'\\0'`` を除いて) *rv* 文字が *str* に出力された。"
8996

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

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

104116
#: ../../c-api/conversion.rst:51
105117
msgid ""

0 commit comments

Comments
 (0)