@@ -14,7 +14,7 @@ msgid ""
1414msgstr ""
1515"Project-Id-Version : Python 3.7\n "
1616"Report-Msgid-Bugs-To : \n "
17- "POT-Creation-Date : 2018-06-30 05:56 +0900\n "
17+ "POT-Creation-Date : 2018-11-29 09:53 +0900\n "
1818"PO-Revision-Date : 2017-02-16 23:03+0000\n "
1919"Last-Translator : E. Kawashima, 2017\n "
2020"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -140,20 +140,22 @@ msgstr ""
140140
141141#: ../../library/compileall.rst:88
142142msgid ""
143- "Control how the generated pycs will be invalidated at runtime. The default "
144- "setting, ``timestamp``, means that ``.pyc`` files with the source timestamp "
145- "and size embedded will be generated. The ``checked-hash`` and ``unchecked-"
143+ "Control how the generated byte-code files are invalidated at runtime. The "
144+ "``timestamp`` value , means that ``.pyc`` files with the source timestamp and "
145+ " size embedded will be generated. The ``checked-hash`` and ``unchecked-"
146146"hash`` values cause hash-based pycs to be generated. Hash-based pycs embed a"
147147" hash of the source file contents rather than a timestamp. See :ref:`pyc-"
148148"invalidation` for more information on how Python validates bytecode cache "
149- "files at runtime."
149+ "files at runtime. The default is ``timestamp`` if the "
150+ ":envvar:`SOURCE_DATE_EPOCH` environment variable is not set, and ``checked-"
151+ "hash`` if the ``SOURCE_DATE_EPOCH`` environment variable is set."
150152msgstr ""
151153
152- #: ../../library/compileall.rst:96
154+ #: ../../library/compileall.rst:99
153155msgid "Added the ``-i``, ``-b`` and ``-h`` options."
154156msgstr "``-i``, ``-b``, ``-h`` オプションを追加。"
155157
156- #: ../../library/compileall.rst:99
158+ #: ../../library/compileall.rst:102
157159msgid ""
158160"Added the ``-j``, ``-r``, and ``-qq`` options. ``-q`` option was changed "
159161"to a multilevel value. ``-b`` will always produce a byte-code file ending "
@@ -162,11 +164,11 @@ msgstr ""
162164"``-j``, ``-r``, ``-qq`` オプションが追加されました。``-q`` オプションが複数のレベルの値に変更されました。``-b`` "
163165"は常に拡張子 ``.pyc`` のバイトエンコーディングファイルを生成し、``.pyo`` を作りません。"
164166
165- #: ../../library/compileall.rst:104
167+ #: ../../library/compileall.rst:107
166168msgid "Added the ``--invalidation-mode`` parameter."
167169msgstr ""
168170
169- #: ../../library/compileall.rst:108
171+ #: ../../library/compileall.rst:111
170172msgid ""
171173"There is no command-line option to control the optimization level used by "
172174"the :func:`compile` function, because the Python interpreter itself already "
@@ -175,11 +177,11 @@ msgstr ""
175177":func:`compile` 関数で利用される最適化レベルを制御するコマンドラインオプションはありません。 Python "
176178"インタプリタ自体のオプションを使ってください: :program:`python -O -m compileall`."
177179
178- #: ../../library/compileall.rst:113
180+ #: ../../library/compileall.rst:116
179181msgid "Public functions"
180182msgstr "パブリックな関数"
181183
182- #: ../../library/compileall.rst:117
184+ #: ../../library/compileall.rst:120
183185msgid ""
184186"Recursively descend the directory tree named by *dir*, compiling all "
185187":file:`.py` files along the way. Return a true value if all the files "
@@ -188,13 +190,13 @@ msgstr ""
188190"*dir* という名前のディレクトリーツリーをたどり、途中で見つけた全ての :file:`.py` "
189191"をコンパイルします。全ファイルのコンパイルが成功した場合は真を、それ以外の場合は偽を返します。"
190192
191- #: ../../library/compileall.rst:121
193+ #: ../../library/compileall.rst:124
192194msgid ""
193195"The *maxlevels* parameter is used to limit the depth of the recursion; it "
194196"defaults to ``10``."
195197msgstr "*maxlevels* 引数で最大再帰深度を制限します。デフォルトは ``10`` です。"
196198
197- #: ../../library/compileall.rst:124
199+ #: ../../library/compileall.rst:127
198200msgid ""
199201"If *ddir* is given, it is prepended to the path to each file being compiled "
200202"for use in compilation time tracebacks, and is also compiled in to the byte-"
@@ -205,13 +207,13 @@ msgstr ""
205207"*ddir* "
206208"が与えられた場合、コンパイルされるそれぞれのファイルへのパスの先頭に、そのディレクトリを追加します。これはコンパイル時トレースバックに使われ、バイトコードファイルが実行される時点でソースファイルが存在しない場合に、トレースバックやその他のメッセージに使われるバイトコードファイルにもコンパイルされます。"
207209
208- #: ../../library/compileall.rst:130
210+ #: ../../library/compileall.rst:133
209211msgid ""
210212"If *force* is true, modules are re-compiled even if the timestamps are up to"
211213" date."
212214msgstr "*force* が真の場合、タイムスタンプが最新のであってもモジュールは再コンパイルされます。"
213215
214- #: ../../library/compileall.rst:133
216+ #: ../../library/compileall.rst:136
215217msgid ""
216218"If *rx* is given, its search method is called on the complete path to each "
217219"file considered for compilation, and if it returns a true value, the file is"
@@ -220,7 +222,7 @@ msgstr ""
220222"*rx* "
221223"が与えられた場合、コンパイル候補のそれぞれのファイルのフルパスに対して検索メソッドが呼び出され、それが真値を返したら、そのファイルは除外されます。"
222224
223- #: ../../library/compileall.rst:137 ../../library/compileall.rst:194
225+ #: ../../library/compileall.rst:140 ../../library/compileall.rst:197
224226msgid ""
225227"If *quiet* is ``False`` or ``0`` (the default), the filenames and other "
226228"information are printed to standard out. Set to ``1``, only errors are "
@@ -230,7 +232,7 @@ msgstr ""
230232"``1`` の場合エラーのみが表示されます。\n"
231233"``2`` の場合出力はすべて抑制されます。"
232234
233- #: ../../library/compileall.rst:141 ../../library/compileall.rst:198
235+ #: ../../library/compileall.rst:144 ../../library/compileall.rst:201
234236msgid ""
235237"If *legacy* is true, byte-code files are written to their legacy locations "
236238"and names, which may overwrite byte-code files created by another version of"
@@ -242,13 +244,13 @@ msgstr ""
242244"によって作られたバイトコードファイルを上書きする可能性があります。デフォルトは :pep:`3147` で決められた場所と名前を使い、複数のバージョンの"
243245" Python のバイトコードファイルが共存できるようにします。"
244246
245- #: ../../library/compileall.rst:147 ../../library/compileall.rst:204
247+ #: ../../library/compileall.rst:150 ../../library/compileall.rst:207
246248msgid ""
247249"*optimize* specifies the optimization level for the compiler. It is passed "
248250"to the built-in :func:`compile` function."
249251msgstr "*optimize* でコンパイラの最適化レベルを指定します。これは組み込みの :func:`compile` 関数に渡されます。"
250252
251- #: ../../library/compileall.rst:150
253+ #: ../../library/compileall.rst:153
252254msgid ""
253255"The argument *workers* specifies how many workers are used to compile files "
254256"in parallel. The default is to not use multiple workers. If the platform "
@@ -259,51 +261,51 @@ msgstr ""
259261"引数 *workers* でファイルを並列でコンパイルするワーカの数を指定します。デフォルトでは複数のワーカを使いません。\n"
260262"複数のワーカを使えないプラットフォームで *workers* が与えられた場合、逐次コンパイルにフォールバックします。*workers* が ``0`` 未満の場合 :exc:`ValueError` を送出します。"
261263
262- #: ../../library/compileall.rst:156 ../../library/compileall.rst:207
264+ #: ../../library/compileall.rst:159 ../../library/compileall.rst:210
263265msgid ""
264266"*invalidation_mode* should be a member of the "
265267":class:`py_compile.PycInvalidationMode` enum and controls how the generated "
266268"pycs are invalidated at runtime."
267269msgstr ""
268270
269- #: ../../library/compileall.rst:160 ../../library/compileall.rst:233
271+ #: ../../library/compileall.rst:163 ../../library/compileall.rst:236
270272msgid "Added the *legacy* and *optimize* parameter."
271273msgstr "*legacy* と *optimize* 引数が追加されました。"
272274
273- #: ../../library/compileall.rst:163
275+ #: ../../library/compileall.rst:166
274276msgid "Added the *workers* parameter."
275277msgstr "``workers`` パラメータが追加されました。"
276278
277- #: ../../library/compileall.rst:166 ../../library/compileall.rst:213
278- #: ../../library/compileall.rst:236
279+ #: ../../library/compileall.rst:169 ../../library/compileall.rst:216
280+ #: ../../library/compileall.rst:239
279281msgid "*quiet* parameter was changed to a multilevel value."
280282msgstr "*quiet* 引数が複数のレベルの値に変更されました。"
281283
282- #: ../../library/compileall.rst:169 ../../library/compileall.rst:216
283- #: ../../library/compileall.rst:239
284+ #: ../../library/compileall.rst:172 ../../library/compileall.rst:219
285+ #: ../../library/compileall.rst:242
284286msgid ""
285287"The *legacy* parameter only writes out ``.pyc`` files, not ``.pyo`` files no"
286288" matter what the value of *optimize* is."
287289msgstr ""
288290"*optimize* の値に関わらず、*legacy* 引数は ``.pyc`` ファイルのみを書き出し、``.pyo`` "
289291"ファイルを書き出さないようになりました。"
290292
291- #: ../../library/compileall.rst:173
293+ #: ../../library/compileall.rst:176
292294msgid "Accepts a :term:`path-like object`."
293295msgstr ":term:`path-like object` を受け取るようになりました。"
294296
295- #: ../../library/compileall.rst:176 ../../library/compileall.rst:220
296- #: ../../library/compileall.rst:243
297+ #: ../../library/compileall.rst:179 ../../library/compileall.rst:223
298+ #: ../../library/compileall.rst:246
297299msgid "The *invalidation_mode* parameter was added."
298300msgstr ""
299301
300- #: ../../library/compileall.rst:181
302+ #: ../../library/compileall.rst:184
301303msgid ""
302304"Compile the file with path *fullname*. Return a true value if the file "
303305"compiled successfully, and a false value otherwise."
304306msgstr "パス *fullname* のファイルをコンパイルします。コンパイルが成功すれば真を、そうでなければ偽を返します。"
305307
306- #: ../../library/compileall.rst:184
308+ #: ../../library/compileall.rst:187
307309msgid ""
308310"If *ddir* is given, it is prepended to the path to the file being compiled "
309311"for use in compilation time tracebacks, and is also compiled in to the byte-"
@@ -314,7 +316,7 @@ msgstr ""
314316"*ddir* "
315317"が与えられた場合、コンパイルされるファイルのパスの先頭にそのディレクトリを追加します。これはコンパイル時トレースバックに使われ、バイトコードファイルが実行される時点でソースファイルが存在しない場合に、トレースバックやその他のメッセージに使われるバイトコードファイルにもコンパイルされます。"
316318
317- #: ../../library/compileall.rst:190
319+ #: ../../library/compileall.rst:193
318320msgid ""
319321"If *rx* is given, its search method is passed the full path name to the file"
320322" being compiled, and if it returns a true value, the file is not compiled "
@@ -324,7 +326,7 @@ msgstr ""
324326"が与えられた場合、コンパイル候補のファイルのフルパスに対して検索メソッドが呼び出され、それが真値を返したら、ファイルはコンパイルされず、``True``"
325327" が返されます。"
326328
327- #: ../../library/compileall.rst:225
329+ #: ../../library/compileall.rst:228
328330msgid ""
329331"Byte-compile all the :file:`.py` files found along ``sys.path``. Return a "
330332"true value if all the files compiled successfully, and a false value "
@@ -333,7 +335,7 @@ msgstr ""
333335"``sys.path`` からたどって見つけたすべての :file:`.py` ファイルをバイトコンパイルします。\n"
334336"すべてのファイルを問題なくコンパイルできたときに真を、それ以外のときに偽を返します。"
335337
336- #: ../../library/compileall.rst:228
338+ #: ../../library/compileall.rst:231
337339msgid ""
338340"If *skip_curdir* is true (the default), the current directory is not "
339341"included in the search. All other parameters are passed to the "
@@ -344,17 +346,17 @@ msgstr ""
344346"それ以外のすべての引数は :func:`compile_dir` 関数に渡されます。\n"
345347"その他の compile 関数群と異なり、 ``maxlevels`` のデフォルトが ``0`` になっていることに注意してください。"
346348
347- #: ../../library/compileall.rst:246
349+ #: ../../library/compileall.rst:249
348350msgid ""
349351"To force a recompile of all the :file:`.py` files in the :file:`Lib/` "
350352"subdirectory and all its subdirectories::"
351353msgstr ""
352354":file:`Lib/` ディレクトリ以下にある全ての :file:`.py` ファイルを強制的に再コンパイルするには、以下のようにします::"
353355
354- #: ../../library/compileall.rst:263
356+ #: ../../library/compileall.rst:266
355357msgid "Module :mod:`py_compile`"
356358msgstr "Module :mod:`py_compile`"
357359
358- #: ../../library/compileall.rst:264
360+ #: ../../library/compileall.rst:267
359361msgid "Byte-compile a single source file."
360362msgstr "一つのソースファイルをバイトコンパイルします。"
0 commit comments