Skip to content

Commit b90882d

Browse files
authored
Merge pull request #99 from StevenHsuYL/index
2 parents 7cfb039 + 170b522 commit b90882d

File tree

8 files changed

+91
-37
lines changed

8 files changed

+91
-37
lines changed

c-api/index.po

+9-4
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2018, Python Software Foundation
2+
# Copyright (C) 2001-2021, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
# Translators:
66
# Leon H., 2017
77
# 豆豆 (Tommy Lin) <gnat_lin@hotmail.com>, 2017
8+
# Steven Hsu <hsuhaochun@gmail.com>, 2021
89
msgid ""
910
msgstr ""
10-
"Project-Id-Version: Python 3.7\n"
11+
"Project-Id-Version: Python 3.9\n"
1112
"Report-Msgid-Bugs-To: \n"
1213
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
13-
"PO-Revision-Date: 2017-11-24 09:04+0000\n"
14+
"PO-Revision-Date: 2021-07-05 21:11+0800\n"
1415
"Last-Translator: 豆豆 (Tommy Lin) <gnat_lin@hotmail.com>\n"
1516
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1617
"tw)\n"
@@ -19,10 +20,11 @@ msgstr ""
1920
"Content-Type: text/plain; charset=UTF-8\n"
2021
"Content-Transfer-Encoding: 8bit\n"
2122
"Plural-Forms: nplurals=1; plural=0;\n"
23+
"X-Generator: Poedit 2.4.3\n"
2224

2325
#: ../../c-api/index.rst:5
2426
msgid "Python/C API Reference Manual"
25-
msgstr "Python / C API 參考手冊"
27+
msgstr "Python/C API 參考手冊"
2628

2729
#: ../../c-api/index.rst:7
2830
msgid ""
@@ -31,3 +33,6 @@ msgid ""
3133
"`extending-index`, which describes the general principles of extension "
3234
"writing but does not document the API functions in detail."
3335
msgstr ""
36+
"對於想要編寫擴充模組或是嵌入 Python 的 C 和 C++ 程式設計師們,這份手冊記錄"
37+
"了可使用的 API(應用程式介面)。在\\ :ref:`extending-index`\\ 中也有相關的"
38+
"內容,它描述了編寫擴充的一般原則,但並沒有詳細說明 API 函式。"

extending/index.po

+34-7
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2018, Python Software Foundation
2+
# Copyright (C) 2001-2021, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
# Translators:
6+
# Steven Hsu <hsuhaochun@gmail.com>, 2021
67
msgid ""
78
msgstr ""
8-
"Project-Id-Version: Python 3.7\n"
9+
"Project-Id-Version: Python 3.9\n"
910
"Report-Msgid-Bugs-To: \n"
1011
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
11-
"PO-Revision-Date: 2018-05-23 14:34+0000\n"
12+
"PO-Revision-Date: 2021-07-06 22:18+0800\n"
1213
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1314
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1415
"tw)\n"
@@ -17,10 +18,11 @@ msgstr ""
1718
"Content-Type: text/plain; charset=UTF-8\n"
1819
"Content-Transfer-Encoding: 8bit\n"
1920
"Plural-Forms: nplurals=1; plural=0;\n"
21+
"X-Generator: Poedit 2.4.3\n"
2022

2123
#: ../../extending/index.rst:5
2224
msgid "Extending and Embedding the Python Interpreter"
23-
msgstr ""
25+
msgstr "擴充和嵌入 Python 直譯器"
2426

2527
#: ../../extending/index.rst:7
2628
msgid ""
@@ -32,6 +34,11 @@ msgid ""
3234
"extension modules so that they can be loaded dynamically (at run time) into "
3335
"the interpreter, if the underlying operating system supports this feature."
3436
msgstr ""
37+
"這份說明文件描述如何在 C 或 C++ 中編寫模組,並使用新模組來擴充 Python 直譯器"
38+
"功能。那些模組不僅可以定義新的函式,也可以定義新的物件型別及其方法 (method)。"
39+
"文件內容也會描述如何將 Python 直譯器嵌入另一個應用程式中,做為一種擴充語言 "
40+
"(extension language) 使用。最後,它會展示如何編譯及連結擴充模組,使那些模組可"
41+
"以動態地(在運行時)被載入到直譯器中,前提是底層作業系統有支援這個功能。"
3542

3643
#: ../../extending/index.rst:15
3744
msgid ""
@@ -41,16 +48,21 @@ msgid ""
4148
"documents the existing object types, functions and modules (both built-in "
4249
"and written in Python) that give the language its wide application range."
4350
msgstr ""
51+
"這份說明文件假設您具備 Python 的基礎知識。關於此語言的非正式介紹,請參閱 :"
52+
"ref:`tutorial-index`\\\\ :ref:`reference-index`\\ 給予此語言更為正式的定"
53+
"義。\\ :ref:`library-index` 記錄了賦予此語言廣泛應用範圍的物件型別、函式"
54+
"與(內建的和以 Python 編寫的)模組。"
4455

4556
#: ../../extending/index.rst:21
4657
msgid ""
4758
"For a detailed description of the whole Python/C API, see the separate :ref:"
4859
"`c-api-index`."
4960
msgstr ""
61+
"關於完整的 Python/C API 詳細介紹,請參閱另外一份 :ref:`c-api-index`\\ 。"
5062

5163
#: ../../extending/index.rst:26
5264
msgid "Recommended third party tools"
53-
msgstr ""
65+
msgstr "推薦的第三方工具"
5466

5567
#: ../../extending/index.rst:28
5668
msgid ""
@@ -60,23 +72,33 @@ msgid ""
6072
"swig.org>`_ and `Numba <https://numba.pydata.org/>`_ offer both simpler and "
6173
"more sophisticated approaches to creating C and C++ extensions for Python."
6274
msgstr ""
75+
"這份指南僅涵蓋了此 CPython 版本所提供的、用以建立擴充的基本工具。第三方工具,"
76+
"例如 `Cython <http://cython.org/>`_\\\\ `cffi <https://cffi.readthedocs."
77+
"io>`_\\\\ `SWIG <http://www.swig.org>`_ 和 `Numba <https://numba.pydata."
78+
"org/>`_\\ ,提供了更為簡單及更為複雜的多種方法,來為 Python 建立 C 和 C ++ 擴"
79+
"充。"
6380

6481
#: ../../extending/index.rst:40
6582
msgid ""
6683
"`Python Packaging User Guide: Binary Extensions <https://packaging.python."
6784
"org/guides/packaging-binary-extensions/>`_"
6885
msgstr ""
86+
"`Python 封裝使用者指南:二進制擴充 <https://packaging.python.org/guides/"
87+
"packaging-binary-extensions/>`_"
6988

7089
#: ../../extending/index.rst:38
7190
msgid ""
7291
"The Python Packaging User Guide not only covers several available tools that "
7392
"simplify the creation of binary extensions, but also discusses the various "
7493
"reasons why creating an extension module may be desirable in the first place."
7594
msgstr ""
95+
"Python 封裝使用者指南 (Python Packaging User Guide) 不僅涵蓋了數個可以用來簡"
96+
"化二進制擴充建立過程的工具,也會討論為何建立一個擴充模組可能會是您的優先考"
97+
"量。"
7698

7799
#: ../../extending/index.rst:45
78100
msgid "Creating extensions without third party tools"
79-
msgstr ""
101+
msgstr "不使用第三方工具建立擴充"
80102

81103
#: ../../extending/index.rst:47
82104
msgid ""
@@ -85,10 +107,12 @@ msgid ""
85107
"those tools, rather than being a recommended way to create your own C "
86108
"extensions."
87109
msgstr ""
110+
"本指南中的這一節將說明,在沒有第三方工具的協助下,如何建立 C 和 C ++ 擴充。它"
111+
"主要是寫給使用那些工具的創作者們,而不是讓你建立自己的 C 擴充的推薦方法。"
88112

89113
#: ../../extending/index.rst:63
90114
msgid "Embedding the CPython runtime in a larger application"
91-
msgstr ""
115+
msgstr "在更大的應用程式中嵌入 CPython 運行環境 (runtime)"
92116

93117
#: ../../extending/index.rst:65
94118
msgid ""
@@ -97,3 +121,6 @@ msgid ""
97121
"CPython runtime inside a larger application. This section covers some of the "
98122
"details involved in doing that successfully."
99123
msgstr ""
124+
"有時候,相較於建立一個擴充,使其在 Python 直譯器中可作為主應用程式運行,還不"
125+
"如將 CPython 運行環境嵌入至一個更大的應用程式中更可取。本節將涵蓋一些要"
126+
"成功完成此任務所涉及的細節。"

howto/index.po

+10-5
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2018, Python Software Foundation
2+
# Copyright (C) 2001-2021, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
# Translators:
6+
# Steven Hsu <hsuhaochun@gmail.com>, 2021
67
msgid ""
78
msgstr ""
8-
"Project-Id-Version: Python 3.7\n"
9+
"Project-Id-Version: Python 3.9\n"
910
"Report-Msgid-Bugs-To: \n"
1011
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
11-
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
12+
"PO-Revision-Date: 2021-07-05 12:45+0800\n"
1213
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1314
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1415
"tw)\n"
@@ -17,10 +18,11 @@ msgstr ""
1718
"Content-Type: text/plain; charset=UTF-8\n"
1819
"Content-Transfer-Encoding: 8bit\n"
1920
"Plural-Forms: nplurals=1; plural=0;\n"
21+
"X-Generator: Poedit 2.4.3\n"
2022

2123
#: ../../howto/index.rst:3
2224
msgid "Python HOWTOs"
23-
msgstr ""
25+
msgstr "Python 如何達成任務"
2426

2527
#: ../../howto/index.rst:5
2628
msgid ""
@@ -29,7 +31,10 @@ msgid ""
2931
"HOWTO collection, this collection is an effort to foster documentation "
3032
"that's more detailed than the Python Library Reference."
3133
msgstr ""
34+
"「Python 如何達成任務 (HOWTOs)」是一系列的說明文件,其內容會盡量完整地涵蓋某"
35+
"些單一、特定的主題。以 Linux 說明文件專案的 HOWTO 系列為模範,本系列的目標是"
36+
"提供比 Python 函式庫參考手冊更實用的說明文件。"
3237

3338
#: ../../howto/index.rst:11
3439
msgid "Currently, the HOWTOs are:"
35-
msgstr ""
40+
msgstr "目前有以下這些任務指南:"

library/index.po

+14-9
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,18 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2018, Python Software Foundation
2+
# Copyright (C) 2001-2021, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
# Translators:
66
# Liang-Bo Wang <me@liang2.tw>, 2015-2016
77
# Liang-Bo Wang <me@liang2.tw>, 2016
88
# Frank Jheng <M157q.tw@gmail.com>, 2015
9+
# Steven Hsu <hsuhaochun@gmail.com>, 2021
910
msgid ""
1011
msgstr ""
11-
"Project-Id-Version: Python 3.7\n"
12+
"Project-Id-Version: Python 3.9\n"
1213
"Report-Msgid-Bugs-To: \n"
1314
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
14-
"PO-Revision-Date: 2018-05-23 16:04+0000\n"
15+
"PO-Revision-Date: 2021-07-04 22:55+0800\n"
1516
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1617
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1718
"tw)\n"
@@ -20,6 +21,7 @@ msgstr ""
2021
"Content-Type: text/plain; charset=UTF-8\n"
2122
"Content-Transfer-Encoding: 8bit\n"
2223
"Plural-Forms: nplurals=1; plural=0;\n"
24+
"X-Generator: Poedit 2.4.3\n"
2325

2426
#: ../../library/index.rst:5
2527
msgid "The Python Standard Library"
@@ -32,9 +34,9 @@ msgid ""
3234
"library that is distributed with Python. It also describes some of the "
3335
"optional components that are commonly included in Python distributions."
3436
msgstr ""
35-
":ref:`reference-index` 說明 Python 這門語言確切的文法及語意,而這份函式庫參考"
36-
"手冊則是說明隨著 Python 一起發佈的標準函式庫,除此之外,其內容也包含一些時常"
37-
"出現在 Python 發佈版本中的非必要套件。"
37+
":ref:`reference-index`\\ 說明 Python 這門語言確切的文法及語意,而這份函式庫參"
38+
"考手冊則是說明隨著 Python 一起發佈的標準函式庫,除此之外,其內容也包含一些時"
39+
"常出現在 Python 發佈版本中的非必要套件。"
3840

3941
#: ../../library/index.rst:13
4042
msgid ""
@@ -62,9 +64,9 @@ msgid ""
6264
"packages, so it may be necessary to use the packaging tools provided with "
6365
"the operating system to obtain some or all of the optional components."
6466
msgstr ""
65-
"Python 的 Windows 安裝檔基本上包含整個標準函式庫,且通常也包含許多額外套件;"
66-
"而類 Unix 作業系統方面,Python 則提供一系列的套件,對於某些非必要性的套件,可"
67-
"能得使用該作業系統提供的套件管理工具來安裝。"
67+
"Python 的 Windows 安裝檔基本上包含整個標準函式庫,且通常也包含許多附加的組"
68+
"件;而在類 Unix 作業系統方面,Python 通常是以一系列的套件被安裝,因此對於某些"
69+
"或全部的可選組件,可能都必須使用該作業系統提供的套件管理工具來安裝。"
6870

6971
#: ../../library/index.rst:30
7072
msgid ""
@@ -73,3 +75,6 @@ msgid ""
7375
"packages and entire application development frameworks), available from the "
7476
"`Python Package Index <https://pypi.org>`_."
7577
msgstr ""
78+
"在標準函式庫之外,還有成千上萬且不斷增加的組件(從個別的程式、模組、套件到完"
79+
"整的應用程式開發框架),可以從 `Python 套件索引 (Python Package Index) "
80+
"<https://pypi.org>`_ 中取得。"

reference/index.po

+12-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2018, Python Software Foundation
2+
# Copyright (C) 2001-2021, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
# Translators:
6+
# Steven Hsu <hsuhaochun@gmail.com>, 2021
67
msgid ""
78
msgstr ""
8-
"Project-Id-Version: Python 3.7\n"
9+
"Project-Id-Version: Python 3.9\n"
910
"Report-Msgid-Bugs-To: \n"
1011
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
11-
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
12+
"PO-Revision-Date: 2021-07-06 22:07+0800\n"
1213
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1314
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1415
"tw)\n"
@@ -17,10 +18,11 @@ msgstr ""
1718
"Content-Type: text/plain; charset=UTF-8\n"
1819
"Content-Transfer-Encoding: 8bit\n"
1920
"Plural-Forms: nplurals=1; plural=0;\n"
21+
"X-Generator: Poedit 2.4.3\n"
2022

2123
#: ../../reference/index.rst:5
2224
msgid "The Python Language Reference"
23-
msgstr ""
25+
msgstr "Python 語言參考手冊"
2426

2527
#: ../../reference/index.rst:7
2628
msgid ""
@@ -33,3 +35,9 @@ msgid ""
3335
"picture of how to write a Python extension module, and the :ref:`c-api-"
3436
"index` describes the interfaces available to C/C++ programmers in detail."
3537
msgstr ""
38+
"這份參考手冊會描述 Python 語言的語法及「核心語意」。它雖然簡潔,但也盡量保持"
39+
"精確並完整。關於非必要的 (non-essential) 內建物件型別、內建函式及模組的語"
40+
"意,則在 :ref:`library-index` 中說明。關於此語言的非正式介紹,請參閱 :ref:"
41+
"`tutorial-index`\\ 。對於 C 或 C++ 程式設計師,還有另外兩個手冊:\\ :ref:"
42+
"`extending-index`\\ 以高階的視野說明如何編寫 Python 擴充模組,而 :ref:`c-"
43+
"api-index`\\ 則詳細說明 C/C++ 程式設計師可用的介面。"

sphinx.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ msgstr "全部函式、類別、術語"
166166

167167
#: ../../tools/templates/indexcontent.html:46
168168
msgid "Glossary"
169-
msgstr "詞彙表"
169+
msgstr "術語表"
170170

171171
#: ../../tools/templates/indexcontent.html:47
172172
msgid "the most important terms explained"

tutorial/appetite.po

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ msgstr ""
1010
"Project-Id-Version: Python 3.9\n"
1111
"Report-Msgid-Bugs-To: \n"
1212
"POT-Creation-Date: 2021-09-24 00:11+0000\n"
13-
"PO-Revision-Date: 2021-06-06 13:25+0800\n"
13+
"PO-Revision-Date: 2021-10-03 17:39+0800\n"
1414
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
1515
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1616
"tw)\n"
@@ -67,8 +67,8 @@ msgstr ""
6767
"也許你可以為了某些任務而寫個 Unix shell 腳本或者 Windows 批次檔來處理,但 "
6868
"shell 腳本最適合於搬動檔案或更動文字內容,而不適於圖形應用程式或遊戲。你可以"
6969
"為此寫個 C/C++/Java 程式,但僅僅是完成個草稿也需要很長的開發時間。相較而言,"
70-
"Python 更易於使用,並能在 Windows、macOS、Unix 作業系統上執行,且能更快速地"
71-
"幫助你完成工作。"
70+
"Python 更易於使用,並能在 Windows、macOS、Unix 作業系統上執行,且能更快速地幫"
71+
"助你完成工作。"
7272

7373
#: ../../tutorial/appetite.rst:29
7474
msgid ""

using/index.po

+8-4
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# SOME DESCRIPTIVE TITLE.
2-
# Copyright (C) 2001-2018, Python Software Foundation
2+
# Copyright (C) 2001-2021, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
44
#
55
# Translators:
6+
# Steven Hsu <hsuhaochun@gmail.com>, 2021
67
msgid ""
78
msgstr ""
8-
"Project-Id-Version: Python 3.7\n"
9+
"Project-Id-Version: Python 3.9\n"
910
"Report-Msgid-Bugs-To: \n"
1011
"POT-Creation-Date: 2018-06-26 18:54+0800\n"
11-
"PO-Revision-Date: 2018-05-23 16:19+0000\n"
12+
"PO-Revision-Date: 2021-07-06 22:21+0800\n"
1213
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
1314
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
1415
"tw)\n"
@@ -17,14 +18,17 @@ msgstr ""
1718
"Content-Type: text/plain; charset=UTF-8\n"
1819
"Content-Transfer-Encoding: 8bit\n"
1920
"Plural-Forms: nplurals=1; plural=0;\n"
21+
"X-Generator: Poedit 2.4.3\n"
2022

2123
#: ../../using/index.rst:5
2224
msgid "Python Setup and Usage"
23-
msgstr ""
25+
msgstr "Python 的設置與使用"
2426

2527
#: ../../using/index.rst:8
2628
msgid ""
2729
"This part of the documentation is devoted to general information on the "
2830
"setup of the Python environment on different platforms, the invocation of "
2931
"the interpreter and things that make working with Python easier."
3032
msgstr ""
33+
"這部分的說明文件是關於在不同平台上設定 Python 環境的綜合資訊、直譯器的呼"
34+
"叫,以及讓 Python 更容易使用的一些方法。"

0 commit comments

Comments
 (0)