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

Skip to content

Commit cde3def

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent fc5d9d8 commit cde3def

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

glossary.po

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

22602261
#: ../../glossary.rst:1107
22612262
msgid "universal newlines"

library/typing.po

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ msgid ""
1111
msgstr ""
1212
"Project-Id-Version: Python 3.7\n"
1313
"Report-Msgid-Bugs-To: \n"
14-
"POT-Creation-Date: 2019-10-11 03:44+0000\n"
14+
"POT-Creation-Date: 2019-10-14 03:47+0000\n"
1515
"PO-Revision-Date: 2019-09-01 03:30+0000\n"
1616
"Last-Translator: tomo, 2019\n"
1717
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -35,6 +35,8 @@ msgid ""
3535
"They can be used by third party tools such as type checkers, IDEs, linters, "
3636
"etc."
3737
msgstr ""
38+
"Python ランタイムは、関数や変数の型アノテーションを強制しません。\n"
39+
"型アノテーションは、型チェッカー、IDE、linterなどのサードパーティーツールで使われます。"
3840

3941
#: ../../library/typing.rst:19
4042
msgid ""
@@ -240,11 +242,11 @@ msgstr ""
240242

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

249251
#: ../../library/typing.rst:242
250252
msgid ""
@@ -286,7 +288,7 @@ msgstr "ユーザ定義のジェネリック型エイリアスもサポートさ
286288

287289
#: ../../library/typing.rst:309
288290
msgid ":class:`Generic` no longer has a custom metaclass."
289-
msgstr ""
291+
msgstr ":class:`Generic` にあった独自のメタクラスは無くなりました。"
290292

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

299304
#: ../../library/typing.rst:319
300305
msgid "The :data:`Any` type"

0 commit comments

Comments
 (0)
0