@@ -17,9 +17,8 @@ msgstr ""
17
17
"Generated-By : Babel 2.17.0\n "
18
18
19
19
#: ../../library/textwrap.rst:2
20
- #, fuzzy
21
20
msgid ":mod:`!textwrap` --- Text wrapping and filling"
22
- msgstr ":mod:`textwrap` --- 텍스트 래핑과 채우기"
21
+ msgstr ":mod:`! textwrap` --- 텍스트 래핑과 채우기"
23
22
24
23
#: ../../library/textwrap.rst:10
25
24
msgid "**Source code:** :source:`Lib/textwrap.py`"
@@ -47,13 +46,10 @@ msgstr ""
47
46
"없는 출력 줄의 리스트를 반환합니다."
48
47
49
48
#: ../../library/textwrap.rst:31
50
- #, fuzzy
51
49
msgid ""
52
50
"Optional keyword arguments correspond to the instance attributes of "
53
51
":class:`TextWrapper`, documented below."
54
- msgstr ""
55
- "선택적 키워드 인자는 아래에 설명된 :class:`TextWrapper`\\ 의 인스턴스 어트리뷰트에 해당합니다. *width*\\ 의"
56
- " 기본값은 ``70``\\ 입니다."
52
+ msgstr "선택적 키워드 인자는 아래에 설명된 :class:`TextWrapper`\\ 의 인스턴스 어트리뷰트에 해당합니다."
57
53
58
54
#: ../../library/textwrap.rst:34
59
55
msgid ""
@@ -71,7 +67,7 @@ msgstr ""
71
67
72
68
#: ../../library/textwrap.rst:48
73
69
msgid "\"\\ n\" .join(wrap(text, ...))"
74
- msgstr ""
70
+ msgstr "\"\\ n \" .join(wrap(text, ...)) "
75
71
76
72
#: ../../library/textwrap.rst:50
77
73
msgid ""
@@ -84,16 +80,15 @@ msgid "Collapse and truncate the given *text* to fit in the given *width*."
84
80
msgstr "주어진 *width*\\ 에 맞게 주어진 *text*\\ 를 축약하거나 자릅니다."
85
81
86
82
#: ../../library/textwrap.rst:60
87
- #, fuzzy
88
83
msgid ""
89
84
"First the whitespace in *text* is collapsed (all whitespace is replaced "
90
85
"by single spaces). If the result fits in the *width*, it is returned. "
91
86
"Otherwise, enough words are dropped from the end so that the remaining "
92
87
"words plus the *placeholder* fit within *width*::"
93
88
msgstr ""
94
89
"먼저 *text*\\ 에 있는 공백이 축약됩니다 (모든 공백이 단일 스페이스로 치환됩니다). 결과가 *width*\\ 에 맞으면 "
95
- "반환됩니다. 그렇지 않으면, 나머지 단어와 :attr:` placeholder` \\ 가 :attr:` width` 내에 맞도록 충분한 "
96
- "단어가 끝에서 삭제됩니다::"
90
+ "반환됩니다. 그렇지 않으면, 나머지 단어와 * placeholder* \\ 가 * width* 내에 맞도록 충분한 단어가 끝에서 "
91
+ "삭제됩니다::"
97
92
98
93
#: ../../library/textwrap.rst:65
99
94
msgid ""
@@ -104,6 +99,12 @@ msgid ""
104
99
">>> textwrap.shorten(\" Hello world\" , width=10, placeholder=\" ...\" )\n"
105
100
"'Hello...'"
106
101
msgstr ""
102
+ ">>> textwrap.shorten(\" Hello world!\" , width=12)\n"
103
+ "'Hello world!'\n"
104
+ ">>> textwrap.shorten(\" Hello world!\" , width=11)\n"
105
+ "'Hello [...]'\n"
106
+ ">>> textwrap.shorten(\" Hello world\" , width=10, placeholder=\" ...\" )\n"
107
+ "'Hello...'"
107
108
108
109
#: ../../library/textwrap.rst:72
109
110
msgid ""
@@ -162,6 +163,14 @@ msgid ""
162
163
" print(repr(s)) # prints ' hello\\ n world\\ n '\n"
163
164
" print(repr(dedent(s))) # prints 'hello\\ n world\\ n'"
164
165
msgstr ""
166
+ "def test():\n"
167
+ " # 빈 줄을 피하려고 첫 줄을 \\ 로 끝냅니다!\n"
168
+ " s = '''\\ \n"
169
+ " hello\n"
170
+ " world\n"
171
+ " '''\n"
172
+ " print(repr(s)) # ' hello\\ n world\\ n ' 를 인쇄합니다\n"
173
+ " print(repr(dedent(s))) # 'hello\\ n world\\ n' 를 인쇄합니다"
165
174
166
175
#: ../../library/textwrap.rst:108
167
176
msgid "Add *prefix* to the beginning of selected lines in *text*."
@@ -183,6 +192,9 @@ msgid ""
183
192
">>> indent(s, ' ')\n"
184
193
"' hello\\ n\\ n \\ n world'"
185
194
msgstr ""
195
+ ">>> s = 'hello\\ n\\ n \\ nworld'\n"
196
+ ">>> indent(s, ' ')\n"
197
+ "' hello\\ n\\ n \\ n world'"
186
198
187
199
#: ../../library/textwrap.rst:121
188
200
msgid ""
@@ -201,6 +213,11 @@ msgid ""
201
213
"+\n"
202
214
"+ world"
203
215
msgstr ""
216
+ ">>> print(indent(s, '+ ', lambda line: True))\n"
217
+ "+ hello\n"
218
+ "+\n"
219
+ "+\n"
220
+ "+ world"
204
221
205
222
#: ../../library/textwrap.rst:134
206
223
msgid ""
@@ -236,7 +253,7 @@ msgstr ""
236
253
237
254
#: ../../library/textwrap.rst:150
238
255
msgid "wrapper = TextWrapper(initial_indent=\" * \" )"
239
- msgstr ""
256
+ msgstr "wrapper = TextWrapper(initial_indent= \" * \" ) "
240
257
241
258
#: ../../library/textwrap.rst:152
242
259
msgid "is the same as ::"
@@ -247,9 +264,10 @@ msgid ""
247
264
"wrapper = TextWrapper()\n"
248
265
"wrapper.initial_indent = \" * \" "
249
266
msgstr ""
267
+ "wrapper = TextWrapper()\n"
268
+ "wrapper.initial_indent = \" * \" "
250
269
251
270
#: ../../library/textwrap.rst:157
252
- #, fuzzy
253
271
msgid ""
254
272
"You can reuse the same :class:`TextWrapper` object many times, and you "
255
273
"can change any of its options through direct assignment to instance "
@@ -275,13 +293,12 @@ msgstr ""
275
293
":class:`TextWrapper`\\ 는 :attr:`width` 문자보다 긴 출력 줄이 없음을 보장합니다."
276
294
277
295
#: ../../library/textwrap.rst:175
278
- #, fuzzy
279
296
msgid ""
280
297
"(default: ``True``) If true, then all tab characters in *text* will be "
281
298
"expanded to spaces using the :meth:`~str.expandtabs` method of *text*."
282
299
msgstr ""
283
- "(기본값: ``True``) 참이면, *text*\\ 의 모든 탭 문자가 *text*\\ 의 :meth:`expandtabs` 메서드를 "
284
- " 사용하여 스페이스로 확장됩니다."
300
+ "(기본값: ``True``) 참이면, *text*\\ 의 모든 탭 문자가 *text*\\ 의 :meth:`~str. expandtabs`"
301
+ " 메서드를 사용하여 스페이스로 확장됩니다."
285
302
286
303
#: ../../library/textwrap.rst:181
287
304
msgid ""
@@ -353,7 +370,6 @@ msgstr ""
353
370
"계산에 포함됩니다."
354
371
355
372
#: ../../library/textwrap.rst:235
356
- #, fuzzy
357
373
msgid ""
358
374
"(default: ``False``) If true, :class:`TextWrapper` attempts to detect "
359
375
"sentence endings and ensure that sentences are always separated by "
@@ -372,15 +388,15 @@ msgstr ""
372
388
373
389
#: ../../library/textwrap.rst:244
374
390
msgid "[...] Dr. Frankenstein's monster [...]"
375
- msgstr ""
391
+ msgstr "[...] Dr. Frankenstein's monster [...] "
376
392
377
393
#: ../../library/textwrap.rst:246
378
394
msgid "and \" Spot.\" in ::"
379
395
msgstr "다음에 나오는 \" Spot.\" 사이의 차이점을 탐지할 수 없다는 것입니다 ::"
380
396
381
397
#: ../../library/textwrap.rst:248
382
398
msgid "[...] See Spot. See Spot run [...]"
383
- msgstr ""
399
+ msgstr "[...] See Spot. See Spot run [...] "
384
400
385
401
#: ../../library/textwrap.rst:250
386
402
msgid ":attr:`fix_sentence_endings` is false by default."
@@ -465,9 +481,9 @@ msgstr "*text*\\에 있는 단일 문단을 래핑하고, 래핑 된 문단을
465
481
466
482
#: ../../library/textwrap.rst:285
467
483
msgid "..."
468
- msgstr ""
484
+ msgstr "... "
469
485
470
486
#: ../../library/textwrap.rst:285
471
487
msgid "placeholder"
472
- msgstr ""
488
+ msgstr "플레이스홀더 "
473
489
0 commit comments