1
1
# SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) 2001-2024 , Python Software Foundation
2
+ # Copyright (C) 2001-2025 , Python Software Foundation
3
3
# This file is distributed under the same license as the Python package.
4
4
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
5
#
@@ -16,7 +16,7 @@ msgid ""
16
16
msgstr ""
17
17
"Project-Id-Version : Python 3.13\n "
18
18
"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 "
20
20
"PO-Revision-Date : 2021-06-28 01:06+0000\n "
21
21
"Last-Translator : 石井明久, 2024\n "
22
22
"Language-Team : Japanese (https://app.transifex.com/python-doc/teams/5390/ "
@@ -109,15 +109,20 @@ msgstr ""
109
109
110
110
#: ../../library/fnmatch.rst:49
111
111
msgid ""
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."
115
116
msgstr ""
116
- "以下の関数 :func:`fnmatch`, :func:`fnmatchcase`, :func:`.filter` では、 *最大"
117
- "サイズ* 32768の :func:`functools.lru_cache` をコンパイル済みの正規表現パター"
118
- "ンのキャッシュに使用していることにも注意してください。"
119
117
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
121
126
msgid ""
122
127
"Test whether the filename string *name* matches the pattern string *pat*, "
123
128
"returning ``True`` or ``False``. Both parameters are case-normalized using :"
@@ -131,15 +136,15 @@ msgstr ""
131
136
"テムが標準でどうなっているかに関係なく、大文字、小文字を区別して比較する場合"
132
137
"には、 :func:`fnmatchcase` が使用できます。"
133
138
134
- #: ../../library/fnmatch.rst:61
139
+ #: ../../library/fnmatch.rst:67
135
140
msgid ""
136
141
"This example will print all file names in the current directory with the "
137
142
"extension ``.txt``::"
138
143
msgstr ""
139
144
"次の例では、カレントディレクトリにある、拡張子が ``.txt`` である全てのファイ"
140
145
"ルを表示しています::"
141
146
142
- #: ../../library/fnmatch.rst:64
147
+ #: ../../library/fnmatch.rst:70
143
148
msgid ""
144
149
"import fnmatch\n"
145
150
"import os\n"
@@ -149,7 +154,7 @@ msgid ""
149
154
" print(file)"
150
155
msgstr ""
151
156
152
- #: ../../library/fnmatch.rst:74
157
+ #: ../../library/fnmatch.rst:80
153
158
msgid ""
154
159
"Test whether the filename string *name* matches the pattern string *pat*, "
155
160
"returning ``True`` or ``False``; the comparison is case-sensitive and does "
@@ -159,33 +164,28 @@ msgstr ""
159
164
"``True`` または ``False`` を返します。比較は大文字、小文字を区別し、 :func:"
160
165
"`os.path.normcase` は適用しません。"
161
166
162
- #: ../../library/fnmatch.rst:81
167
+ #: ../../library/fnmatch.rst:87
163
168
msgid ""
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."
167
172
msgstr ""
168
- "パターン *pat* にマッチする :term:`iterable` の *names* を要素とするリストを"
169
- "構築します。``[n for n in names if fnmatch(n, pat)]`` と同じですが、より効率"
170
- "よく実装されています。"
171
173
172
- #: ../../library/fnmatch.rst:89
174
+ #: ../../library/fnmatch.rst:95
173
175
msgid ""
174
176
"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`. "
176
178
msgstr ""
177
- "シェルスタイルのパターン *pat* を、:func:`re.match` で使用するための正規表現"
178
- "に変換して返します。"
179
179
180
- #: ../../library/fnmatch.rst:92
180
+ #: ../../library/fnmatch.rst:98
181
181
msgid "Example:"
182
182
msgstr "例:"
183
183
184
- #: ../../library/fnmatch.rst:106
184
+ #: ../../library/fnmatch.rst:112
185
185
msgid "Module :mod:`glob`"
186
186
msgstr ":mod:`glob` モジュール"
187
187
188
- #: ../../library/fnmatch.rst:107
188
+ #: ../../library/fnmatch.rst:113
189
189
msgid "Unix shell-style path expansion."
190
190
msgstr "Unix シェル形式のパス展開。"
191
191
0 commit comments