Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 8c13167

Browse files
committedMay 7, 2025·
#832 - remove fuzzy flags
1 parent dcb3c29 commit 8c13167

File tree

1 file changed

+54
-9
lines changed

1 file changed

+54
-9
lines changed
 

‎library/pyexpat.po

Lines changed: 54 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,8 @@ msgstr ""
1717
"Generated-By: Babel 2.17.0\n"
1818

1919
#: ../../library/pyexpat.rst:2
20-
#, fuzzy
2120
msgid ":mod:`!xml.parsers.expat` --- Fast XML parsing using Expat"
22-
msgstr ":mod:`xml.parsers.expat` --- Expat을 사용한 빠른 XML 구문 분석"
21+
msgstr ":mod:`!xml.parsers.expat` --- Expat을 사용한 빠른 XML 구문 분석"
2322

2423
#: ../../library/pyexpat.rst:21
2524
msgid ""
@@ -133,6 +132,12 @@ msgid ""
133132
" <elem2 xmlns=\"\" />\n"
134133
"</root>"
135134
msgstr ""
135+
"<?xml version=\"1.0\"?>\n"
136+
"<root xmlns = \"http://default-namespace.org/\"\n"
137+
" xmlns:py = \"http://www.python.org/ns/\">\n"
138+
" <py:elem1 />\n"
139+
" <elem2 xmlns=\"\" />\n"
140+
"</root>"
136141

137142
#: ../../library/pyexpat.rst:100
138143
msgid ""
@@ -146,6 +151,9 @@ msgid ""
146151
"http://www.python.org/ns/ elem1\n"
147152
"elem2"
148153
msgstr ""
154+
"http://default-namespace.org/ root\n"
155+
"http://www.python.org/ns/ elem1\n"
156+
"elem2"
149157

150158
#: ../../library/pyexpat.rst:107
151159
msgid ""
@@ -339,7 +347,6 @@ msgstr ""
339347
"크기를 설정할 수 있습니다. 크기가 변경되면 버퍼가 플러시 됩니다."
340348

341349
#: ../../library/pyexpat.rst:248
342-
#, fuzzy
343350
msgid ""
344351
"Setting this to true causes the :class:`xmlparser` object to buffer "
345352
"textual content returned by Expat to avoid multiple calls to the "
@@ -352,7 +359,7 @@ msgstr ""
352359
"이 값을 참으로 설정하면 :class:`xmlparser` 객체가 Expat에서 반환한 텍스트 내용을 버퍼링하여 가능할 때마다 "
353360
":meth:`CharacterDataHandler` 콜백을 여러 번 호출하지 않도록 합니다. Expat은 일반적으로 모든 줄 끝에서"
354361
" 문자 데이터를 덩어리로 나누기 때문에 성능을 크게 향상할 수 있습니다. 이 어트리뷰트는 기본적으로 거짓이며, 언제든지 변경될 수 "
355-
"있습니다."
362+
"있습니다. 거짓일 때, 줄 넘김이 없는 데이터도 덩어리노 나뉠 수 있음에 유의하십시오."
356363

357364
#: ../../library/pyexpat.rst:259
358365
msgid ""
@@ -545,7 +552,6 @@ msgid "Called for every processing instruction."
545552
msgstr "모든 처리 명령어(processing instruction)에서 호출됩니다."
546553

547554
#: ../../library/pyexpat.rst:408
548-
#, fuzzy
549555
msgid ""
550556
"Called for character data. This will be called for normal character "
551557
"data, CDATA marked content, and ignorable whitespace. Applications which"
@@ -559,7 +565,9 @@ msgstr ""
559565
"문자 데이터에 대해 호출됩니다. 일반 문자 데이터, CDATA 표시 내용 및 무시할 수 있는 공백에 대해 호출됩니다. 이들을 "
560566
"구별해야 하는 응용 프로그램은 :attr:`StartCdataSectionHandler`, "
561567
":attr:`EndCdataSectionHandler` 및 :attr:`ElementDeclHandler` 콜백을 사용하여 필요한 "
562-
"정보를 수집할 수 있습니다."
568+
"정보를 수집할 수 있습니다. 문자 데이터는 짧더라도 덩어리로 묶일 수 있어서 "
569+
":meth:`CharacterDataHandler`\\에 대한 호출을 여러 번 받을 수 있음에 유의하십시오. 이를 피하려면 "
570+
":attr:`buffer_text` 인스턴스 어프리뷰트를 ``True``\\로 설정하십시오."
563571

564572
#: ../../library/pyexpat.rst:420
565573
msgid ""
@@ -738,6 +746,13 @@ msgid ""
738746
"except ExpatError as err:\n"
739747
" print(\"Error:\", errors.messages[err.code])"
740748
msgstr ""
749+
"from xml.parsers.expat import ParserCreate, ExpatError, errors\n"
750+
"\n"
751+
"p = ParserCreate()\n"
752+
"try:\n"
753+
" p.Parse(some_xml_document)\n"
754+
"except ExpatError as err:\n"
755+
" print(\"Error:\", errors.messages[err.code])"
741756

742757
#: ../../library/pyexpat.rst:549
743758
msgid ""
@@ -793,6 +808,26 @@ msgid ""
793808
"<child2 name=\"fred\">More text</child2>\n"
794809
"</parent>\"\"\", 1)"
795810
msgstr ""
811+
"import xml.parsers.expat\n"
812+
"\n"
813+
"# 3개의 처리기 함수\n"
814+
"def start_element(name, attrs):\n"
815+
" print('Start element:', name, attrs)\n"
816+
"def end_element(name):\n"
817+
" print('End element:', name)\n"
818+
"def char_data(data):\n"
819+
" print('Character data:', repr(data))\n"
820+
"\n"
821+
"p = xml.parsers.expat.ParserCreate()\n"
822+
"\n"
823+
"p.StartElementHandler = start_element\n"
824+
"p.EndElementHandler = end_element\n"
825+
"p.CharacterDataHandler = char_data\n"
826+
"\n"
827+
"p.Parse(\"\"\"<?xml version=\"1.0\"?>\n"
828+
"<parent id=\"top\"><child1 name=\"paul\">Text goes here</child1>\n"
829+
"<child2 name=\"fred\">More text</child2>\n"
830+
"</parent>\"\"\", 1)"
796831

797832
#: ../../library/pyexpat.rst:594
798833
msgid "The output from this program is::"
@@ -812,6 +847,16 @@ msgid ""
812847
"Character data: '\\n'\n"
813848
"End element: parent"
814849
msgstr ""
850+
"Start element: parent {'id': 'top'}\n"
851+
"Start element: child1 {'name': 'paul'}\n"
852+
"Character data: 'Text goes here'\n"
853+
"End element: child1\n"
854+
"Character data: '\\n'\n"
855+
"Start element: child2 {'name': 'fred'}\n"
856+
"Character data: 'More text'\n"
857+
"End element: child2\n"
858+
"Character data: '\\n'\n"
859+
"End element: parent"
815860

816861
#: ../../library/pyexpat.rst:611
817862
msgid "Content Model Descriptions"
@@ -1128,13 +1173,13 @@ msgstr ""
11281173

11291174
#: ../../library/pyexpat.rst:26
11301175
msgid "Expat"
1131-
msgstr ""
1176+
msgstr "Expat"
11321177

11331178
#: ../../library/pyexpat.rst:36
11341179
msgid "module"
1135-
msgstr ""
1180+
msgstr "모듈"
11361181

11371182
#: ../../library/pyexpat.rst:36
11381183
msgid "pyexpat"
1139-
msgstr ""
1184+
msgstr "pyexpat"
11401185

0 commit comments

Comments
 (0)
Please sign in to comment.