@@ -17,9 +17,8 @@ msgstr ""
1717"Generated-By : Babel 2.17.0\n "
1818
1919#: ../../library/textwrap.rst:2
20- #, fuzzy
2120msgid ":mod:`!textwrap` --- Text wrapping and filling"
22- msgstr ":mod:`textwrap` --- 텍스트 래핑과 채우기"
21+ msgstr ":mod:`! textwrap` --- 텍스트 래핑과 채우기"
2322
2423#: ../../library/textwrap.rst:10
2524msgid "**Source code:** :source:`Lib/textwrap.py`"
@@ -47,13 +46,10 @@ msgstr ""
4746"없는 출력 줄의 리스트를 반환합니다."
4847
4948#: ../../library/textwrap.rst:31
50- #, fuzzy
5149msgid ""
5250"Optional keyword arguments correspond to the instance attributes of "
5351":class:`TextWrapper`, documented below."
54- msgstr ""
55- "선택적 키워드 인자는 아래에 설명된 :class:`TextWrapper`\\ 의 인스턴스 어트리뷰트에 해당합니다. *width*\\ 의"
56- " 기본값은 ``70``\\ 입니다."
52+ msgstr "선택적 키워드 인자는 아래에 설명된 :class:`TextWrapper`\\ 의 인스턴스 어트리뷰트에 해당합니다."
5753
5854#: ../../library/textwrap.rst:34
5955msgid ""
@@ -71,7 +67,7 @@ msgstr ""
7167
7268#: ../../library/textwrap.rst:48
7369msgid "\"\\ n\" .join(wrap(text, ...))"
74- msgstr ""
70+ msgstr "\"\\ n \" .join(wrap(text, ...)) "
7571
7672#: ../../library/textwrap.rst:50
7773msgid ""
@@ -84,16 +80,15 @@ msgid "Collapse and truncate the given *text* to fit in the given *width*."
8480msgstr "주어진 *width*\\ 에 맞게 주어진 *text*\\ 를 축약하거나 자릅니다."
8581
8682#: ../../library/textwrap.rst:60
87- #, fuzzy
8883msgid ""
8984"First the whitespace in *text* is collapsed (all whitespace is replaced "
9085"by single spaces). If the result fits in the *width*, it is returned. "
9186"Otherwise, enough words are dropped from the end so that the remaining "
9287"words plus the *placeholder* fit within *width*::"
9388msgstr ""
9489"먼저 *text*\\ 에 있는 공백이 축약됩니다 (모든 공백이 단일 스페이스로 치환됩니다). 결과가 *width*\\ 에 맞으면 "
95- "반환됩니다. 그렇지 않으면, 나머지 단어와 :attr:` placeholder` \\ 가 :attr:` width` 내에 맞도록 충분한 "
96- "단어가 끝에서 삭제됩니다::"
90+ "반환됩니다. 그렇지 않으면, 나머지 단어와 * placeholder* \\ 가 * width* 내에 맞도록 충분한 단어가 끝에서 "
91+ "삭제됩니다::"
9792
9893#: ../../library/textwrap.rst:65
9994msgid ""
@@ -104,6 +99,12 @@ msgid ""
10499">>> textwrap.shorten(\" Hello world\" , width=10, placeholder=\" ...\" )\n"
105100"'Hello...'"
106101msgstr ""
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...'"
107108
108109#: ../../library/textwrap.rst:72
109110msgid ""
@@ -162,6 +163,14 @@ msgid ""
162163" print(repr(s)) # prints ' hello\\ n world\\ n '\n"
163164" print(repr(dedent(s))) # prints 'hello\\ n world\\ n'"
164165msgstr ""
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' 를 인쇄합니다"
165174
166175#: ../../library/textwrap.rst:108
167176msgid "Add *prefix* to the beginning of selected lines in *text*."
@@ -183,6 +192,9 @@ msgid ""
183192">>> indent(s, ' ')\n"
184193"' hello\\ n\\ n \\ n world'"
185194msgstr ""
195+ ">>> s = 'hello\\ n\\ n \\ nworld'\n"
196+ ">>> indent(s, ' ')\n"
197+ "' hello\\ n\\ n \\ n world'"
186198
187199#: ../../library/textwrap.rst:121
188200msgid ""
@@ -201,6 +213,11 @@ msgid ""
201213"+\n"
202214"+ world"
203215msgstr ""
216+ ">>> print(indent(s, '+ ', lambda line: True))\n"
217+ "+ hello\n"
218+ "+\n"
219+ "+\n"
220+ "+ world"
204221
205222#: ../../library/textwrap.rst:134
206223msgid ""
@@ -236,7 +253,7 @@ msgstr ""
236253
237254#: ../../library/textwrap.rst:150
238255msgid "wrapper = TextWrapper(initial_indent=\" * \" )"
239- msgstr ""
256+ msgstr "wrapper = TextWrapper(initial_indent= \" * \" ) "
240257
241258#: ../../library/textwrap.rst:152
242259msgid "is the same as ::"
@@ -247,9 +264,10 @@ msgid ""
247264"wrapper = TextWrapper()\n"
248265"wrapper.initial_indent = \" * \" "
249266msgstr ""
267+ "wrapper = TextWrapper()\n"
268+ "wrapper.initial_indent = \" * \" "
250269
251270#: ../../library/textwrap.rst:157
252- #, fuzzy
253271msgid ""
254272"You can reuse the same :class:`TextWrapper` object many times, and you "
255273"can change any of its options through direct assignment to instance "
@@ -275,13 +293,12 @@ msgstr ""
275293":class:`TextWrapper`\\ 는 :attr:`width` 문자보다 긴 출력 줄이 없음을 보장합니다."
276294
277295#: ../../library/textwrap.rst:175
278- #, fuzzy
279296msgid ""
280297"(default: ``True``) If true, then all tab characters in *text* will be "
281298"expanded to spaces using the :meth:`~str.expandtabs` method of *text*."
282299msgstr ""
283- "(기본값: ``True``) 참이면, *text*\\ 의 모든 탭 문자가 *text*\\ 의 :meth:`expandtabs` 메서드를 "
284- " 사용하여 스페이스로 확장됩니다."
300+ "(기본값: ``True``) 참이면, *text*\\ 의 모든 탭 문자가 *text*\\ 의 :meth:`~str. expandtabs`"
301+ " 메서드를 사용하여 스페이스로 확장됩니다."
285302
286303#: ../../library/textwrap.rst:181
287304msgid ""
@@ -353,7 +370,6 @@ msgstr ""
353370"계산에 포함됩니다."
354371
355372#: ../../library/textwrap.rst:235
356- #, fuzzy
357373msgid ""
358374"(default: ``False``) If true, :class:`TextWrapper` attempts to detect "
359375"sentence endings and ensure that sentences are always separated by "
@@ -372,15 +388,15 @@ msgstr ""
372388
373389#: ../../library/textwrap.rst:244
374390msgid "[...] Dr. Frankenstein's monster [...]"
375- msgstr ""
391+ msgstr "[...] Dr. Frankenstein's monster [...] "
376392
377393#: ../../library/textwrap.rst:246
378394msgid "and \" Spot.\" in ::"
379395msgstr "다음에 나오는 \" Spot.\" 사이의 차이점을 탐지할 수 없다는 것입니다 ::"
380396
381397#: ../../library/textwrap.rst:248
382398msgid "[...] See Spot. See Spot run [...]"
383- msgstr ""
399+ msgstr "[...] See Spot. See Spot run [...] "
384400
385401#: ../../library/textwrap.rst:250
386402msgid ":attr:`fix_sentence_endings` is false by default."
@@ -465,9 +481,9 @@ msgstr "*text*\\에 있는 단일 문단을 래핑하고, 래핑 된 문단을
465481
466482#: ../../library/textwrap.rst:285
467483msgid "..."
468- msgstr ""
484+ msgstr "... "
469485
470486#: ../../library/textwrap.rst:285
471487msgid "placeholder"
472- msgstr ""
488+ msgstr "플레이스홀더 "
473489
0 commit comments