@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.15\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2026-08-29 17:28 +0000\n "
14+ "POT-Creation-Date : 2026-08-31 19:47 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:01+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -218,7 +218,7 @@ msgstr ""
218218"知であれば、新しい型が古いものに置き替わります。その型がすでに既知であれば、"
219219"その拡張子が、既知の拡張子のリストに追加されます。"
220220
221- #: ../../library/mimetypes.rst:134 ../../library/mimetypes.rst:308
221+ #: ../../library/mimetypes.rst:134 ../../library/mimetypes.rst:310
222222msgid ""
223223"When *strict* is ``True`` (the default), the mapping will be added to the "
224224"official MIME types, otherwise to the non-standard ones."
@@ -304,18 +304,13 @@ msgstr ""
304304#: ../../library/mimetypes.rst:203
305305msgid ""
306306"This class represents a MIME-types database. By default, it provides access "
307- "to the same database as the rest of this module. The initial database is a "
308- "copy of that provided by the module, and may be extended by loading "
309- "additional :file:`mime.types`\\ -style files into the database using the :"
310- "meth:`read` or :meth:`readfp` methods. The mapping dictionaries may also be "
311- "cleared before loading additional data if the default data is not desired."
312- msgstr ""
313- "このクラスは、MIME 型データベースを表現します。デフォルトでは、このモジュール"
314- "の他のものと同じデータベースへのアクセスを提供します。初期データベースは、こ"
315- "のモジュールによって提供されるもののコピーで、追加の :file:`mime.types` \\ 形"
316- "式のファイルを、 :meth:`read` あるいは :meth:`readfp` メソッドを使って、デー"
317- "タベースにロードすることで拡張されます。マッピング辞書も、もしデフォルトの"
318- "データが望むものでなければ、追加のデータをロードする前にクリアされます。"
307+ "to the same database as the rest of this module. The initial database is "
308+ "created from Python's built-in MIME type tables. It may be extended by "
309+ "loading additional :file:`mime.types`\\ -style files into the database using "
310+ "the :meth:`read` or :meth:`readfp` methods. The mapping dictionaries may "
311+ "also be cleared before loading additional data if the default data is not "
312+ "desired."
313+ msgstr ""
319314
320315#: ../../library/mimetypes.rst:210
321316msgid ""
@@ -330,182 +325,171 @@ msgid ""
330325"Dictionary mapping suffixes to suffixes. This is used to allow recognition "
331326"of encoded files for which the encoding and the type are indicated by the "
332327"same extension. For example, the :file:`.tgz` extension is mapped to :file:"
333- "`.tar.gz` to allow the encoding and type to be recognized separately. This "
334- "is initially a copy of the global :data:`suffix_map` defined in the module ."
328+ "`.tar.gz` to allow the encoding and type to be recognized separately. This "
329+ "is initialized with some predefined values ."
335330msgstr ""
336- "サフィックスをサフィックスにマップする辞書。これは、符号化方式と型が同一拡張"
337- "子で示されるような符号化ファイルが認識できるように使用されます。例えば、 :"
338- "file:`.tgz` 拡張子は、符号化方式と型が別個に認識できるように :file:`.tar.gz` "
339- "に対応づけられます。これは、最初はモジュールで定義されたグローバルな :data:"
340- "`suffix_map` のコピーです。"
341331
342332#: ../../library/mimetypes.rst:225
343333msgid ""
344- "Dictionary mapping filename extensions to encoding types. This is initially "
345- "a copy of the global :data:`encodings_map` defined in the module ."
334+ "Dictionary mapping filename extensions to encoding types. This is "
335+ "initialized with some predefined values ."
346336msgstr ""
347- "ファイル名拡張子を符号化型にマッピングする辞書。これは、最初はモジュールで定"
348- "義されたグローバルな :data:`encodings_map` のコピーです。"
349337
350338#: ../../library/mimetypes.rst:231
351339msgid ""
352340"Tuple containing two dictionaries, mapping filename extensions to MIME "
353341"types: the first dictionary is for the non-standards types and the second "
354- "one is for the standard types. They are initialized by :data:`common_types` "
355- "and :data:`types_map`."
342+ "one is for the standard types. They are initialized with some predefined "
343+ "values and MIME type information loaded from files specified by the "
344+ "*filenames* argument."
356345msgstr ""
357- "ファイル名拡張子を MIME 型にマッピングする 2 種類の辞書のタプル; 最初の辞書は"
358- "非標準型、二つ目は標準型の辞書です。初期状態ではそれぞれ :data:"
359- "`common_types` と :data:`types_map` です。"
360346
361- #: ../../library/mimetypes.rst:239
347+ #: ../../library/mimetypes.rst:240
362348msgid ""
363349"Tuple containing two dictionaries, mapping MIME types to a list of filename "
364350"extensions: the first dictionary is for the non-standards types and the "
365- "second one is for the standard types. They are initialized by :data:"
366- "`common_types` and :data:`types_map`."
351+ "second one is for the standard types. They are initialized with some "
352+ "predefined values and MIME type information loaded from files specified by "
353+ "the *filenames* argument."
367354msgstr ""
368- "MIME 型をファイル名拡張子のリストにマッピングする 2 種類の辞書のタプル; 最初"
369- "の辞書は非標準型、二つ目は標準型の辞書です。初期状態ではそれぞれ :data:"
370- "`common_types` と :data:`types_map` です。"
371355
372- #: ../../library/mimetypes.rst:247
356+ #: ../../library/mimetypes.rst:249
373357msgid ""
374358"Similar to the :func:`guess_extension` function, using the tables stored as "
375359"part of the object."
376360msgstr ""
377361":func:`guess_extension` 関数と同様ですが、オブジェクトに保存されたテーブルを"
378362"使用します。"
379363
380- #: ../../library/mimetypes.rst:253
364+ #: ../../library/mimetypes.rst:255
381365msgid ""
382366"Similar to the :func:`guess_type` function, using the tables stored as part "
383367"of the object."
384368msgstr ""
385369":func:`guess_type` 関数と同様ですが、オブジェクトに保存されたテーブルを使用し"
386370"ます。"
387371
388- #: ../../library/mimetypes.rst:259
372+ #: ../../library/mimetypes.rst:261
389373msgid ""
390374"Similar to the :func:`guess_file_type` function, using the tables stored as "
391375"part of the object."
392376msgstr ""
393377
394- #: ../../library/mimetypes.rst:267
378+ #: ../../library/mimetypes.rst:269
395379msgid ""
396380"Similar to the :func:`guess_all_extensions` function, using the tables "
397381"stored as part of the object."
398382msgstr ""
399383":func:`guess_all_extensions` と同様ですが、オブジェクトに保存されたテーブルを"
400384"参照します。"
401385
402- #: ../../library/mimetypes.rst:273
386+ #: ../../library/mimetypes.rst:275
403387msgid ""
404388"Load MIME information from a file named *filename*. This uses :meth:"
405389"`readfp` to parse the file."
406390msgstr ""
407391"MIME 情報を、 *filename* という名のファイルからロードします。これはファイルを"
408392"解析するのに :meth:`readfp` を使用します。"
409393
410- #: ../../library/mimetypes.rst:276
394+ #: ../../library/mimetypes.rst:278
411395msgid ""
412396"If *strict* is ``True``, information will be added to list of standard "
413397"types, else to the list of non-standard types."
414398msgstr ""
415399"*strict* が ``True`` の時 (デフォルト) は、そのマッピングは標準 MIME 型のリス"
416400"トに、そうでなければ、非標準 MIME 型のリストに追加されます。"
417401
418- #: ../../library/mimetypes.rst:282
402+ #: ../../library/mimetypes.rst:284
419403msgid ""
420404"Load MIME type information from an open file *fp*. The file must have the "
421405"format of the standard :file:`mime.types` files."
422406msgstr ""
423407"MIME 型情報を、オープンしたファイル *fp* からロードします。ファイルは、標準"
424408"の :file:`mime.types` ファイルの形式でなければなりません。"
425409
426- #: ../../library/mimetypes.rst:285 ../../library/mimetypes.rst:295
410+ #: ../../library/mimetypes.rst:287 ../../library/mimetypes.rst:297
427411msgid ""
428412"If *strict* is ``True``, information will be added to the list of standard "
429413"types, else to the list of non-standard types."
430414msgstr ""
431415"*strict* が ``True`` の時 (デフォルト) は、そのマッピングは標準 MIME 型のリス"
432416"トに、そうでなければ、非標準 MIME 型のリストに追加されます。"
433417
434- #: ../../library/mimetypes.rst:291
418+ #: ../../library/mimetypes.rst:293
435419msgid "Load MIME type information from the Windows registry."
436420msgstr "MIME type 情報を Windows のレジストリから読み込みます。"
437421
438- #: ../../library/mimetypes.rst:293
422+ #: ../../library/mimetypes.rst:295
439423msgid "Availability"
440424msgstr ""
441425
442- #: ../../library/mimetypes.rst:303
426+ #: ../../library/mimetypes.rst:305
443427msgid ""
444428"Add a mapping from the MIME type *type* to the extension *ext*. Valid "
445429"extensions start with a '.' or are empty. When the extension is already "
446430"known, the new type will replace the old one. When the type is already known "
447431"the extension will be added to the list of known extensions."
448432msgstr ""
449433
450- #: ../../library/mimetypes.rst:311
434+ #: ../../library/mimetypes.rst:313
451435msgid ""
452436"Invalid, undotted extensions will raise a :exc:`ValueError` in Python 3.16."
453437msgstr ""
454438
455- #: ../../library/mimetypes.rst:319
439+ #: ../../library/mimetypes.rst:321
456440msgid "Command-line usage"
457441msgstr "コマンドラインでの使用"
458442
459- #: ../../library/mimetypes.rst:321
443+ #: ../../library/mimetypes.rst:323
460444msgid ""
461445"The :mod:`!mimetypes` module can be executed as a script from the command "
462446"line."
463447msgstr ""
464448
465- #: ../../library/mimetypes.rst:323
449+ #: ../../library/mimetypes.rst:325
466450msgid "python -m mimetypes [-h] [-e] [-l] type [type ...]"
467451msgstr ""
468452
469- #: ../../library/mimetypes.rst:327
453+ #: ../../library/mimetypes.rst:329
470454msgid "The following options are accepted:"
471455msgstr "以下のオプションが使用できます:"
472456
473- #: ../../library/mimetypes.rst:334
457+ #: ../../library/mimetypes.rst:336
474458msgid "Show the help message and exit."
475459msgstr "ヘルプメッセージを表示して終了します。"
476460
477- #: ../../library/mimetypes.rst:339
461+ #: ../../library/mimetypes.rst:341
478462msgid "Guess extension instead of type."
479463msgstr ""
480464
481- #: ../../library/mimetypes.rst:344
465+ #: ../../library/mimetypes.rst:346
482466msgid "Additionally search for some common, but non-standard types."
483467msgstr ""
484468
485- #: ../../library/mimetypes.rst:346
469+ #: ../../library/mimetypes.rst:348
486470msgid ""
487471"By default the script converts MIME types to file extensions. However, if "
488472"``--extension`` is specified, it converts file extensions to MIME types."
489473msgstr ""
490474
491- #: ../../library/mimetypes.rst:350
475+ #: ../../library/mimetypes.rst:352
492476msgid ""
493477"For each ``type`` entry, the script writes a line into the standard output "
494478"stream. If an unknown type occurs, it writes an error message into the "
495479"standard output stream and exits with the return code ``1``."
496480msgstr ""
497481
498- #: ../../library/mimetypes.rst:358
482+ #: ../../library/mimetypes.rst:360
499483msgid "Command-line example"
500484msgstr "コマンドラインの例"
501485
502- #: ../../library/mimetypes.rst:360
486+ #: ../../library/mimetypes.rst:362
503487msgid ""
504488"Here are some examples of typical usage of the :mod:`!mimetypes` command-"
505489"line interface:"
506490msgstr ""
507491
508- #: ../../library/mimetypes.rst:363
492+ #: ../../library/mimetypes.rst:365
509493msgid ""
510494"$ # get a MIME type by a file name\n"
511495"$ python -m mimetypes filename.png\n"
0 commit comments