@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.10\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2021-06-29 12:56 +0000\n "
14
+ "POT-Creation-Date : 2021-08-05 13:13 +0000\n "
15
15
"PO-Revision-Date : 2021-06-28 01:06+0000\n "
16
16
"Last-Translator : tomo, 2021\n "
17
17
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -53,19 +53,24 @@ msgstr ""
53
53
54
54
#: ../../library/filecmp.rst:25
55
55
msgid ""
56
- "If *shallow* is true, files with identical :func:`os.stat` signatures are "
57
- "taken to be equal. Otherwise, the contents of the files are compared."
56
+ "If *shallow* is true and the :func:`os.stat` signatures (file type, size, "
57
+ "and modification time) of both files are identical, the files are taken to "
58
+ "be equal."
58
59
msgstr ""
59
- "*shallow* が真の場合、同一の :func:`os.stat` "
60
- "シグニチャを持つファイルは等しいとみなされます。そうでなければ、ファイルの内容が比較されます。"
61
60
62
- #: ../../library/filecmp.rst:28
61
+ #: ../../library/filecmp.rst:29
62
+ msgid ""
63
+ "Otherwise, the files are treated as different if their sizes or contents "
64
+ "differ."
65
+ msgstr ""
66
+
67
+ #: ../../library/filecmp.rst:31
63
68
msgid ""
64
69
"Note that no external programs are called from this function, giving it "
65
70
"portability and efficiency."
66
71
msgstr "可搬性と効率のために、この関数は外部プログラムを一切呼び出さないので注意してください。"
67
72
68
- #: ../../library/filecmp.rst:31
73
+ #: ../../library/filecmp.rst:34
69
74
msgid ""
70
75
"This function uses a cache for past comparisons and the results, with cache "
71
76
"entries invalidated if the :func:`os.stat` information for the file changes."
@@ -74,13 +79,13 @@ msgstr ""
74
79
"この関数は過去の比較と結果のキャッシュを使用します。ファイルの :func:`os.stat` "
75
80
"情報が変更された場合、キャッシュの項目は無効化されます。:func:`clear_cache` を使用して全キャッシュを削除することが出来ます。"
76
81
77
- #: ../../library/filecmp.rst:38
82
+ #: ../../library/filecmp.rst:41
78
83
msgid ""
79
84
"Compare the files in the two directories *dir1* and *dir2* whose names are "
80
85
"given by *common*."
81
86
msgstr "*dir1* と *dir2* ディレクトリの中の、*common* で指定されたファイルを比較します。"
82
87
83
- #: ../../library/filecmp.rst:41
88
+ #: ../../library/filecmp.rst:44
84
89
msgid ""
85
90
"Returns three lists of file names: *match*, *mismatch*, *errors*. *match* "
86
91
"contains the list of files that match, *mismatch* contains the names of "
@@ -94,13 +99,13 @@ msgstr ""
94
99
"は比較されなかったファイルが列挙されます。*errors* "
95
100
"になるのは、片方あるいは両方のディレクトリに存在しなかった、ユーザーにそのファイルを読む権限がなかった、その他何らかの理由で比較を完了することができなかった場合です。"
96
101
97
- #: ../../library/filecmp.rst:48
102
+ #: ../../library/filecmp.rst:51
98
103
msgid ""
99
104
"The *shallow* parameter has the same meaning and default value as for "
100
105
":func:`filecmp.cmp`."
101
106
msgstr "引数 *shallow* はその意味も標準の設定も :func:`filecmp.cmp` と同じです。"
102
107
103
- #: ../../library/filecmp.rst:51
108
+ #: ../../library/filecmp.rst:54
104
109
msgid ""
105
110
"For example, ``cmpfiles('a', 'b', ['c', 'd/e'])`` will compare ``a/c`` with "
106
111
"``b/c`` and ``a/d/e`` with ``b/d/e``. ``'c'`` and ``'d/e'`` will each be in"
@@ -109,19 +114,19 @@ msgstr ""
109
114
"例えば、``cmpfiles('a', 'b', ['c', 'd/e'])`` は ``a/c`` を ``b/c`` と、``a/d/e`` を "
110
115
"``b/d/e`` と、それぞれ比較します。``'c'`` と ``'d/e'`` はそれぞれ、返される3つのリストのいずれかに登録されます。"
111
116
112
- #: ../../library/filecmp.rst:58
117
+ #: ../../library/filecmp.rst:61
113
118
msgid ""
114
119
"Clear the filecmp cache. This may be useful if a file is compared so quickly"
115
120
" after it is modified that it is within the mtime resolution of the "
116
121
"underlying filesystem."
117
122
msgstr ""
118
123
"filecmp のキャッシュをクリアします。背後のファイルシステムの mtime 分解能未満でのファイル変更後にすぐに比較するような場合に有用です。"
119
124
120
- #: ../../library/filecmp.rst:68
125
+ #: ../../library/filecmp.rst:71
121
126
msgid "The :class:`dircmp` class"
122
127
msgstr ":class:`dircmp` クラス"
123
128
124
- #: ../../library/filecmp.rst:72
129
+ #: ../../library/filecmp.rst:75
125
130
msgid ""
126
131
"Construct a new directory comparison object, to compare the directories *a* "
127
132
"and *b*. *ignore* is a list of names to ignore, and defaults to "
@@ -132,34 +137,34 @@ msgstr ""
132
137
"は比較の際に無視するファイル名のリストで、標準の設定では :attr:`filecmp.DEFAULT_IGNORES` です。 *hide* "
133
138
"は表示しない名前のリストで、標準の設定では ``[os.curdir, os.pardir]`` です。"
134
139
135
- #: ../../library/filecmp.rst:77
140
+ #: ../../library/filecmp.rst:80
136
141
msgid ""
137
142
"The :class:`dircmp` class compares files by doing *shallow* comparisons as "
138
143
"described for :func:`filecmp.cmp`."
139
144
msgstr ""
140
145
":class:`dircmp` クラスは、 :func:`filecmp.cmp` で説明されているような *浅い* "
141
146
"比較を行うことによりファイルを比較します。"
142
147
143
- #: ../../library/filecmp.rst:80
148
+ #: ../../library/filecmp.rst:83
144
149
msgid "The :class:`dircmp` class provides the following methods:"
145
150
msgstr ":class:`dircmp` クラスは以下のメソッドを提供しています:"
146
151
147
- #: ../../library/filecmp.rst:84
152
+ #: ../../library/filecmp.rst:87
148
153
msgid "Print (to :data:`sys.stdout`) a comparison between *a* and *b*."
149
154
msgstr "*a* と *b* の比較を (:data:`sys.stdout` に) 表示します。"
150
155
151
- #: ../../library/filecmp.rst:88
156
+ #: ../../library/filecmp.rst:91
152
157
msgid ""
153
158
"Print a comparison between *a* and *b* and common immediate subdirectories."
154
159
msgstr "*a* および *b* およびそれらの直下にある共通のサブディレクトリ間での比較結果を出力します。"
155
160
156
- #: ../../library/filecmp.rst:93
161
+ #: ../../library/filecmp.rst:96
157
162
msgid ""
158
163
"Print a comparison between *a* and *b* and common subdirectories "
159
164
"(recursively)."
160
165
msgstr "*a* および *b* およびそれらの共通のサブディレクトリ間での比較結果を (再帰的に比較して) 出力します。"
161
166
162
- #: ../../library/filecmp.rst:96
167
+ #: ../../library/filecmp.rst:99
163
168
msgid ""
164
169
"The :class:`dircmp` class offers a number of interesting attributes that may"
165
170
" be used to get various bits of information about the directory trees being "
@@ -168,7 +173,7 @@ msgstr ""
168
173
":class:`dircmp` "
169
174
"クラスは、比較されているディレクトリ階層に関する様々な情報のビットを得るために使用することのできる、興味深い属性を数多く提供しています。"
170
175
171
- #: ../../library/filecmp.rst:100
176
+ #: ../../library/filecmp.rst:103
172
177
msgid ""
173
178
"Note that via :meth:`__getattr__` hooks, all attributes are computed lazily,"
174
179
" so there is no speed penalty if only those attributes which are lightweight"
@@ -177,83 +182,83 @@ msgstr ""
177
182
"すべての属性は :meth:`__getattr__` "
178
183
"フックによって遅延評価されるので、計算が軽い属性のみを使用した場合は、属性の計算による速度の低下は起こりません。"
179
184
180
- #: ../../library/filecmp.rst:107
185
+ #: ../../library/filecmp.rst:110
181
186
msgid "The directory *a*."
182
187
msgstr "ディレクトリ *a* です。"
183
188
184
- #: ../../library/filecmp.rst:112
189
+ #: ../../library/filecmp.rst:115
185
190
msgid "The directory *b*."
186
191
msgstr "ディレクトリ *b* です。"
187
192
188
- #: ../../library/filecmp.rst:117
193
+ #: ../../library/filecmp.rst:120
189
194
msgid "Files and subdirectories in *a*, filtered by *hide* and *ignore*."
190
195
msgstr "*a* にあるファイルおよびサブディレクトリです。*hide* および *ignore* でフィルタされています。"
191
196
192
- #: ../../library/filecmp.rst:122
197
+ #: ../../library/filecmp.rst:125
193
198
msgid "Files and subdirectories in *b*, filtered by *hide* and *ignore*."
194
199
msgstr "*b* にあるファイルおよびサブディレクトリです。*hide* および *ignore* でフィルタされています。"
195
200
196
- #: ../../library/filecmp.rst:127
201
+ #: ../../library/filecmp.rst:130
197
202
msgid "Files and subdirectories in both *a* and *b*."
198
203
msgstr "*a* および *b* の両方にあるファイルおよびサブディレクトリです。"
199
204
200
- #: ../../library/filecmp.rst:132
205
+ #: ../../library/filecmp.rst:135
201
206
msgid "Files and subdirectories only in *a*."
202
207
msgstr "*a* だけにあるファイルおよびサブディレクトリです。"
203
208
204
- #: ../../library/filecmp.rst:137
209
+ #: ../../library/filecmp.rst:140
205
210
msgid "Files and subdirectories only in *b*."
206
211
msgstr "*b* だけにあるファイルおよびサブディレクトリです。"
207
212
208
- #: ../../library/filecmp.rst:142
213
+ #: ../../library/filecmp.rst:145
209
214
msgid "Subdirectories in both *a* and *b*."
210
215
msgstr "*a* および *b* の両方にあるサブディレクトリです。"
211
216
212
- #: ../../library/filecmp.rst:147
217
+ #: ../../library/filecmp.rst:150
213
218
msgid "Files in both *a* and *b*."
214
219
msgstr "*a* および *b* の両方にあるファイルです。"
215
220
216
- #: ../../library/filecmp.rst:152
221
+ #: ../../library/filecmp.rst:155
217
222
msgid ""
218
223
"Names in both *a* and *b*, such that the type differs between the "
219
224
"directories, or names for which :func:`os.stat` reports an error."
220
225
msgstr ""
221
226
"*a* および *b* の両方にあり、ディレクトリ間でタイプが異なるか、 :func:`os.stat` がエラーを報告するような名前です。"
222
227
223
- #: ../../library/filecmp.rst:158
228
+ #: ../../library/filecmp.rst:161
224
229
msgid ""
225
230
"Files which are identical in both *a* and *b*, using the class's file "
226
231
"comparison operator."
227
232
msgstr "クラスのファイル比較オペレータを用いて *a* と *b* の両方において同一のファイルです。"
228
233
229
- #: ../../library/filecmp.rst:164
234
+ #: ../../library/filecmp.rst:167
230
235
msgid ""
231
236
"Files which are in both *a* and *b*, whose contents differ according to the "
232
237
"class's file comparison operator."
233
238
msgstr "*a* と *b* の両方に存在し、クラスのファイル比較オペレータに基づいて内容が異なるファイルです。"
234
239
235
- #: ../../library/filecmp.rst:170
240
+ #: ../../library/filecmp.rst:173
236
241
msgid "Files which are in both *a* and *b*, but could not be compared."
237
242
msgstr "*a* および *b* 両方にあるが、比較されなかったファイルです。"
238
243
239
- #: ../../library/filecmp.rst:175
244
+ #: ../../library/filecmp.rst:178
240
245
msgid ""
241
246
"A dictionary mapping names in :attr:`common_dirs` to :class:`dircmp` "
242
247
"instances (or MyDirCmp instances if this instance is of type MyDirCmp, a "
243
248
"subclass of :class:`dircmp`)."
244
249
msgstr ""
245
250
246
- #: ../../library/filecmp.rst:179
251
+ #: ../../library/filecmp.rst:182
247
252
msgid ""
248
253
"Previously entries were always :class:`dircmp` instances. Now entries are "
249
254
"the same type as *self*, if *self* is a subclass of :class:`dircmp`."
250
255
msgstr ""
251
256
252
- #: ../../library/filecmp.rst:188
257
+ #: ../../library/filecmp.rst:191
253
258
msgid "List of directories ignored by :class:`dircmp` by default."
254
259
msgstr "デフォルトで :class:`dircmp` に無視されるディレクトリのリストです。"
255
260
256
- #: ../../library/filecmp.rst:191
261
+ #: ../../library/filecmp.rst:194
257
262
msgid ""
258
263
"Here is a simplified example of using the ``subdirs`` attribute to search "
259
264
"recursively through two directories to show common different files::"
0 commit comments