Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4e894e3

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent855aad9 commit4e894e3

File tree

10 files changed

+134
-40
lines changed

10 files changed

+134
-40
lines changed

‎library/contextlib.po

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# tomo, 2019
8+
# Takanori Suzuki <takanori@takanory.net>, 2021
89
#
910
#,fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To:\n"
1415
"POT-Creation-Date:2021-01-01 16:02+0000\n"
1516
"PO-Revision-Date:2019-09-01 03:14+0000\n"
16-
"Last-Translator:tomo, 2019\n"
17+
"Last-Translator:Takanori Suzuki <takanori@takanory.net>, 2021\n"
1718
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1819
"MIME-Version:1.0\n"
1920
"Content-Type:text/plain; charset=UTF-8\n"
@@ -24,7 +25,7 @@ msgstr ""
2425
#:../../library/contextlib.rst:2
2526
msgid""
2627
":mod:`!contextlib` --- Utilities for :keyword:`!with`\\ -statement contexts"
27-
msgstr""
28+
msgstr":mod:`!contextlib` --- :keyword:`!with` 文コンテキスト用ユーティリティ"
2829

2930
#:../../library/contextlib.rst:7
3031
msgid"**Source code:** :source:`Lib/contextlib.py`"
@@ -98,6 +99,9 @@ msgid ""
9899
"the targets in the :keyword:`with` statement's :keyword:`!as` clause, if "
99100
"any."
100101
msgstr""
102+
"デコレート対象の関数は呼び出されたときに :term:`ジェネレータ "
103+
"<generator>`-イテレータを返す必要があります。このイテレータは必ず値を1つ yield しなければなりません。 "
104+
":keyword:`with` 文の :keyword:`!as` 節が存在するなら、その値は as 節のターゲットへ束縛されることになります。"
101105

102106
#:../../library/contextlib.rst:77
103107
msgid""
@@ -114,6 +118,13 @@ msgid ""
114118
"handled, and execution will resume with the statement immediately following "
115119
"the :keyword:`!with` statement."
116120
msgstr""
121+
"ジェネレータが yield を実行した箇所で :keyword:`with` "
122+
"文のネストされたブロックが実行されます。ブロックから抜けた後でジェネレータは再開されます。ブロック内で処理されない例外が発生した場合は、ジェネレータ内部の"
123+
" yield を実行した箇所で例外が再送出されます。なので、(もしあれば) "
124+
"エラーを捕捉したり、クリーンアップ処理を確実に実行したりするために、:keyword:`try`...\\ :keyword:`except`...\\"
125+
" :keyword:`finally` 構文を使用できます。例外を捕捉する目的が、(完全に例外を抑制してしまうのではなく) "
126+
"単に例外のログをとるため、もしくはあるアクションを実行するためなら、ジェネレータはその例外を再送出しなければなりません。例外を再送出しない場合、ジェネレータのコンテキストマネージャは"
127+
" :keyword:`!with` 文に対して例外が処理されたことを示し、:keyword:`!with` 文の直後の文から実行を再開します。"
117128

118129
#:../../library/contextlib.rst:89
119130
msgid""
@@ -152,7 +163,7 @@ msgstr ""
152163

153164
#:../../library/contextlib.rst:111
154165
msgid"A simple example::"
155-
msgstr""
166+
msgstr"簡単な例::"
156167

157168
#:../../library/contextlib.rst:132
158169
msgid""
@@ -315,6 +326,8 @@ msgid ""
315326
"statements. If this is not the case, then the original construct with the "
316327
"explicit :keyword:`!with` statement inside the function should be used."
317328
msgstr""
329+
"デコレートされた関数が複数回呼び出せるように、内部のコンテキストマネージャーは複数の :keyword:`with` "
330+
"文に対応する必要があります。そうでないなら、明示的な :keyword:`!with` 文を関数内で利用するべきです。"
318331

319332
#:../../library/contextlib.rst:356
320333
msgid""
@@ -657,6 +670,7 @@ msgid ""
657670
"this way cannot take any parameters. Instead, any resources to be released "
658671
"must be accessed as closure variables."
659672
msgstr""
673+
"デコレータープロトコルの使用上、このように宣言されたコールバック関数は引数を取ることができません。その代わりに、リリースするリソースをクロージャー変数としてアクセスできる必要があります。"
660674

661675
#:../../library/contextlib.rst:673
662676
msgid"Using a context manager as a function decorator"

‎library/profile.po

Lines changed: 26 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# tomo, 2019
8+
# Takanori Suzuki <takanori@takanory.net>, 2021
89
#
910
#,fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To:\n"
1415
"POT-Creation-Date:2021-01-01 16:02+0000\n"
1516
"PO-Revision-Date:2019-09-01 03:17+0000\n"
16-
"Last-Translator:tomo, 2019\n"
17+
"Last-Translator:Takanori Suzuki <takanori@takanory.net>, 2021\n"
1718
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1819
"MIME-Version:1.0\n"
1920
"Content-Type:text/plain; charset=UTF-8\n"
@@ -549,6 +550,9 @@ msgid ""
549550
"entries according to their function name, and resolve all ties (identical "
550551
"function names) by sorting by file name."
551552
msgstr""
553+
"2つ以上のキーが指定された場合、2つ目以降のキーは、それ以前のキーで等価となったデータエントリの再ソートに使われます。たとえば "
554+
"``sort_stats(SortKey.NAME, SortKey.FILE)`` "
555+
"とした場合、まずすべてのエントリが関数名でソートされた後、同じ関数名で複数のエントリがあればファイル名でソートされます。"
552556

553557
#:../../library/profile.rst:384
554558
msgid""
@@ -578,7 +582,7 @@ msgstr "``'calls'``"
578582

579583
#:../../library/profile.rst:392
580584
msgid"SortKey.CALLS"
581-
msgstr""
585+
msgstr"SortKey.CALLS"
582586

583587
#:../../library/profile.rst:392../../library/profile.rst:404
584588
msgid"call count"
@@ -590,7 +594,7 @@ msgstr "``'cumulative'``"
590594

591595
#:../../library/profile.rst:394
592596
msgid"SortKey.CUMULATIVE"
593-
msgstr""
597+
msgstr"SortKey.CUMULATIVE"
594598

595599
#:../../library/profile.rst:394../../library/profile.rst:396
596600
msgid"cumulative time"
@@ -621,7 +625,7 @@ msgstr "``'filename'``"
621625

622626
#:../../library/profile.rst:400
623627
msgid"SortKey.FILENAME"
624-
msgstr""
628+
msgstr"SortKey.FILENAME"
625629

626630
#:../../library/profile.rst:402
627631
msgid"``'module'``"
@@ -637,7 +641,7 @@ msgstr "``'pcalls'``"
637641

638642
#:../../library/profile.rst:406
639643
msgid"SortKey.PCALLS"
640-
msgstr""
644+
msgstr"SortKey.PCALLS"
641645

642646
#:../../library/profile.rst:406
643647
msgid"primitive call count"
@@ -649,7 +653,7 @@ msgstr "``'line'``"
649653

650654
#:../../library/profile.rst:408
651655
msgid"SortKey.LINE"
652-
msgstr""
656+
msgstr"SortKey.LINE"
653657

654658
#:../../library/profile.rst:408
655659
msgid"line number"
@@ -661,7 +665,7 @@ msgstr "``'name'``"
661665

662666
#:../../library/profile.rst:410
663667
msgid"SortKey.NAME"
664-
msgstr""
668+
msgstr"SortKey.NAME"
665669

666670
#:../../library/profile.rst:410
667671
msgid"function name"
@@ -673,7 +677,7 @@ msgstr "``'nfl'``"
673677

674678
#:../../library/profile.rst:412
675679
msgid"SortKey.NFL"
676-
msgstr""
680+
msgstr"SortKey.NFL"
677681

678682
#:../../library/profile.rst:412
679683
msgid"name/file/line"
@@ -685,7 +689,7 @@ msgstr "``'stdname'``"
685689

686690
#:../../library/profile.rst:414
687691
msgid"SortKey.STDNAME"
688-
msgstr""
692+
msgstr"SortKey.STDNAME"
689693

690694
#:../../library/profile.rst:414
691695
msgid"standard name"
@@ -697,7 +701,7 @@ msgstr "``'time'``"
697701

698702
#:../../library/profile.rst:416
699703
msgid"SortKey.TIME"
700-
msgstr""
704+
msgstr"SortKey.TIME"
701705

702706
#:../../library/profile.rst:416../../library/profile.rst:418
703707
msgid"internal time"
@@ -720,6 +724,14 @@ msgid ""
720724
"``sort_stats(SortKey.NFL)`` is the same as ``sort_stats(SortKey.NAME, "
721725
"SortKey.FILENAME, SortKey.LINE)``."
722726
msgstr""
727+
"すべての統計情報のソート結果は降順 (最も多く時間を消費したものが一番上に来る) "
728+
"となることに注意してください。ただし、関数名、ファイル名、行数に関しては昇順 (アルファベット順) になります。 ``SortKey.NFL`` と "
729+
"``SortKey.STDNAME`` には微妙な違いがあります。標準名 (standard name) "
730+
"とは表示された名前によるソートで、埋め込まれた行番号のソート順が特殊です。たとえば、 (ファイル名が同じで) "
731+
"3、20、40という行番号のエントリがあった場合、20、3、40 の順に表示されます。一方 ``SortKey.NFL`` "
732+
"は行番号を数値として比較します。要するに、 ``sort_stats(SortKey.NFL)`` は "
733+
"``sort_stats(SortKey.NAME, SortKey.FILENAME, SortKey.LINE)`` "
734+
"と指定した場合と同じになります。"
723735

724736
#:../../library/profile.rst:432
725737
msgid""
@@ -969,6 +981,10 @@ msgid ""
969981
"Python's time.process_time() as the timer, the magical number is about "
970982
"4.04e-6."
971983
msgstr""
984+
"calibrate メソッドは引数として与えられた数だけ Python "
985+
"の呼び出しを行います。直接呼び出す場合と、プロファイラを使って呼び出す場合の両方が実施され、それぞれの時間が計測されます。その結果、プロファイラのイベントに隠されたオーバーヘッドが計算され、その値は浮動小数として返されます。たとえば、"
986+
" 1.8 GHz の Intel Core i5 で Mac OS X を使用、 Python の time.process_time() "
987+
"をタイマとして使った場合、値はおよそ 4.04e-6 となります。"
972988

973989
#:../../library/profile.rst:601
974990
msgid""

‎library/sys.po

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#
66
# Translators:
77
# tomo, 2020
8+
# Takanori Suzuki <takanori@takanory.net>, 2021
89
#
910
#,fuzzy
1011
msgid ""
@@ -13,7 +14,7 @@ msgstr ""
1314
"Report-Msgid-Bugs-To:\n"
1415
"POT-Creation-Date:2021-01-01 16:02+0000\n"
1516
"PO-Revision-Date:2019-09-01 03:32+0000\n"
16-
"Last-Translator:tomo, 2020\n"
17+
"Last-Translator:Takanori Suzuki <takanori@takanory.net>, 2021\n"
1718
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
1819
"MIME-Version:1.0\n"
1920
"Content-Type:text/plain; charset=UTF-8\n"
@@ -705,7 +706,7 @@ msgstr "DBL_MAX_EXP"
705706
msgid""
706707
"maximum integer *e* such that ``radix**(e-1)`` is a representable finite "
707708
"float"
708-
msgstr""
709+
msgstr"floatが ``radix**(e-1)`` で表現可能な、最大の整数 *e*"
709710

710711
#:../../library/sys.rst:395
711712
msgid":const:`max_10_exp`"
@@ -719,7 +720,7 @@ msgstr "DBL_MAX_10_EXP"
719720
msgid""
720721
"maximum integer *e* such that ``10**e`` is in the range of representable "
721722
"finite floats"
722-
msgstr""
723+
msgstr"float が ``10**e`` で表現可能な、最大の整数 *e*"
723724

724725
#:../../library/sys.rst:398
725726
msgid":const:`min`"
@@ -743,7 +744,7 @@ msgstr "DBL_MIN_EXP"
743744

744745
#:../../library/sys.rst:400
745746
msgid"minimum integer *e* such that ``radix**(e-1)`` is a normalized float"
746-
msgstr""
747+
msgstr"``radix**(e-1)`` が正規化floatであるような最小の整数 *e*"
747748

748749
#:../../library/sys.rst:403
749750
msgid":const:`min_10_exp`"
@@ -755,7 +756,7 @@ msgstr "DBL_MIN_10_EXP"
755756

756757
#:../../library/sys.rst:403
757758
msgid"minimum integer *e* such that ``10**e`` is a normalized float"
758-
msgstr""
759+
msgstr"``10**e`` が正規化floatであるような最小の整数 *e*"
759760

760761
#:../../library/sys.rst:406
761762
msgid":const:`radix`"
@@ -1193,6 +1194,8 @@ msgid ""
11931194
"A :term:`named tuple` giving parameters of the numeric hash implementation."
11941195
" For more details about hashing of numeric types, see :ref:`numeric-hash`."
11951196
msgstr""
1197+
"数値のハッシュ実装のパラメータを与える :term:`named tuple` です。数値型のハッシュ化についての詳細は :ref:`numeric-"
1198+
"hash` を参照してください。"
11961199

11971200
#:../../library/sys.rst:726
11981201
msgid":const:`width`"
@@ -1279,10 +1282,13 @@ msgid ""
12791282
"The :term:`named tuple` :data:`sys.version_info` may be used for a more "
12801283
"human-friendly encoding of the same information."
12811284
msgstr""
1285+
"``hexversion`` は :func:`hex` 関数を使って 16 "
1286+
"進数に変換しなければ値の意味を持ちません。より読みやすいバージョン番号が必要な場合には :term:`named tuple` "
1287+
":data:`sys.version_info` を使用してください。"
12821288

12831289
#:../../library/sys.rst:770
12841290
msgid"More details of ``hexversion`` can be found at :ref:`apiabiversion`."
1285-
msgstr""
1291+
msgstr"``hexversion`` のより詳しい情報については :ref:`apiabiversion` を参照してください。"
12861292

12871293
#:../../library/sys.rst:775
12881294
msgid""
@@ -1348,6 +1354,10 @@ msgid ""
13481354
"nor between implementation versions. (It may change between Python language"
13491355
" versions, however.) See :pep:`421` for more information."
13501356
msgstr""
1357+
":data:`sys.implementation` には Python "
1358+
"実装固有の属性を追加することができます。それら非標準属性の名前はアンダースコアから始めなくてはならず、そしてここでは説明されません。その内容に関係なく、:data:`sys.implementation`"
1359+
" はインタプリタ起動中や実装のバージョン間で変更することはありません (ただし Python "
1360+
"言語のバージョン間についてはその限りではありません)。詳細は :pep:`421` を参照してください。"
13511361

13521362
#:../../library/sys.rst:814
13531363
msgid""
@@ -1359,7 +1369,7 @@ msgstr ""
13591369
msgid""
13601370
"A :term:`named tuple` that holds information about Python's internal "
13611371
"representation of integers. The attributes are read only."
1362-
msgstr""
1372+
msgstr"Python における整数の内部表現に関する情報を保持する、:term:`named tuple` です。この属性は読み出し専用です。"
13631373

13641374
#:../../library/sys.rst:825../../library/sys.rst:1443
13651375
msgid"Attribute"
@@ -1785,6 +1795,9 @@ msgid ""
17851795
"``'return'``, ``'c_call'``, ``'c_return'``, or ``'c_exception'``. *arg* "
17861796
"depends on the event type."
17871797
msgstr""
1798+
"Profile関数は 3 個の引数、*frame*、*event*、および *arg* を受け取る必要があります。*frame* "
1799+
"は現在のスタックフレームです。*event* は文字列で、``'call'``, ``'return'``, ``'c_call'``, "
1800+
"``'c_return'``, ``'c_exception'`` のどれかが渡されます。*arg* はイベントの種類によって異なります。"
17881801

17891802
#:../../library/sys.rst:1117../../library/sys.rst:1198
17901803
msgid"The events have the following meaning:"
@@ -1896,6 +1909,9 @@ msgid ""
18961909
"``'line'``, ``'return'``, ``'exception'`` or ``'opcode'``. *arg* depends on"
18971910
" the event type."
18981911
msgstr""
1912+
"Trace関数は 3 個の引数、*frame*、*event*、および *arg* を受け取る必要があります。*frame* "
1913+
"は現在のスタックフレームです。*event* は文字列で、``'call'``, ``'line'``, ``'return'``, "
1914+
"``'exception'``, ``'opcode'`` のどれかが渡されます。*arg* はイベントの種類によって異なります。"
18991915

19001916
#:../../library/sys.rst:1186
19011917
msgid""
@@ -2227,11 +2243,15 @@ msgid ""
22272243
"``None``. It is usually the case for Windows GUI apps that aren't connected "
22282244
"to a console and Python apps started with :program:`pythonw`."
22292245
msgstr""
2246+
"一部の条件下では、``stdin``、``stdout``、および ``stderr`` もオリジナルの "
2247+
"``__stdin__``、``__stdout__``、および ``__stderr__`` も ``None`` "
2248+
"になることがあります。これはコンソールに接続しない Windows GUI アプリケーションであり、かつ :program:`pythonw` "
2249+
"で起動された Python アプリケーションが該当します。"
22302250

22312251
#:../../library/sys.rst:1437
22322252
msgid""
22332253
"A :term:`named tuple` holding information about the thread implementation."
2234-
msgstr""
2254+
msgstr"スレッドの実装に関する情報が格納された :term:`named tuple` です。"
22352255

22362256
#:../../library/sys.rst:1445
22372257
msgid":const:`name`"
@@ -2348,13 +2368,19 @@ msgid ""
23482368
":mod:`sys` module for informational purposes; modifying this value has no "
23492369
"effect on the registry keys used by Python."
23502370
msgstr""
2371+
"Windows プラットフォームで、レジストリのキーとなるバージョン番号。 Python DLL の文字列リソース 1000 "
2372+
"に設定されています。通常、この値は :const:`version` の先頭三文字となります。この値は参照専用で、別の値を設定しても Python "
2373+
"が使用するレジストリキーを変更することはできません。"
23512374

23522375
#:../../library/sys.rst:1521
23532376
msgid""
23542377
"A dictionary of the various implementation-specific flags passed through the"
23552378
" :option:`-X` command-line option. Option names are either mapped to their "
23562379
"values, if given explicitly, or to :const:`True`. Example:"
23572380
msgstr""
2381+
"コマンドラインオプション :option:`-X` "
2382+
"で渡された様々な実装固有のフラグの辞書です。オプション名にはその値が明示されていればそれが、それ以外の場合は :const:`True` "
2383+
"がマップされます。例えば:"
23582384

23592385
#:../../library/sys.rst:1537
23602386
msgid""

‎library/test.po

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# Yuto <ogran.std@gmail.com>, 2019
88
# tomo, 2020
99
# shortarrow <bamboogeneral@live.jp>, 2021
10+
# Takanori Suzuki <takanori@takanory.net>, 2021
1011
#
1112
#,fuzzy
1213
msgid ""
@@ -15,7 +16,7 @@ msgstr ""
1516
"Report-Msgid-Bugs-To:\n"
1617
"POT-Creation-Date:2021-01-01 16:02+0000\n"
1718
"PO-Revision-Date:2019-09-01 03:18+0000\n"
18-
"Last-Translator:shortarrow <bamboogeneral@live.jp>, 2021\n"
19+
"Last-Translator:Takanori Suzuki <takanori@takanory.net>, 2021\n"
1920
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
2021
"MIME-Version:1.0\n"
2122
"Content-Type:text/plain; charset=UTF-8\n"
@@ -368,6 +369,8 @@ msgid ""
368369
" system encoding in strict mode. It may be ``None`` if it's not possible to"
369370
" generate such a filename."
370371
msgstr""
372+
"strictモードのファイルシステムエンコーディングでデコードできないファイル名(bytes型)に設定します。そのようなファイル名を生成できない場合は、"
373+
" ``None`` になる可能性があります。"
371374

372375
#:../../library/test.rst:287
373376
msgid"Set to a filename containing the :data:`FS_NONASCII` character."

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp