8000 Indent all the po files using poindent, also changed zh-Hant to zh_TW in · python/python-docs-zh-tw@5ab569c · GitHub
[go: up one dir, main page]

Skip to content

Commit 5ab569c

Browse files
committed
Indent all the po files using poindent, also changed zh-Hant to zh_TW in
all po files
1 parent bf13da5 commit 5ab569c

File tree

467 files changed

+41136
-40923
lines changed

Some content is hidden

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

467 files changed

+41136
-40923
lines changed

about.po

Lines changed: 33 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) 2001-2018, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
# Translators:
66
# Adrian Liaw <adrianliaw2000@gmail.com>, 2015
77
# Ching-Lung Chuang, 2015
@@ -17,11 +17,12 @@ msgstr ""
1717
"POT-Creation-Date: 2018-05-23 22:00+0800\n"
1818
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
1919
"Last-Translator: hsiao yi <hsiaoyi0504@gmail.com>\n"
20-
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n"
20+
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/"
21+
"python-36-tw/language/zh-Hant/)\n"
2122
"MIME-Version: 1.0\n"
2223
"Content-Type: text/plain; charset=UTF-8\n"
2324
"Content-Transfer-Encoding: 8bit\n"
24-
"Language: zh-Hant\n"
25+
"Language: zh_TW\n"
2526
"Plural-Forms: nplurals=1; plural=0;\n"
2627

2728
#: ../../about.rst:3
@@ -30,40 +31,49 @@ msgstr "關於這些說明文件"
3031

3132
#: ../../about.rst:6
3233
msgid ""
33-
"These documents are generated from `reStructuredText`_ sources by `Sphinx`_,"
34-
" a document processor specifically written for the Python documentation."
35-
msgstr "這些說明文件是透過 `Sphinx`_ (一個專為 Python 說明文件所撰寫的文件處理器)將使用 `reStructuredText`_ 撰寫的原始檔轉換而成。"
34+
"These documents are generated from `reStructuredText`_ sources by `Sphinx`_, "
35+
"a document processor specifically written for the Python documentation."
36+
msgstr ""
37+
"這些說明文件是透過 `Sphinx`_ (一個專為 Python 說明文件所撰寫的文件處理器)將"
38+
"使用 `reStructuredText`_ 撰寫的原始檔轉換而成。"
3639

3740
#: ../../about.rst:15
3841
msgid ""
3942
"Development of the documentation and its toolchain is an entirely volunteer "
4043
"effort, just like Python itself. If you want to contribute, please take a "
41-
"look at the :ref:`reporting-bugs` page for information on how to do so. New"
42-
" volunteers are always welcome!"
43-
msgstr "如同 Python 自身,透過自願者的努力下產出文件與封裝後自動化執行工具。若想要回報臭蟲,請見 :ref:`reporting-bugs` 頁面,內含相關資訊。我們永遠歡迎新的自願者加入!"
44+
"look at the :ref:`reporting-bugs` page for information on how to do so. New "
45+
"volunteers are always welcome!"
46+
msgstr ""
47+
"如同 Python 自身,透過自願者的努力下產出文件與封裝後自動化執行工具。若想要回"
48+
"報臭蟲,請見 :ref:`reporting-bugs` 頁面,內含相關資訊。我們永遠歡迎新的自願者"
49+
"加入!"
4450

4551
#: ../../about.rst:20
4652
msgid "Many thanks go to:"
4753
msgstr "致謝:"
4854

4955
#: ../../about.rst:22
5056
msgid ""
51-
"Fred L. Drake, Jr., the creator of the original Python documentation toolset"
52-
" and writer of much of the content;"
53-
msgstr "Fred L. Drake, Jr.,原始 Python 文件工具集的創造者以及一大部份內容的作者。"
57+
"Fred L. Drake, Jr., the creator of the original Python documentation toolset "
58+
"and writer of much of the content;"
59+
msgstr ""
60+
"Fred L. Drake, Jr.,原始 Python 文件工具集的創造者以及一大部份內容的作者。"
5461

5562
#: ../../about.rst:24
5663
msgid ""
5764
"the `Docutils <http://docutils.sourceforge.net/>`_ project for creating "
5865
"reStructuredText and the Docutils suite;"
59-
msgstr "創造 reStructuredText 和 Docutils 工具組的 `Docutils <http://docutils.sourceforge.net/>`_ 專案;"
66+
msgstr ""
67+
"創造 reStructuredText 和 Docutils 工具組的 `Docutils <http://docutils."
68+
"sourceforge.net/>`_ 專案;"
6069

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

6878
#: ../../about.rst:32
6979
msgid "Contributors to the Python Documentation"
@@ -74,10 +84,14 @@ msgid ""
7484
"Many people have contributed to the Python language, the Python standard "
7585
"library, and the Python documentation. See :source:`Misc/ACKS` in the "
7686
"Python source distribution for a partial list of contributors."
77-
msgstr "許多人都曾為 Python 這門語言、Python 標準函式庫和 Python 說明文件貢獻過。Python 所發佈的原始碼中含有部份貢獻者的清單,請見 :source:`Misc/ACKS` 。"
87+
msgstr ""
88+
"許多人都曾為 Python 這門語言、Python 標準函式庫和 Python 說明文件貢獻過。"
89+
"Python 所發佈的原始碼中含有部份貢獻者的清單,請見 :source:`Misc/ACKS` 。"
7890

7991
#: ../../about.rst:38
8092
msgid ""
8193
"It is only with the input and contributions of the Python community that "
8294
"Python has such wonderful documentation -- Thank You!"
83-
msgstr "正因為 Python 社群的撰寫與貢獻才有這份這麼棒的說明文件 -- 感謝所有貢獻過的人們!"
95+
msgstr ""
96+
"正因為 Python 社群的撰寫與貢獻才有這份這麼棒的說明文件 -- 感謝所有貢獻過的人"
97+
"們!"

bugs.po

Lines changed: 22 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) 2001-2018, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
# Translators:
66
# Asoul Yang <azx754@gmail.com>, 2016
77
# Ching-Lung Chuang, 2015
@@ -15,11 +15,12 @@ msgstr ""
1515
"POT-Creation-Date: 2018-05-23 22:00+0800\n"
1616
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
1717
"Last-Translator: sammy huang <sammy.huang@kkday.com>\n"
18-
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n"
18+
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/"
19+
"python-36-tw/language/zh-Hant/)\n"
1920
"MIME-Version: 1.0\n"
2021
"Content-Type: text/plain; charset=UTF-8\n"
2122
"Content-Transfer-Encoding: 8bit\n"
22-
"Language: zh-Hant\n"
23+
"Language: zh_TW\n"
2324
"Plural-Forms: nplurals=1; plural=0;\n"
2425

2526
#: ../../bugs.rst:5
@@ -31,13 +32,15 @@ msgid ""
3132
"Python is a mature programming language which has established a reputation "
3233
"for stability. In order to maintain this reputation, the developers would "
3334
"like to know of any deficiencies you find in Python."
34-
msgstr "Python 已經是一個以穩定著稱的成熟程式語言。為了維持「穩定」此信譽,開發者們想知道任何您發現的缺失。"
35+
msgstr ""
36+
"Python 已經是一個以穩定著稱的成熟程式語言。為了維持「穩定」此信譽,開發者們想"
37+
"知道任何您發現的缺失。"
3538

3639
#: ../../bugs.rst:11
3740
msgid ""
3841
"It can be sometimes faster to fix bugs yourself and contribute patches to "
39-
"Python as it streamlines the process and involves less people. Learn how to "
40-
":ref:`contribute <contributing-to-python>`."
42+
"Python as it streamlines the process and involves less people. Learn how to :"
43+
"ref:`contribute <contributing-to-python>`."
4144
msgstr ""
4245

4346
#: ../../bugs.rst:16
@@ -69,9 +72,9 @@ msgstr "使用 Python 議題追蹤"
6972

7073
#: ../../bugs.rst:35
7174
msgid ""
72-
"Bug reports for Python itself should be submitted via the Python Bug Tracker"
73-
" (https://bugs.python.org/). The bug tracker offers a Web form which allows"
74-
" pertinent information to be entered and submitted to the developers."
75+
"Bug reports for Python itself should be submitted via the Python Bug Tracker "
76+
"(https://bugs.python.org/). The bug tracker offers a Web form which allows "
77+
"pertinent information to be entered and submitted to the developers."
7578
msgstr ""
7679

7780
#: ../../bugs.rst:39
@@ -110,10 +113,10 @@ msgstr ""
110113

111114
#: ../../bugs.rst:59
112115
msgid ""
113-
"In the \"Comment\" field, describe the problem in detail, including what you"
114-
" expected to happen and what did happen. Be sure to include whether any "
115-
"extension modules were involved, and what hardware and software platform you"
116-
" were using (including version information as appropriate)."
116+
"In the \"Comment\" field, describe the problem in detail, including what you "
117+
"expected to happen and what did happen. Be sure to include whether any "
118+
"extension modules were involved, and what hardware and software platform you "
119+
"were using (including version information as appropriate)."
117120
msgstr ""
118121

119122
#: ../../bugs.rst:64
@@ -125,20 +128,20 @@ msgstr ""
125128

126129
#: ../../bugs.rst:73
127130
msgid ""
128-
"`How to Report Bugs Effectively "
129-
"<http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>`_"
131+
"`How to Report Bugs Effectively <http://www.chiark.greenend.org.uk/~sgtatham/"
132+
"bugs.html>`_"
130133
msgstr ""
131134

132135
#: ../../bugs.rst:72
133136
msgid ""
134-
"Article which goes into some detail about how to create a useful bug report."
135-
" This describes what kind of information is useful and why it is useful."
137+
"Article which goes into some detail about how to create a useful bug report. "
138+
"This describes what kind of information is useful and why it is useful."
136139
msgstr ""
137140

138141
#: ../../bugs.rst:76
139142
msgid ""
140-
"`Bug Writing Guidelines <https://developer.mozilla.org/en-"
141-
"US/docs/Mozilla/QA/Bug_writing_guidelines>`_"
143+
"`Bug Writing Guidelines <https://developer.mozilla.org/en-US/docs/Mozilla/QA/"
144+
"Bug_writing_guidelines>`_"
142145
msgstr ""
143146

144147
#: ../../bugs.rst:76

c-api/abstract.po

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) 2001-2018, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
# Translators:
66
# aminzai <lagunawang@gmail.com>, 2015
77
msgid ""
@@ -11,11 +11,12 @@ msgstr ""
1111
"POT-Creation-Date: 2018-05-23 22:00+0800\n"
1212
"PO-Revision-Date: 2017-09-22 18:26+0000\n"
1313
"Last-Translator: aminzai <lagunawang@gmail.com>\n"
14-
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n"
14+
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/"
15+
"python-36-tw/language/zh-Hant/)\n"
1516
"MIME-Version: 1.0\n"
1617
"Content-Type: text/plain; charset=UTF-8\n"
1718
"Content-Transfer-Encoding: 8bit\n"
18-
"Language: zh-Hant\n"
19+
"Language: zh_TW\n"
1920
"Plural-Forms: nplurals=1; plural=0;\n"
2021

2122
#: ../../c-api/abstract.rst:7
@@ -33,7 +34,7 @@ msgstr ""
3334
#: ../../c-api/abstract.rst:14
3435
msgid ""
3536
"It is not possible to use these functions on objects that are not properly "
36-
"initialized, such as a list object that has been created by "
37-
":c:func:`PyList_New`, but whose items have not been set to some non-\\ "
38-
"``NULL`` value yet."
37+
"initialized, such as a list object that has been created by :c:func:"
38+
"`PyList_New`, but whose items have not been set to some non-\\ ``NULL`` "
39+
"value yet."
3940
msgstr ""

c-api/allocation.po

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) 2001-2018, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
# Translators:
66
msgid ""
77
msgstr ""
@@ -10,11 +10,12 @@ msgstr ""
1010
"POT-Creation-Date: 2018-05-23 22:00+0800\n"
1111
"PO-Revision-Date: 2016-01-31 07:06+0000\n"
1212
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
13-
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n"
13+
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/"
14+
"python-36-tw/language/zh-Hant/)\n"
1415
"MIME-Version: 1.0\n"
1516
"Content-Type: text/plain; charset=UTF-8\n"
1617
"Content-Transfer-Encoding: 8bit\n"
17-
"Language: zh-Hant\n"
18+
"Language: zh_TW\n"
1819
"Plural-Forms: nplurals=1; plural=0;\n"
1920

2021
#: ../../c-api/allocation.rst:6
@@ -41,36 +42,35 @@ msgid ""
4142
"Allocate a new Python object using the C structure type *TYPE* and the "
4243
"Python type object *type*. Fields not defined by the Python object header "
4344
"are not initialized; the object's reference count will be one. The size of "
44-
"the memory allocation is determined from the "
45-
":c:member:`~PyTypeObject.tp_basicsize` field of the type object."
45+
"the memory allocation is determined from the :c:member:`~PyTypeObject."
46+
"tp_basicsize` field of the type object."
4647
msgstr ""
4748

4849
#: ../../c-api/allocation.rst:41
4950
msgid ""
5051
"Allocate a new Python object using the C structure type *TYPE* and the "
5152
"Python type object *type*. Fields not defined by the Python object header "
5253
"are not initialized. The allocated memory allows for the *TYPE* structure "
53-
"plus *size* fields of the size given by the "
54-
":c:member:`~PyTypeObject.tp_itemsize` field of *type*. This is useful for "
55-
"implementing objects like tuples, which are able to determine their size at "
56-
"construction time. Embedding the array of fields into the same allocation "
57-
"decreases the number of allocations, improving the memory management "
58-
"efficiency."
54+
"plus *size* fields of the size given by the :c:member:`~PyTypeObject."
55+
"tp_itemsize` field of *type*. This is useful for implementing objects like "
56+
"tuples, which are able to determine their size at construction time. "
57+
"Embedding the array of fields into the same allocation decreases the number "
58+
"of allocations, improving the memory management efficiency."
5959
msgstr ""
6060

6161
#: ../../c-api/allocation.rst:53
6262
msgid ""
63-
"Releases memory allocated to an object using :c:func:`PyObject_New` or "
64-
":c:func:`PyObject_NewVar`. This is normally called from the "
65-
":c:member:`~PyTypeObject.tp_dealloc` handler specified in the object's type."
66-
" The fields of the object should not be accessed after this call as the "
67-
"memory is no longer a valid Python object."
63+
"Releases memory allocated to an object using :c:func:`PyObject_New` or :c:"
64+
"func:`PyObject_NewVar`. This is normally called from the :c:member:"
65+
"`~PyTypeObject.tp_dealloc` handler specified in the object's type. The "
66+
"fields of the object should not be accessed after this call as the memory is "
67+
"no longer a valid Python object."
6868
msgstr ""
6969

7070
#: ../../c-api/allocation.rst:62
7171
msgid ""
72-
"Object which is visible in Python as ``None``. This should only be accessed"
73-
" using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
72+
"Object which is visible in Python as ``None``. This should only be accessed "
73+
"using the :c:macro:`Py_None` macro, which evaluates to a pointer to this "
7474
"object."
7575
msgstr ""
7676

c-api/apiabiversion.po

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# SOME DESCRIPTIVE TITLE.
22
# Copyright (C) 2001-2018, Python Software Foundation
33
# This file is distributed under the same license as the Python package.
4-
#
4+
#
55
# Translators:
66
msgid ""
77
msgstr ""
@@ -10,11 +10,12 @@ msgstr ""
1010
"POT-Creation-Date: 2018-05-23 22:00+0800\n"
1111
"PO-Revision-Date: 2015-12-09 17:51+0000\n"
1212
"Last-Translator: Liang-Bo Wang <me@liang2.tw>\n"
13-
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/python-36-tw/language/zh-Hant/)\n"
13+
"Language-Team: Chinese Traditional (http://www.transifex.com/python-tw-doc/"
14+
"python-36-tw/language/zh-Hant/)\n"
1415
"MIME-Version: 1.0\n"
1516
"Content-Type: text/plain; charset=UTF-8\n"
1617
"Content-Transfer-Encoding: 8bit\n"
17-
"Language: zh-Hant\n"
18+
"Language: zh_TW\n"
1819
"Plural-Forms: nplurals=1; plural=0;\n"
1920

2021
#: ../../c-api/apiabiversion.rst:7

0 commit comments

Comments
 (0)
0