11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2024 , Python Software Foundation
2+ # Copyright (C) 2001-2025 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
@@ -16,7 +16,7 @@ msgid ""
1616msgstr ""
1717"Project-Id-Version : Python 3.13\n "
1818"Report-Msgid-Bugs-To : \n "
19- "POT-Creation-Date : 2024-12-27 14:16+0000\n "
19+ "POT-Creation-Date : 2025-01-17 14:16+0000\n "
2020"PO-Revision-Date : 2021-06-28 01:06+0000\n "
2121"Last-Translator : 石井明久, 2024\n "
2222"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -109,15 +109,20 @@ msgstr ""
109109
110110#: ../../library/fnmatch.rst:49
111111msgid ""
112- "Also note that :func:`functools.lru_cache` with the *maxsize* of 32768 is "
113- "used to cache the compiled regex patterns in the following functions: :func:"
114- "`fnmatch`, :func:`fnmatchcase`, :func:`.filter`."
112+ "Unless stated otherwise, \" filename string\" and \" pattern string\" either "
113+ "refer to :class:`str` or ``ISO-8859-1`` encoded :class:`bytes` objects. Note "
114+ "that the functions documented below do not allow to mix a :class:`!bytes` "
115+ "pattern with a :class:`!str` filename, and vice-versa."
115116msgstr ""
116- "以下の関数 :func:`fnmatch`, :func:`fnmatchcase`, :func:`.filter` では、 *最大"
117- "サイズ* 32768の :func:`functools.lru_cache` をコンパイル済みの正規表現パター"
118- "ンのキャッシュに使用していることにも注意してください。"
119117
120- #: ../../library/fnmatch.rst:55
118+ #: ../../library/fnmatch.rst:54
119+ msgid ""
120+ "Finally, note that :func:`functools.lru_cache` with a *maxsize* of 32768 is "
121+ "used to cache the (typed) compiled regex patterns in the following "
122+ "functions: :func:`fnmatch`, :func:`fnmatchcase`, :func:`.filter`."
123+ msgstr ""
124+
125+ #: ../../library/fnmatch.rst:61
121126msgid ""
122127"Test whether the filename string *name* matches the pattern string *pat*, "
123128"returning ``True`` or ``False``. Both parameters are case-normalized using :"
@@ -131,15 +136,15 @@ msgstr ""
131136"テムが標準でどうなっているかに関係なく、大文字、小文字を区別して比較する場合"
132137"には、 :func:`fnmatchcase` が使用できます。"
133138
134- #: ../../library/fnmatch.rst:61
139+ #: ../../library/fnmatch.rst:67
135140msgid ""
136141"This example will print all file names in the current directory with the "
137142"extension ``.txt``::"
138143msgstr ""
139144"次の例では、カレントディレクトリにある、拡張子が ``.txt`` である全てのファイ"
140145"ルを表示しています::"
141146
142- #: ../../library/fnmatch.rst:64
147+ #: ../../library/fnmatch.rst:70
143148msgid ""
144149"import fnmatch\n"
145150"import os\n"
@@ -149,7 +154,7 @@ msgid ""
149154" print(file)"
150155msgstr ""
151156
152- #: ../../library/fnmatch.rst:74
157+ #: ../../library/fnmatch.rst:80
153158msgid ""
154159"Test whether the filename string *name* matches the pattern string *pat*, "
155160"returning ``True`` or ``False``; the comparison is case-sensitive and does "
@@ -159,33 +164,28 @@ msgstr ""
159164"``True`` または ``False`` を返します。比較は大文字、小文字を区別し、 :func:"
160165"`os.path.normcase` は適用しません。"
161166
162- #: ../../library/fnmatch.rst:81
167+ #: ../../library/fnmatch.rst:87
163168msgid ""
164- "Construct a list from those elements of the :term:`iterable` *names* that "
165- "match pattern *pat*. It is the same as ``[n for n in names if fnmatch(n, "
166- "pat)]``, but implemented more efficiently."
169+ "Construct a list from those elements of the :term:`iterable` of filename "
170+ "strings *names* that match the pattern string *pat*. It is the same as ``[n "
171+ "for n in names if fnmatch(n, pat)]``, but implemented more efficiently."
167172msgstr ""
168- "パターン *pat* にマッチする :term:`iterable` の *names* を要素とするリストを"
169- "構築します。``[n for n in names if fnmatch(n, pat)]`` と同じですが、より効率"
170- "よく実装されています。"
171173
172- #: ../../library/fnmatch.rst:89
174+ #: ../../library/fnmatch.rst:95
173175msgid ""
174176"Return the shell-style pattern *pat* converted to a regular expression for "
175- "using with :func:`re.match`."
177+ "using with :func:`re.match`. The pattern is expected to be a :class:`str`. "
176178msgstr ""
177- "シェルスタイルのパターン *pat* を、:func:`re.match` で使用するための正規表現"
178- "に変換して返します。"
179179
180- #: ../../library/fnmatch.rst:92
180+ #: ../../library/fnmatch.rst:98
181181msgid "Example:"
182182msgstr "例:"
183183
184- #: ../../library/fnmatch.rst:106
184+ #: ../../library/fnmatch.rst:112
185185msgid "Module :mod:`glob`"
186186msgstr ":mod:`glob` モジュール"
187187
188- #: ../../library/fnmatch.rst:107
188+ #: ../../library/fnmatch.rst:113
189189msgid "Unix shell-style path expansion."
190190msgstr "Unix シェル形式のパス展開。"
191191
0 commit comments