Skip to content

Commit 366186b

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 329670b commit 366186b

File tree

3 files changed

+3635
-3614
lines changed

3 files changed

+3635
-3614
lines changed

c-api/unicode.po

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1362,6 +1362,8 @@ msgid ""
13621362
"Raises a :exc:`ValueError` if *size* is *NULL* and the :c:type:`wchar_t*` "
13631363
"string contains null characters."
13641364
msgstr ""
1365+
"*size* が *NULL* かつ :c:type:`wchar_t*` 文字列が null 文字を含んでいた場合、 "
1366+
":exc:`ValueError` を送出します。"
13651367

13661368
#: ../../c-api/unicode.rst:976
13671369
msgid "Built-in Codecs"
@@ -1538,7 +1540,7 @@ msgstr ""
15381540

15391541
#: ../../c-api/unicode.rst:1086 ../../c-api/unicode.rst:1096
15401542
msgid "The return type is now ``const char *`` rather of ``char *``."
1541-
msgstr ""
1543+
msgstr "返り値の型が ``char *`` ではなく ``const char *`` になりました。"
15421544

15431545
#: ../../c-api/unicode.rst:1092
15441546
msgid "As :c:func:`PyUnicode_AsUTF8AndSize`, but does not store the size."
@@ -1986,6 +1988,9 @@ msgid ""
19861988
" :meth:`__getitem__` mapping interface; dictionaries and sequences work "
19871989
"well."
19881990
msgstr ""
1991+
"この codec は、多くの様々な codec を実装する際に使われるという点で特殊な codec です (実際、 :mod:`encodings` パッケージに入っている標準 codecs のほとんどは、この codec を使っています)。\n"
1992+
"この codec は、文字のエンコードやデコードに対応表を使います。\n"
1993+
"提供される対応表のオブジェクトは :meth:`__getitem__` マッピングインターフェースをサポートしていなければなりません; 辞書やシーケンスがそれに適しています。"
19891994

19901995
#: ../../c-api/unicode.rst:1433
19911996
msgid "These are the mapping codec APIs:"
@@ -1997,6 +2002,8 @@ msgid ""
19972002
"using the given *mapping* object. Return *NULL* if an exception was raised "
19982003
"by the codec."
19992004
msgstr ""
2005+
"与えられた *mapping* オブジェクトを使って、 *size* バイトのエンコードされた文字列 *s* をデコードして Unicode オブジェクトを作成します。\n"
2006+
"codec が例外を発生させたときは *NULL* を返します。"
20002007

20012008
#: ../../c-api/unicode.rst:1442
20022009
msgid ""
@@ -2014,6 +2021,8 @@ msgid ""
20142021
"result as a bytes object. Error handling is \"strict\". Return *NULL* if "
20152022
"an exception was raised by the codec."
20162023
msgstr ""
2024+
"Unicode オブジェクトを *mapping* に指定されたオブジェクトを使ってエンコードし、結果を bytes "
2025+
"オブジェクトとして返します。エラー処理は \"strict\" です。 codec が例外を送出した場合には *NULL* を返します。"
20172026

20182027
#: ../../c-api/unicode.rst:1457
20192028
msgid ""

library/dataclasses.po

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,9 @@ msgid ""
8686
"class, the behavior depends on the parameter, as documented below. The "
8787
"decorator returns the same class that is called on; no new class is created."
8888
msgstr ""
89-
":func:`dataclass` デコレータは、後述する様々な \"ダンダー\" メソッド(訳注:dunderはdouble "
90-
"underscoreの略で、アンダースコア2つで始まるメソッド)をクラスに追加します。クラスに既にこれらのメソッドが存在する場合の動作は、後述する引数によって異なります。デコレータは呼び出した際に指定したクラスと同じクラスを返します。新しいクラスは生成されません。"
89+
":func:`dataclass` デコレータは、後述する様々な \"ダンダー\" メソッド (訳注:dunderはdouble "
90+
"underscoreの略で、前と後ろそれぞれにアンダースコアが2つ付いているメソッド) "
91+
"をクラスに追加します。クラスに既にこれらのメソッドが存在する場合の動作は、後述する引数によって異なります。デコレータは呼び出した際に指定したクラスと同じクラスを返します。新しいクラスは生成されません。"
9192

9293
#: ../../library/dataclasses.rst:67
9394
msgid ""
@@ -123,6 +124,10 @@ msgid ""
123124
"example: ``InventoryItem(name='widget', unit_price=3.0, "
124125
"quantity_on_hand=10)``."
125126
msgstr ""
127+
"``repr``: (デフォルトの) 真の場合、 :meth:`__repr__` メソッドが生成されます。\n"
128+
"生成された repr 文字列には、クラス名、各フィールドの名前および repr 文字列が、クラス上での定義された順序で並びます。\n"
129+
"repr から除外するように印が付けられたフィールドは、 repr 文字列には含まれません。\n"
130+
"例えば、このようになります: ``InventoryItem(name='widget', unit_price=3.0, quantity_on_hand=10)`` 。"
126131

127132
#: ../../library/dataclasses.rst:99
128133
msgid ""

0 commit comments

Comments
 (0)