8000 [skip ci] Update .po files · python/python-docs-ja@5715f81 · GitHub
[go: up one dir, main page]

Skip to content

Commit 5715f81

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent 8a162f9 commit 5715f81

File tree

5 files changed

+5557
-5537
lines changed

5 files changed

+5557
-5537
lines changed

glossary.po

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2272,6 +2272,7 @@ msgid ""
22722272
"Type hints of global variables, class attributes, and functions, but not "
22732273
"local variables, can be accessed using :func:`typing.get_type_hints`."
22742274
msgstr ""
2275+
"グローバル変数、クラス属性、関数で、ローカル変数でないものの型ヒントは :func:`typing.get_type_hints` で取得できます。"
22752276

22762277
#: ../../glossary.rst:1111
22772278
msgid "universal newlines"

library/typing.po

Lines changed: 21 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ msgid ""
1818
msgstr ""
1919
"Project-Id-Version: Python 3.8\n"
2020
"Report-Msgid-Bugs-To: \n"
21-
"POT-Creation-Date: 2019-10-11 11:39+0000\n"
21+
"POT-Creation-Date: 2019-10-14 11:41+0000\n"
2222
"PO-Revision-Date: 2017-02-16 23:32+0000\n"
2323
"Last-Translator: tomo, 2019\n"
2424
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -42,6 +42,8 @@ msgid ""
4242
"They can be used by third party tools such as type checkers, IDEs, linters, "
4343
"etc."
4444
msgstr ""
45+
"Python ランタイムは、関数や変数の型アノテーションを強制しません。\n"
46+
"型アノテーションは、型チェッカー、IDE、linterなどのサードパーティーツールで使われます。"
4547

4648
#: ../../library/typing.rst:19
4749
msgid ""
@@ -52,6 +54,10 @@ msgid ""
5254
":class:`Generic`. For full specification please see :pep:`484`. For a "
5355
"simplified introduction to type hints see :pep:`483`."
5456
msgstr ""
57+
"このモジュールは :pep:`484`, :pep:`526`, :pep:`544`, :pep:`586`, :pep:`589`, :pep:`591` によって規定された型ヒントへのランタイムサポートを提供します。\n"
58+
"最も基本的なサポートとして :data:`Any`、 :data:`Union`、 :data:`Tuple`、 :data:`Callable`、 :class:`TypeVar` および :class:`Generic` 型を含みます。\n"
59+
"完全な仕様は :pep:`484` を参照してください。\n"
60+
"型ヒントの簡単な導入は :pep:`483` を参照してください。"
5561

5662
#: ../../library/typing.rst:27
5763
msgid ""
@@ -124,6 +130,9 @@ msgid ""
124130
"it. That means the expression ``Derived(some_value)`` does not create a new "
125131
"class or introduce any overhead beyond that of a regular function call."
126132
msgstr ""
133+
"これらのチェックは静的型検査器のみによって強制されるということに注意してください。\n"
134+
"実行時に ``Derived = NewType('Derived', Base)`` という文は渡された仮引数をただちに返す ``Derived`` 関数を作ります。\n"
135+
"つまり ``Derived(some_value)`` という式は新しいクラスを作ることはなく、通常の関数呼び出し以上のオーバーヘッドがないということを意味します。"
127136

128137
#: ../../library/typing.rst:110
129138
msgid ""
@@ -241,11 +250,11 @@ msgstr ""
241250

242251
#: ../../library/typing.rst:234
243252
msgid ""
244-
"The :class:`Generic` base class uses a metaclass that defines "
245-
":meth:`__getitem__` so that ``LoggedVar[t]`` is valid as a type::"
253+
"The :class:`Generic` base class defines :meth:`__class_getitem__` so that "
254+
"``LoggedVar[t]`` is valid as a type::"
246255
msgstr ""
247-
"基底クラス :class:`Generic` ``LoggedVar[t]`` が型として有効になるように :meth:`__getitem__` "
248-
"を定義したメタクラスを使います。"
256+
"基底クラス :class:`Generic` には ``LoggedVar[t]`` が型として有効になるように "
257+
":meth:`__class_getitem__` メソッドが定義されています::"
249258

250259
#: ../../library/typing.rst:243
251260
msgid ""
@@ -287,7 +296,7 @@ msgstr "ユーザ定義のジェネリック型エイリアスもサポートさ
287296

288297
#: ../../library/typing.rst:310
289298
msgid ":class:`Generic` no longer has a custom metaclass."
290-
msgstr ""
299+
msgstr ":class:`Generic` にあった独自のメタクラスは無くなりました。"
291300

292301
#: ../../library/typing.rst:313
293302
msgid ""
@@ -296,6 +305,9 @@ msgid ""
296305
"parameterizing generics is cached, and most types in the typing module are "
297306
"hashable and comparable for equality."
298307
msgstr ""
308+
"ユーザーが定義したジェネリッククラスはメタクラスの衝突を起こすことなく基底クラスに抽象基底クラスをとれます。\n"
309+
"ジェネリックメタクラスはサポートされません。\n"
310+
"パラメータ化を行うジェネリクスの結果はキャッシュされていて、 typing モジュールのほとんどの型はハッシュ化でき、等価比較できます。"
299311

300312
#: ../../library/typing.rst:320
301313
msgid "The :data:`Any` type"
@@ -372,14 +384,16 @@ msgstr ""
372384

373385
#: ../../library/typing.rst:398
374386
msgid "Nominal vs structural subtyping"
375-
msgstr ""
387+
msgstr "名前的部分型 vs 構造的部分型"
376388

377389
#: ../../library/typing.rst:400
378390
msgid ""
379391
"Initially :pep:`484` defined Python static type system as using *nominal "
380392
"subtyping*. This means that a class ``A`` is allowed where a class ``B`` is "
381393
"expected if and only if ``A`` is a subclass of ``B``."
382394
msgstr ""
395+
"初めは :pep:`484` は Python の静的型システムを *名前的部分型* を使って定義していました。\n"
396+
"名前的部分型とは、クラス ``B`` が期待されているところにクラス ``A`` が許容されるのは ``A`` が ``B`` のサブクラスの場合かつその場合に限る、ということです。"
383397

384398
#: ../../library/typing.rst:404
385399
msgid ""

reference/lexical_analysis.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ msgid ""
10431043
msgstr ""
10441044
"最上位の書式指定子には、入れ子の置換フィールドを含めることができます。\n"
10451045
"これらの入れ子のフィールドには、自身の変換フィールドと :ref:`書式指定子 <formatspec>` を含めることができますが、さらに入れ子になった置換フィールドを含めることはできません。\n"
1046-
"文字列の .format() メソッドで使われる ref:`書式指定ミニ言語仕様 <formatspec>` でも同様です."
1046+
"文字列の .format() メソッドで使われる :ref:`書式指定ミニ言語仕様 <formatspec>` でも同様です"
10471047

10481048
#: ../../reference/lexical_analysis.rst:704
10491049
msgid ""

0 commit comments

Comments
 (0)
0