8000 Sync with CPython 3.10 (#277) · python/python-docs-zh-tw@a31c167 · GitHub
[go: up one dir, main page]

Skip to content

Commit a31c167

Browse files
pydoc-zh-tw[bot]github-actions[bot]mattwang44
authored
Sync with CPython 3.10 (#277)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matt.Wang <mattwang44@gmail.com>
1 parent 50a12ef commit a31c167

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+8908
-8710
lines changed

about.po

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ msgid ""
1414
msgstr ""
1515
"Project-Id-Version: Python 3.10\n"
1616
"Report-Msgid-Bugs-To: \n"
17-
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
18-
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
17+
"POT-Creation-Date: 2022-05-21 17:35+0000\n"
18+
"PO-Revision-Date: 2022-05-12 00:11+0800\n"
1919
"Last-Translator: hsiao yi <hsiaoyi0504@gmail.com>\n"
2020
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
2121
"tw)\n"
@@ -24,6 +24,7 @@ msgstr ""
2424
"Content-Type: text/plain; charset=UTF-8\n"
2525
"Content-Transfer-Encoding: 8bit\n"
2626
"Plural-Forms: nplurals=1; plural=0;\n"
27+
"X-Generator: Poedit 3.0.1\n"
2728

2829
#: ../../about.rst:3
2930
msgid "About these documents"
@@ -57,7 +58,7 @@ msgid ""
5758
"Fred L. Drake, Jr., the creator of the original Python documentation toolset "
5859
"and writer of much of the content;"
5960
msgstr ""
60-
"Fred L. Drake, Jr.,原始 Python 文件工具集的創造者以及一大部份內容的作者"
61+
"Fred L. Drake, Jr.,原始 Python 文件工具集的創造者以及一大部份內容的作者"
6162

6263
#: ../../about.rst:24
6364
msgid ""
6970

7071
#: ../../about.rst:26
7172
msgid ""
72-
"Fredrik Lundh for his `Alternative Python Reference <http://effbot.org/zone/"
73-
"pyref.htm>`_ project from which Sphinx got many good ideas."
73+
"Fredrik Lundh for his Alternative Python Reference project from which Sphinx "
74+
"got many good ideas."
7475
msgstr ""
75-
"Fredrik Lundh 先生,Sphinx 從他的 `Alternative Python Reference <http://"
76-
"effbot.org/zone/pyref.htm>`_ 計劃中獲得許多的好主意。"
76+
"Fredrik Lundh 先生,Sphinx 從他的 Alternative Python Reference 計劃中獲得許多"
77+
"的好主意。"
7778

78-
#: ../../about.rst:32
79+
#: ../../about.rst:31
7980
msgid "Contributors to the Python Documentation"
8081
msgstr "Python 文件的貢獻者們"
8182

82-
#: ../../about.rst:34
83+
#: ../../about.rst:33
8384
msgid ""
8485
"Many people have contributed to the Python language, the Python standard "
8586
"library, and the Python documentation. See :source:`Misc/ACKS` in the "
@@ -88,7 +89,7 @@ msgstr ""
8889
"許多人都曾為 Python 這門語言、Python 標準函式庫和 Python 說明文件貢獻過。"
8990
"Python 所發佈的原始碼中含有部份貢獻者的清單,請見 :source:`Misc/ACKS` 。"
9091

91-
#: ../../about.rst:38
92+
#: ../../about.rst:37
9293
msgid ""
9394
"It is only with the input and contributions of the Python community that "
9495
"Python has such wonderful documentation -- Thank You!"

c-api/arg.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2021-10-26 16:47+0000\n"
10+
"POT-Creation-Date: 2022-05-21 17:35+0000\n"
1111
"PO-Revision-Date: 2021-11-22 16:44+0800\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -540,8 +540,8 @@ msgid ""
540540
msgstr ""
541541

542542
#: ../../c-api/arg.rst:290 ../../c-api/arg.rst:617
543-
msgid "``n`` (:class:`int`) [Py_ssize_t]"
544-
msgstr "``n`` (:class:`int`) [Py_ssize_t]"
543+
msgid "``n`` (:class:`int`) [:c:type:`Py_ssize_t`]"
544+
msgstr "``n`` (:class:`int`) [:c:type:`Py_ssize_t`]"
545545

546546
#: ../../c-api/arg.rst:290
547547
msgid "Convert a Python integer to a C :c:type:`Py_ssize_t`."

c-api/bytes.po

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-04-03 00:14+0000\n"
10+
"POT-Creation-Date: 2022-05-21 17:35+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:04+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -160,8 +160,8 @@ msgid ":attr:`%zd`"
160160
msgstr ":attr:`%zd`"
161161

162162
#: ../../c-api/bytes.rst:87
163-
msgid "Py_ssize_t"
164-
msgstr "Py_ssize_t"
163+
msgid ":c:type:`\\ Py_ssize_t`"
164+
msgstr ":c:type:`\\ Py_ssize_t`"
165165

166166
#: ../../c-api/bytes.rst:87
167167
msgid "Equivalent to ``printf(\"%zd\")``. [1]_"

c-api/exceptions.po

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ msgid ""
88
msgstr ""
99
"Project-Id-Version: Python 3.10\n"
1010
"Report-Msgid-Bugs-To: \n"
11-
"POT-Creation-Date: 2022-04-03 00:14+0000\n"
11+
"POT-Creation-Date: 2022-05-21 17:35+0000\n"
1212
"PO-Revision-Date: 2018-05-23 14:05+0000\n"
1313
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1414
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -912,9 +912,9 @@ msgstr ":exc:`BaseException`"
912912

913913
#: ../../c-api/exceptions.rst:892 ../../c-api/exceptions.rst:894
914914
#: ../../c-api/exceptions.rst:896 ../../c-api/exceptions.rst:942
915-
#: ../../c-api/exceptions.rst:954 ../../c-api/exceptions.rst:1070
916-
msgid "\\(1)"
917-
msgstr "\\(1)"
915+
#: ../../c-api/exceptions.rst:954
916+
msgid "[1]_"
917+
msgstr "[1]_"
918918

919919
#: ../../c-api/exceptions.rst:894
920920
msgid ":c:data:`PyExc_Exception`"
@@ -1204,10 +1204,6 @@ msgstr ":c:data:`PyExc_ReferenceError`"
12041204
msgid ":exc:`ReferenceError`"
12051205
msgstr ":exc:`ReferenceError`"
12061206

1207-
#: ../../c-api/exceptions.rst:964
1208-
msgid "\\(2)"
1209-
msgstr "\\(2)"
1210-
12111207
#: ../../c-api/exceptions.rst:966
12121208
msgid ":c:data:`PyExc_RuntimeError`"
12131209
msgstr ":c:data:`PyExc_RuntimeError`"
@@ -1382,8 +1378,8 @@ msgid ":c:data:`PyExc_WindowsError`"
13821378
msgstr ":c:data:`PyExc_WindowsError`"
13831379

13841380
#: ../../c-api/exceptions.rst:1029
1385-
msgid "\\(3)"
1386-
msgstr "\\(3)"
1381+
msgid "[2]_"
1382+
msgstr "[2]_"
13871383

13881384
#: ../../c-api/exceptions.rst:1032
13891385
msgid "These aliases used to be separate exception types."
@@ -1423,6 +1419,10 @@ msgstr ":c:data:`PyExc_Warning`"
14231419
msgid ":exc:`Warning`"
14241420
msgstr ":exc:`Warning`"
14251421

1422+
#: ../../c-api/exceptions.rst:1070
1423+
msgid "[3]_"
1424+
msgstr "[3]_"
1425+
14261426
#: ../../c-api/exceptions.rst:1072
14271427
msgid ":c:data:`PyExc_BytesWarning`"
14281428
msgstr ":c:data:`PyExc_BytesWarning`"

c-api/init.po

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.10\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2022-04-03 00:14+0000\n"
10+
"POT-Creation-Date: 2022-05-21 17:35+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:06+0000\n"
1212
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -678,10 +678,10 @@ msgstr ""
678678
#: ../../c-api/init.rst:531
679679
msgid ""
680680
"The first word (up to the first space character) is the current Python "
681-
"version; the first three characters are the major and minor version "
682-
"separated by a period. The returned string points into static storage; the "
683-
"caller should not modify its value. The value is available to Python code "
684-
"as :data:`sys.version`."
681+
"version; the first characters are the major and minor version separated by a "
682+
"period. The returned string points into static storage; the caller should "
683+
"not modify its value. The value is available to Python code as :data:`sys."
684+
"version`."
685685
msgstr ""
686686

687687
#: ../../c-api/init.rst:541

0 commit comments

Comments
 (0)
0