@@ -17,9 +17,8 @@ msgstr ""
17
17
"Generated-By : Babel 2.17.0\n "
18
18
19
19
#: ../../library/filecmp.rst:2
20
- #, fuzzy
21
20
msgid ":mod:`!filecmp` --- File and Directory Comparisons"
22
- msgstr ":mod:`filecmp` --- 파일과 디렉터리 비교"
21
+ msgstr ":mod:`! filecmp` --- 파일과 디렉터리 비교"
23
22
24
23
#: ../../library/filecmp.rst:9
25
24
msgid "**Source code:** :source:`Lib/filecmp.py`"
@@ -52,12 +51,14 @@ msgid ""
52
51
" and modification time) of both files are identical, the files are taken "
53
52
"to be equal."
54
53
msgstr ""
54
+ "*shallow*\\ 가 참이고 두 파일의 :func:`os.stat` 서명(파일 유형, 크기, 수정 시간)이 동일하면, 파일을 "
55
+ "같다고 취급합니다."
55
56
56
57
#: ../../library/filecmp.rst:29
57
58
msgid ""
58
59
"Otherwise, the files are treated as different if their sizes or contents "
59
60
"differ."
60
- msgstr ""
61
+ msgstr "그렇지 않으면, 파일의 크기나 내용이 다를 때 다르다고 취급합니다. "
61
62
62
63
#: ../../library/filecmp.rst:31
63
64
msgid ""
@@ -122,30 +123,28 @@ msgid "The :class:`dircmp` class"
122
123
msgstr ":class:`dircmp` 클래스"
123
124
124
125
#: ../../library/filecmp.rst:75
125
- #, fuzzy
126
126
msgid ""
127
127
"Construct a new directory comparison object, to compare the directories "
128
128
"*a* and *b*. *ignore* is a list of names to ignore, and defaults to "
129
129
":const:`filecmp.DEFAULT_IGNORES`. *hide* is a list of names to hide, and"
130
130
" defaults to ``[os.curdir, os.pardir]``."
131
131
msgstr ""
132
132
"*a*\\ 와 *b* 디렉터리를 비교하기 위한, 새로운 디렉터리 비교 객체를 만듭니다. *ignore*\\ 는 무시할 이름 리스트며, "
133
- "기본값은 :attr :`filecmp.DEFAULT_IGNORES`\\ 입니다. *hide*\\ 는 숨길 이름 리스트며 기본값은 "
133
+ "기본값은 :const :`filecmp.DEFAULT_IGNORES`\\ 입니다. *hide*\\ 는 숨길 이름 리스트며 기본값은 "
134
134
"``[os.curdir, os.pardir]``\\ 입니다."
135
135
136
136
#: ../../library/filecmp.rst:80
137
- #, fuzzy
138
137
msgid ""
139
138
"The :class:`dircmp` class compares files by doing *shallow* comparisons "
140
139
"as described for :func:`filecmp.cmp` by default using the *shallow* "
141
140
"parameter."
142
141
msgstr ""
143
- ":class:`dircmp` 클래스는 :func:`filecmp.cmp` \\ 에서 설명한 대로 *얕은(shallow)* 비교를 "
144
- "수행하여 파일을 비교합니다."
142
+ ":class:`dircmp` 클래스는 (*shallow* 매개 변수를 지원하지만) 기본적으로는 "
143
+ ":func:`filecmp.cmp` \\ 에서 설명하는 *얕은(shallow)* 비교를 통해 파일을 비교합니다."
145
144
146
145
#: ../../library/filecmp.rst:86
147
146
msgid "Added the *shallow* parameter."
148
- msgstr ""
147
+ msgstr "*shallow* 매개 변수를 추가했습니다. "
149
148
150
149
#: ../../library/filecmp.rst:88
151
150
msgid "The :class:`dircmp` class provides the following methods:"
@@ -177,14 +176,13 @@ msgstr ""
177
176
" 어트리뷰트를 제공합니다."
178
177
179
178
#: ../../library/filecmp.rst:108
180
- #, fuzzy
181
179
msgid ""
182
180
"Note that via :meth:`~object.__getattr__` hooks, all attributes are "
183
181
"computed lazily, so there is no speed penalty if only those attributes "
184
182
"which are lightweight to compute are used."
185
183
msgstr ""
186
- ":meth:`__getattr__` 훅을 통해, 모든 어트리뷰트가 느긋하게(lazily) 계산되므로, 계산하기가 가벼운 어트리뷰트만 "
187
- " 사용하면 속도가 저하되지 않습니다."
184
+ ":meth:`~object. __getattr__` 훅을 통해, 모든 어트리뷰트가 느긋하게(lazily) 계산되므로, 계산하기가 "
185
+ "가벼운 어트리뷰트만 사용하면 속도가 저하되지 않습니다."
188
186
189
187
#: ../../library/filecmp.rst:115
190
188
msgid "The directory *a*."
@@ -250,6 +248,8 @@ msgid ""
250
248
"instances (or MyDirCmp instances if this instance is of type MyDirCmp, a "
251
249
"subclass of :class:`dircmp`)."
252
250
msgstr ""
251
+ ":attr:`common_dirs`\\ 의 이름을 :class:`dircmp` 인스턴스로 (또는 이 인스턴스가 "
252
+ ":class:`dircmp`\\ 의 서브 클래스인 MyDirCmp 형이면 MyDirCmp 인스턴스로) 매핑하는 딕셔너리."
253
253
254
254
#: ../../library/filecmp.rst:187
255
255
msgid ""
@@ -284,19 +284,15 @@ msgid ""
284
284
">>> dcmp = dircmp('dir1', 'dir2')\n"
285
285
">>> print_diff_files(dcmp)"
286
286
msgstr ""
287
-
288
- #~ msgid ""
289
- #~ "If *shallow* is true, files with "
290
- #~ "identical :func:`os.stat` signatures are taken"
291
- #~ " to be equal. Otherwise, the "
292
- #~ "contents of the files are compared."
293
- #~ msgstr ""
294
- #~ "*shallow*\\가 참이면 같은 :func:`os.stat` 서명을 "
295
- #~ "갖는 파일을 같다고 취급합니다. 그렇지 않으면 파일의 "
296
- #~ "내용을 비교합니다."
297
-
298
- #~ msgid ""
299
- #~ "A dictionary mapping names in "
300
- #~ ":attr:`common_dirs` to :class:`dircmp` objects."
301
- #~ msgstr ":attr:`common_dirs`\\의 이름을 :class:`dircmp` 객체로 매핑하는 딕셔너리."
287
+ ">>> from filecmp import dircmp\n"
288
+ ">>> def print_diff_files(dcmp):\n"
289
+ "... for name in dcmp.diff_files:\n"
290
+ "... print(\" diff_file %s found in %s and %s\" % (name, dcmp.left,"
291
+ "\n"
292
+ "... dcmp.right))\n"
293
+ "... for sub_dcmp in dcmp.subdirs.values():\n"
294
+ "... print_diff_files(sub_dcmp)\n"
295
+ "...\n"
296
+ ">>> dcmp = dircmp('dir1', 'dir2')\n"
297
+ ">>> print_diff_files(dcmp)"
302
298
0 commit comments