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

Skip to content

Commit 481ec26

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent ab4b28c commit 481ec26

File tree

6 files changed

+3923
-3868
lines changed

6 files changed

+3923
-3868
lines changed

library/functions.po

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2187,12 +2187,17 @@ msgid ""
21872187
"negative). The return value is an integer if *ndigits* is omitted or "
21882188
"``None``. Otherwise the return value has the same type as *number*."
21892189
msgstr ""
2190+
":func:`round` をサポートする組み込み型では、値は 10 のマイナス *ndigits* 乗の倍数の中で最も近いものに丸められます; 二つの倍数が同じだけ近いなら、偶数を選ぶ方に (そのため、例えば ``round(0.5)`` と ``round(-0.5)`` は両方とも ``0`` に、 ``round(1.5)`` は ``2`` に) 丸められます。\n"
2191+
"*ndigits* には任意の整数値が有効となります (正の整数、ゼロ、負の整数)。\n"
2192+
"返り値は *ndigits* が指定されていないか ``None`` の場合は整数、そうでなければ返り値は *number* と同じ型です。"
21902193

21912194
#: ../../library/functions.rst:1352
21922195
msgid ""
21932196
"For a general Python object ``number``, ``round`` delegates to "
21942197
"``number.__round__``."
21952198
msgstr ""
2199+
"一般的な Python オブジェクト ``number`` に対して、``round`` は処理を ``number.__round__` "
2200+
"に移譲します。"
21962201

21972202
#: ../../library/functions.rst:1357
21982203
msgid ""
@@ -2274,6 +2279,8 @@ msgid ""
22742279
"``key=str.lower``). The default value is ``None`` (compare the elements "
22752280
"directly)."
22762281
msgstr ""
2282+
"*key* には 1 引数関数を指定します。これは *iterable* の各要素から比較キーを展開するのに使われます (例えば、 ``key=str.lower`` のように指定します)。\n"
2283+
"デフォルト値は ``None`` です (要素を直接比較します)。"
22772284

22782285
#: ../../library/functions.rst:1412
22792286
msgid ""
@@ -2345,6 +2352,9 @@ msgid ""
23452352
"want to avoid the automatic transformation to instance method. For these "
23462353
"cases, use this idiom::"
23472354
msgstr ""
2355+
"あらゆるデコレータと同じく、 ``staticmethod`` は普通の関数のように呼べ、その返り値で処理が行えます。\n"
2356+
"この機能は、クラス本体から関数を参照する必要があり、かつ、インスタンスメソッドに自動変換されるのを避けたいケースで必要になります。\n"
2357+
"そのようなケースでは、このイディオムが使えます::"
23482358

23492359
#: ../../library/functions.rst:1455
23502360
msgid ""
@@ -2630,6 +2640,12 @@ msgid ""
26302640
"implementation is in use. Direct use of :func:`__import__` is also "
26312641
"discouraged in favor of :func:`importlib.import_module`."
26322642
msgstr ""
2643+
"この関数は :keyword:`import` 文により呼び出されます。 (:mod:`builtins` モジュールをインポートして "
2644+
"``builtins.__import__`` に代入することで) この関数を置き換えて :keyword:`!import` "
2645+
"文のセマンティクスを変更することができますが、同様のことをするのに通常はインポートフック (:pep:`302` 参照) "
2646+
"を利用する方が簡単で、かつデフォルトのインポート実装が使用されていることを仮定するコードとの間で問題が起きないので、このやり方は *強く* "
2647+
"推奨されません。 :func:`__import__` を直接使用することも推奨されず、 :func:`importlib.import_module`"
2648+
" の方が好まれます。"
26332649

26342650
#: ../../library/functions.rst:1665
26352651
msgid ""

library/types.po

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017
1010
# Arihiro TAKASE, 2017
1111
# E. Kawashima, 2017
12-
# tomo, 2017
12+
# tomo, 2019
1313
#
1414
#, fuzzy
1515< B41A div class="diff-text-inner">msgid ""
@@ -18,7 +18,7 @@ msgstr ""
1818
"Report-Msgid-Bugs-To: \n"
1919
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2020
"PO-Revision-Date: 2017-02-16 23:32+0000\n"
21-
"Last-Translator: tomo, 2017\n"
21+
"Last-Translator: tomo, 2019\n"
2222
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2323
"MIME-Version: 1.0\n"
2424
"Content-Type: text/plain; charset=UTF-8\n"
@@ -38,7 +38,7 @@ msgstr "**ソースコード:** :source:`Lib/types.py`"
3838
msgid ""
3939
"This module defines utility functions to assist in dynamic creation of new "
4040
"types."
41-
msgstr ""
41+
msgstr "このモジュールは新しい型の動的な生成を支援するユーティリティ関数を定義します。"
4242

4343
#: ../../library/types.rst:14
4444
msgid ""
@@ -115,6 +115,8 @@ msgid ""
115115
"changed. Now an insertion-order-preserving mapping is used when the "
116116
"metaclass does not have a ``__prepare__`` method."
117117
msgstr ""
118+
"返されるタプルの ``namespace`` 要素のデフォルト値が変更されました。\n"
119+
"現在では、メタクラスが ``__prepare__`` メソッドを持っていないときは、挿入順序を保存するマッピングが使われます。"
118120

119121
#: ../../library/types.rst:67
120122
msgid ":ref:`metaclasses`"
@@ -149,7 +151,7 @@ msgstr ""
149151

150152
#: ../../library/types.rst:87
151153
msgid ":pep:`560` - Core support for typing module and generic types"
152-
msgstr ""
154+
msgstr ":pep:`560` - typing モジュールとジェネリック型に対する言語コアによるサポート"
153155

154156
#: ../../library/types.rst:91
155157
msgid "Standard Interpreter Types"

reference/compound_stmts.po

Lines changed: 41 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,11 @@ msgid ""
306306
"the try clause of the inner handler, the outer handler will not handle the "
307307
"exception.)"
308308
msgstr ""
309+
"対応する except 節が見つかると、except 節のスイートが実行されます。その際、 :keyword:`!as` "
310+
"キーワードが存在すれば、その後で指定されているターゲットに例外が代入されます。全ての :keyword:`except` "
311+
"節は実行可能なブロックを持っていなければなりません。このブロックの末尾に到達すると、通常は :keyword:`try` "
312+
"文全体の直後から実行を継続します。(このことは、ネストされた二つの例外ハンドラが同じ例外に対して存在し、内側のハンドラ内の :keyword:`try`"
313+
" 節で例外が発生した場合、外側のハンドラはその例外を処理しないことを意味します。)"
309314

310315
#: ../../reference/compound_stmts.rst:276
311316
msgid ""
@@ -354,6 +359,8 @@ msgid ""
354359
"Exceptions in the :keyword:`!else` clause are not handled by the preceding "
355360
":keyword:`except` clauses."
356361
msgstr ""
362+
"オプションの :keyword:`!else` 節は、コントロールフローが :keyword:`try` スイートを抜け、例外が送出されず、 :keyword:`return` 文、 :keyword:`continue` 文、 :keyword:`break` 文のいずれもが実行されなかった場合に実行されます。\n"
363+
":keyword:`!else` 節で起きた例外は、手前にある :keyword:`except` 節では処理されません。"
357364

358365
#: ../../reference/compound_stmts.rst:321
359366
msgid ""
@@ -368,6 +375,13 @@ msgid ""
368375
":keyword:`return` or :keyword:`break` statement, the saved exception is "
369376
"discarded::"
370377
msgstr ""
378+
":keyword:`finally` 節がある場合は、 '後始末 (cleanup)' の対処を指定します。まず :keyword:`except` "
379+
"節や :keyword:`!else` 節を含め、 :keyword:`try` "
380+
"節が実行されます。それらの節の中で例外が起き、誰も対処していない場合は、例外は一時的に保存されます。次に :!keyword:`finally` "
381+
"節が実行されます。保存された例外があった場合は、 :keyword:`!finally` 節の末尾で再送出されます。 "
382+
":keyword:`!finally` 節で別の例外が送出される場合は、保存されていた例外は新しい例外のコンテキストとして設定されます。 "
383+
":keyword:`!finally` 節で :keyword:`return` 文あるいは :keyword:`break` "
384+
"文を実行した場合は、保存された例外は破棄されます::"
371385

372386
#: ../../reference/compound_stmts.rst:340
373387
msgid ""
@@ -384,6 +398,10 @@ msgid ""
384398
" :keyword:`!finally` clause. (The reason is a problem with the current "
385399
"implementation --- this restriction may be lifted in the future)."
386400
msgstr ""
401+
":keyword:`!try`...\\ :keyword:`!finally` 文の :keyword:`try` スイート内で "
402+
":keyword:`return` 文、 :keyword:`break` 文、 :keyword:`continue` "
403+
"文のいずれかが実行されたときは、'抜け出る途中で' :keyword:`finally` 節も実行されます。 :keyword:`!finally` "
404+
"節での :keyword:`continue` 文の使用は不正です。 (理由は現在の実装上の問題です --- この制限は将来解消されるかもしれません)。"
387405

388406
#: ../../reference/compound_stmts.rst:355
389407
msgid ""
@@ -392,6 +410,8 @@ msgid ""
392410
":keyword:`!return` statement executed in the :keyword:`!finally` clause will"
393411
" always be the last one executed::"
394412
msgstr ""
413+
"関数の返り値は最後に実行された :keyword:`return` 文によって決まります。\n"
414+
":keyword:`finally` 節は必ず実行されるため、:keyword:`!finally` 節で実行された :keyword:`!return` 文は常に最後に実行されることになります::"
395415

396416
#: ../../reference/compound_stmts.rst:369
397417
msgid ""
@@ -404,7 +424,7 @@ msgstr ""
404424

405425
#: ../../reference/compound_stmts.rst:378
406426
msgid "The :keyword:`!with` statement"
407-
msgstr ""
427+
msgstr ":keyword:`!with` 文"
408428

409429
#: ../../reference/compound_stmts.rst:387
410430
msgid ""
@@ -649,6 +669,10 @@ msgid ""
649669
"\":keyword:`!def`\" form is actually more powerful since it allows the "
650670
"execution of multiple statements and annotations."
651671
msgstr ""
672+
"式を即時に使用するために、無名関数 (名前に束縛されていない関数) を作成することもできます。\n"
673+
"これは :ref:`lambda` の節で解説されているラムダ式を使います。\n"
674+
"ラムダ式は簡略化された関数定義の簡略表現に過ぎないことに注意してください; \":keyword:`def`\" 文で定義された関数もラムダ式で作成された関数のように、引数として渡せたり、他の名前に割り当てることができます。\n"
675+
"複数の式とアノテーションが実行できるので、 \":keyword:`!def`\" 形式の方がより強力です。"
652676

653677
#: ../../reference/compound_stmts.rst:596
654678
msgid ""
@@ -672,11 +696,11 @@ msgstr "関数アノテーションの元の仕様書。"
672696

673697
#: ../../reference/compound_stmts.rst:608
674698
msgid ":pep:`484` - Type Hints"
675-
msgstr ""
699+
msgstr ":pep:`484` - 型ヒント"
676700

677701
#: ../../reference/compound_stmts.rst:608
678702
msgid "Definition of a standard meaning for annotations: type hints."
679-
msgstr ""
703+
msgstr "アノテーションの標準的な意味付けである型ヒントの定義。"
680704

681705
#: ../../reference/compound_stmts.rst:612
682706
msgid ":pep:`526` - Syntax for Variable Annotations"
@@ -686,17 +710,17 @@ msgstr ":pep:`526` - Syntax for Variable Annotations"
686710
msgid ""
687711
"Ability to type hint variable declarations, including class variables and "
688712
"instance variables"
689-
msgstr ""
713+
msgstr "クラス変数とインスタンス変数を含む変数に型ヒントが宣言できる機能"
690714

691715
#: ../../reference/compound_stmts.rst:615
692716
msgid ":pep:`563` - Postponed Evaluation of Annotations"
693-
msgstr ""
717+
msgstr ":pep:`563` - アノテーションの遅延評価"
694718

695719
#: ../../reference/compound_stmts.rst:615
696720
msgid ""
697721
"Support for forward references within annotations by preserving annotations "
698722
"in a string form at runtime instead of eager evaluation."
699-
msgstr ""
723+
msgstr "実行時にアノテーションを貪欲評価するのではなく文字列形式で保持することによる、アノテーションにおける前方参照のサポート"
700724

701725
#: ../../reference/compound_stmts.rst:622
702726
msgid "Class definitions"
@@ -786,7 +810,7 @@ msgstr ":pep:`3115` - Metaclasses in Python 3000"
786810
msgid ""
787811
"The proposal that changed the declaration of metaclasses to the current "
788812
"syntax, and the semantics for how classes with metaclasses are constructed."
789-
msgstr ""
813+
msgstr "メタクラスの宣言を現在の文法と、メタクラス付きのクラスがどのように構築されるかの意味論を変更した提案"
790814

791815
#: ../../reference/compound_stmts.rst:709
792816
msgid ":pep:`3129` - Class Decorators"
@@ -797,6 +821,8 @@ msgid ""
797821
"The proposal that added class decorators. Function and method decorators "
798822
"were introduced in :pep:`318`."
799823
msgstr ""
824+
"クラスデコレータを追加した提案。\n"
825+
"関数デコレータとメソッドデコレータは :pep:`318` で導入されました。"
800826

801827
#: ../../reference/compound_stmts.rst:716
802828
msgid "Coroutines"
@@ -814,6 +840,8 @@ msgid ""
814840
"expressions, :keyword:`async for` and :keyword:`async with` can only be used"
815841
" in coroutine function bodies."
816842
msgstr ""
843+
"Python で実行しているコルーチンは多くの時点で一時停止と再開ができます (:term:`coroutine` を参照してください)。\n"
844+
"コルーチン関数の本体では、 ``await`` 識別子と ``async`` 識別子は予約語になります; :keyword:`await` 式である :keyword:`async for` と :keyword:`async with` はコルーチン関数の本体でしか使えません。"
817845

818846
#: ../../reference/compound_stmts.rst:740
819847
msgid ""
@@ -826,15 +854,15 @@ msgstr ""
826854
msgid ""
827855
"It is a :exc:`SyntaxError` to use a ``yield from`` expression inside the "
828856
"body of a coroutine function."
829-
msgstr ""
857+
msgstr "コルーチン関数の本体の中で ``yield from`` 式を使用すると :exc:`SyntaxError` になります。"
830858

831859
#: ../../reference/compound_stmts.rst:746
832860
msgid "An example of a coroutine function::"
833861
msgstr "コルーチン関数の例::"
834862

835863
#: ../../reference/compound_stmts.rst:757
836864
msgid "The :keyword:`!async for` statement"
837-
msgstr ""
865+
msgstr ":keyword:`!async for` 文"
838866

839867
#: ../../reference/compound_stmts.rst:762
840868
msgid ""
@@ -869,11 +897,11 @@ msgstr "詳細は :meth:`__aiter__` や :meth:`__anext__` を参照してくだ
869897
msgid ""
870898
"It is a :exc:`SyntaxError` to use an ``async for`` statement outside the "
871899
"body of a coroutine function."
872-
msgstr ""
900+
msgstr "コルーチン関数の本体の外で ``async for`` 文を使用すると :exc:`SyntaxError` になります。"
873901

874902
#: ../../reference/compound_stmts.rst:801
875903
msgid "The :keyword:`!async with` statement"
876-
msgstr ""
904+
msgstr ":keyword:`!async with` 文"
877905

878906
#: ../../reference/compound_stmts.rst:806
879907
msgid ""
@@ -891,7 +919,7 @@ msgstr "詳細は :meth:`__aenter__` や :meth:`__aexit__` を参照してくだ
891919
msgid ""
892920
"It is a :exc:`SyntaxError` to use an ``async with`` statement outside the "
893921
"body of a coroutine function."
894-
msgstr ""
922+
msgstr "コルーチン関数の本体の外で ``async with`` 文を使用すると :exc:`SyntaxError` になります。"
895923

896924
#: ../../reference/compound_stmts.rst:837
897925
msgid ":pep:`492` - Coroutines with async and await syntax"
@@ -901,7 +929,7 @@ msgstr ":pep:`492` - async 構文および await 構文付きのコルーチン"
901929
msgid ""
902930
"The proposal that made coroutines a proper standalone concept in Python, and"
903931
" added supporting syntax."
904-
msgstr ""
932+
msgstr "コルーチンを Python のまともな独り立ちした概念にし、サポートする構文を追加した提案。"
905933

906934
#: ../../reference/compound_stmts.rst:842
907935
msgid "Footnotes"

reference/datamodel.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
# E. Kawashima, 2017
1313
# Arihiro TAKASE, 2017
1414
# Osamu NAKAMURA, 2017
15-
# tomo, 2018
15+
# tomo, 2019
1616
#
1717
#, fuzzy
1818
msgid ""
@@ -21,7 +21,7 @@ msgstr ""
2121
"Report-Msgid-Bugs-To: \n"
2222
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2323
"PO-Revision-Date: 2017-02-16 23:38+0000\n"
24-
"Last-Translator: tomo, 2018\n"
24+
"Last-Translator: tomo, 2019\n"
2525
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2626
"MIME-Version: 1.0\n"
2727
"Content-Type: text/plain; charset=UTF-8\n"
@@ -2707,7 +2707,7 @@ msgstr ""
27072707

27082708
#: ../../reference/datamodel.rst:1881 ../../reference/datamodel.rst:2069
27092709
msgid ":pep:`560` - Core support for typing module and generic types"
2710-
msgstr ""
2710+
msgstr ":pep:`560` - typing モジュールとジェネリック型に対する言語コアによるサポート"
27112711

27122712
#: ../../reference/datamodel.rst:1885
27132713
msgid "Determining the appropriate metaclass"

using/windows.po

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# Nozomu Kaneko <nozom.kaneko@gmail.com>, 2017
1212
# 秘湯 <xwhhsprings@gmail.com>, 2017
1313
# uehara <b1015062@fun.ac.jp>, 2018
14-
# tomo, 2018
14+
# tomo, 2019
1515
#
1616
#, fuzzy
1717
msgid ""
@@ -20,7 +20,7 @@ msgstr ""
2020
"Report-Msgid-Bugs-To: \n"
2121
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
2222
"PO-Revision-Date: 2017-02-16 23:42+0000\n"
23-
"Last-Translator: tomo, 2018\n"
23+
"Last-Translator: tomo, 2019\n"
2424
"Language-Team: Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2525
"MIME-Version: 1.0\n"
2626
"Content-Type: text/plain; charset=UTF-8\n"
@@ -73,13 +73,14 @@ msgstr ""
7373
msgid ""
7474
"There are a number of different installers available for Windows, each with "
7575
"certain benefits and downsides."
76-
msgstr ""
76+
msgstr "Windows で使えるインストーラには多くの様々なものがあり、それぞれが利点と欠点を持っています。"
7777

7878
#: ../../using/windows.rst:32
7979
msgid ""
8080
":ref:`windows-full` contains all components and is the best option for "
8181
"developers using Python for any kind of project."
8282
msgstr ""
83+
":ref:`windows-full` には全てのコンポーネントを含まれ、 Python を使う開発者がどんな種類のプロジェクトでも最適な選択肢です。"
8384

8485
#: ../../using/windows.rst:35
8586
msgid ""
@@ -105,11 +106,11 @@ msgstr ""
105106

106107
#: ../../using/windows.rst:52
107108
msgid "The full installer"
108-
msgstr ""
109+
msgstr "完全版インストーラ"
109110

110111
#: ../../using/windows.rst:55
111112
msgid "Installation steps"
112-
msgstr ""
113+
msgstr "インストール手順"
113114

114115
#: ../../using/windows.rst:57
115116
msgid ""

0 commit comments

Comments
 (0)
0