@@ -1362,6 +1362,8 @@ msgid ""
1362
1362
"Raises a :exc:`ValueError` if *size* is *NULL* and the :c:type:`wchar_t*` "
1363
1363
"string contains null characters."
1364
1364
msgstr ""
1365
+ "*size* が *NULL* かつ :c:type:`wchar_t*` 文字列が null 文字を含んでいた場合、 "
1366
+ ":exc:`ValueError` を送出します。"
1365
1367
1366
1368
#: ../../c-api/unicode.rst:976
1367
1369
msgid "Built-in Codecs"
@@ -1538,7 +1540,7 @@ msgstr ""
1538
1540
1539
1541
#: ../../c-api/unicode.rst:1086 ../../c-api/unicode.rst:1096
1540
1542
msgid "The return type is now ``const char *`` rather of ``char *``."
1541
- msgstr ""
1543
+ msgstr "返り値の型が ``char *`` ではなく ``const char *`` になりました。 "
1542
1544
1543
1545
#: ../../c-api/unicode.rst:1092
1544
1546
msgid "As :c:func:`PyUnicode_AsUTF8AndSize`, but does not store the size."
@@ -1986,6 +1988,9 @@ msgid ""
1986
1988
" :meth:`__getitem__` mapping interface; dictionaries and sequences work "
1987
1989
"well."
1988
1990
msgstr ""
1991
+ "この codec は、多くの様々な codec を実装する際に使われるという点で特殊な codec です (実際、 :mod:`encodings` パッケージに入っている標準 codecs のほとんどは、この codec を使っています)。\n"
1992
+ "この codec は、文字のエンコードやデコードに対応表を使います。\n"
1993
+ "提供される対応表のオブジェクトは :meth:`__getitem__` マッピングインターフェースをサポートしていなければなりません; 辞書やシーケンスがそれに適しています。"
1989
1994
1990
1995
#: ../../c-api/unicode.rst:1433
1991
1996
msgid "These are the mapping codec APIs:"
@@ -1997,6 +2002,8 @@ msgid ""
1997
2002
"using the given *mapping* object. Return *NULL* if an exception was raised "
1998
2003
"by the codec."
1999
2004
msgstr ""
2005
+ "与えられた *mapping* オブジェクトを使って、 *size* バイトのエンコードされた文字列 *s* をデコードして Unicode オブジェクトを作成します。\n"
2006
+ "codec が例外を発生させたときは *NULL* を返します。"
2000
2007
2001
2008
#: ../../c-api/unicode.rst:1442
2002
2009
msgid ""
@@ -2014,6 +2021,8 @@ msgid ""
2014
2021
"result as a bytes object. Error handling is \" strict\" . Return *NULL* if "
2015
2022
"an exception was raised by the codec."
2016
2023
msgstr ""
2024
+ "Unicode オブジェクトを *mapping* に指定されたオブジェクトを使ってエンコードし、結果を bytes "
2025
+ "オブジェクトとして返します。エラー処理は \" strict\" です。 codec が例外を送出した場合には *NULL* を返します。"
2017
2026
2018
2027
#: ../../c-api/unicode.rst:1457
2019
2028
msgid ""
0 commit comments