Skip to content
Closed
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
114 commits
Select commit Hold shift + click to select a range
d14714d
Upgrade to 3.9
adrianliaw Jun 20, 2020
a0da5dd
Update readme python version
adrianliaw Jun 20, 2020
2351675
Translate tutorial/interpreter.po and introduction.po (#67)
StevenHsuYL May 18, 2021
b3b431a
Translate tutorial/datastructures.po (#71)
StevenHsuYL May 24, 2021
1c19512
Translate tutorial/controlflow.po (#70)
StevenHsuYL Jun 2, 2021
804400a
Translate sphinx.po (#75)
StevenHsuYL Jun 2, 2021
a8ba69c
Translate tutorial/classes.po
StevenHsuYL Jun 5, 2021
8a817c1
Continue tutorial/modules.po (#72)
StevenHsuYL Jun 7, 2021
09f8d1c
Translate tutorial/stdlib2.po
StevenHsuYL Jun 8, 2021
02ce49f
Complete stdlib2.po
StevenHsuYL Jun 19, 2021
611b75d
Minor modification (#79)
StevenHsuYL Jun 27, 2021
15b08a0
Translate tutorial/inputoutput.po (#74)
StevenHsuYL Jun 28, 2021
9f81d74
Update fuzzy of tutorial/venv.po (#81)
StevenHsuYL Jun 28, 2021
80393b2
Update copyright.po (#87)
dukecat0 Jun 28, 2021
219aa85
Update tutorial/whatnow.po (#88)
dukecat0 Jun 28, 2021
96798f6
Update copyright.po (#91)
dukecat0 Jun 28, 2021
b565db2
Translate license.po
StevenHsuYL Jul 1, 2021
097c23d
Update license.po
StevenHsuYL Jul 2, 2021
41e5d1f
Translate intalling/index.po
StevenHsuYL Jul 3, 2021
242f116
Update license.po
StevenHsuYL Jul 3, 2021
bac89b9
Update installing/index.
StevenHsuYL Jul 3, 2021
70460bd
Translate distributing/index.po
StevenHsuYL Jul 4, 2021
a71ebd9
Translate tutorial/errors.po (#76)
StevenHsuYL Jul 4, 2021
b7ccbda
Update tutorial/stdlib.po (#78)
StevenHsuYL Jul 5, 2021
40a67b2
Update index pages.
StevenHsuYL Jul 5, 2021
097e0bb
Translate extending/index.po
StevenHsuYL Jul 6, 2021
e417bc2
Update index pages.
StevenHsuYL Jul 6, 2021
d281dec
Merge branch '3.9' of https://github.com/python/python-docs-zh-tw int…
StevenHsuYL Jul 7, 2021
e0ae8ac
Update sphinx.po
StevenHsuYL Jul 7, 2021
9cf98f1
Translate tutorial/interactive.po (#83)
StevenHsuYL Jul 13, 2021
2e27e7b
Translate tutorial/appendix.po (#84)
dukecat0 Jul 13, 2021
30342dd
Update tutorial/stdlib.po (#97)
StevenHsuYL Aug 16, 2021
db26e0c
Merge branch '3.9' of https://github.com/python/python-docs-zh-tw int…
StevenHsuYL Aug 19, 2021
657e006
Update sphinx.po
StevenHsuYL Aug 19, 2021
2097fa6
secrets translation v 1.0 (#66)
bonzoyang Aug 29, 2021
43c68ce
Apply suggestions from code review
StevenHsuYL Sep 4, 2021
90edb0f
Update stdlib2.po
StevenHsuYL Sep 4, 2021
e0d7814
feat: automation with github action (#102)
mattwang44 Sep 7, 2021
d54eaf6
sync with cpython 9ad2184d (#104)
github-actions[bot] Sep 7, 2021
9630419
Revert "sync with cpython 9ad2184d (#104)" (#106)
adrianliaw Sep 7, 2021
7fedc5f
chore: insert `Language` header entry when merging from CPython doc
mattwang44 Sep 8, 2021
a01692d
chore(doc): update the link for current translated doc
mattwang44 Sep 8, 2021
ce5c2eb
chore: send cpython-syncing PR as a draft
mattwang44 Sep 8, 2021
3da23ec
chore: remove reviewer for cpython-syncing PR
mattwang44 Sep 8, 2021
212beef
chore: insert github app token for triggering ci on automation PR
mattwang44 Sep 8, 2021
9c34230
Merge pull request #108 from mattwang44/improve-github-action
mattwang44 Sep 10, 2021
c25c111
sync with cpython 1b02e29f
github-actions[bot] Sep 13, 2021
3eef7db
fix(sphinx): update based on changes from cpython syncing
mattwang44 Sep 10, 2021
24f673b
fix(tutorial/controlflow): update based on changes from cpython syncing
mattwang44 Sep 10, 2021
ed9b230
fix(copyright): update based on changes from cpython syncing
mattwang44 Sep 10, 2021
e8007dc
fix(faq/general): update based on changes from cpython syncing
mattwang44 Sep 10, 2021
dbc1aa7
fix(faq/programming): update based on changes from cpython syncing
mattwang44 Sep 10, 2021
aecf717
fix(howto/descriptor): update based on changes from cpython syncing
mattwang44 Sep 10, 2021
0c84161
fix(library/array): update based on changes from cpython syncing
mattwang44 Sep 10, 2021
93bae2f
fix(c-api/dict): update based on changes from cpython syncing
mattwang44 Sep 10, 2021
841a567
fix(action): allow merging cpython on existing branch
mattwang44 Sep 13, 2021
2d3ada9
Merge pull request #110 from mattwang44/fix/sync-workflow/edit-on-branch
mattwang44 Sep 13, 2021
a9375a1
Translate tutorial/floatingpoint.po (#89)
StevenHsuYL Sep 15, 2021
16f8e71
Translate bugs.po (#93)
StevenHsuYL Sep 15, 2021
518f91a
Merge branch '3.9' into cron/sync/3.9
mattwang44 Sep 15, 2021
ce2b526
sync with cpython 4ce55cce
github-actions[bot] Sep 15, 2021
585450f
sync with cpython 9443ce4e
github-actions[bot] Sep 16, 2021
399996c
fix(tutorial/floatingpoint): update based on changes from cpython syn…
mattwang44 Sep 16, 2021
3a35894
Merge pull request #105 from python/cron/sync/3.9
adrianliaw Sep 17, 2021
e18f68b
Merge branch '3.9' into classes
mattwang44 Sep 17, 2021
4880a17
Merge branch '3.9' into distributing
mattwang44 Sep 17, 2021
e4bee2a
Merge branch '3.9' into index
mattwang44 Sep 17, 2021
bdc86e3
Merge branch '3.9' into installing
mattwang44 Sep 17, 2021
e0bc195
Update classes.po
StevenHsuYL Sep 21, 2021
768a30d
Update classes.po
StevenHsuYL Sep 21, 2021
0acb12f
Update sphinx.po
StevenHsuYL Sep 22, 2021
7679966
Merge pull request #80 from StevenHsuYL/stdlib2
adrianliaw Sep 23, 2021
1323c0c
Merge branch '3.9' of https://github.com/python/python-docs-zh-tw int…
StevenHsuYL Sep 25, 2021
3035926
Merge pull request #77 from StevenHsuYL/classes
adrianliaw Sep 25, 2021
1aa70ac
Update sphinx.po
StevenHsuYL Sep 29, 2021
292ce1e
Update distributing/index.po
StevenHsuYL Oct 1, 2021
69c669d
Update distributing/index.po
StevenHsuYL Oct 2, 2021
bb356f6
Update installing/index.po
StevenHsuYL Oct 2, 2021
1c134bf
Update installing/index.po
StevenHsuYL Oct 3, 2021
6b750f0
Update installing/index.po
StevenHsuYL Oct 3, 2021
4b8215b
Update license.po
StevenHsuYL Oct 3, 2021
c22e614
Update tutorial/appetite.po
StevenHsuYL Oct 3, 2021
62cf869
Update tutorial/modules.po
StevenHsuYL Oct 3, 2021
784b73c
Merge pull request #96 from StevenHsuYL/distributing
mattwang44 Oct 8, 2021
551ff79
Sync with CPython 3.9 (#112)
pydoc-zh-tw[bot] Oct 8, 2021
747337d
Merge branch '3.9' into installing
mattwang44 Oct 8, 2021
2075526
Merge branch '3.9' into index
mattwang44 Oct 8, 2021
6899e33
Merge branch '3.9' into license
mattwang44 Oct 8, 2021
b5e12a0
Translate library/text.po
jordanSu Oct 10, 2021
f5dc070
docs: improve wording and add introduction to pot file
grimmerk Oct 17, 2021
240d202
update library/text.po according to suggestions
jordanSu Oct 17, 2021
ac134e5
Merge pull request #122 from grimmer0125/improve_readme
mattwang44 Oct 17, 2021
9e3ccd8
fix(README): broken anchor due to modified title
mattwang44 Oct 17, 2021
7af1155
Merge pull request #120 from jordanSu/library-text
mattwang44 Oct 17, 2021
142c849
Merge pull request #123 from python/fix/readme-broken-anchor
josix Oct 18, 2021
c6f8ec3
docs: add more detailed introduction to readme
grimmerk Oct 18, 2021
f60a084
Apply suggestions from code review
StevenHsuYL Oct 19, 2021
5373f0b
Apply suggestions from code review
StevenHsuYL Oct 19, 2021
170b522
Apply suggestions from code review
StevenHsuYL Oct 19, 2021
7cfb039
Merge pull request #95 from StevenHsuYL/installing
mattwang44 Oct 19, 2021
b90882d
Merge pull request #99 from StevenHsuYL/index
mattwang44 Oct 19, 2021
a8ffd10
Merge pull request #94 from StevenHsuYL/license
mattwang44 Oct 19, 2021
8d59554
Sync with CPython 3.9 (#121)
pydoc-zh-tw[bot] Oct 19, 2021
1f1fbbc
docs: update the sentences about searching fuzzy entries
grimmerk Oct 21, 2021
1200b89
fix(README): wrong Telegram invitation link
mattwang44 Oct 21, 2021
80e1d32
docs: correct some typo
grimmerk Oct 21, 2021
78ab3d7
docs: add back some heapq translations which were accidentally deleted
grimmerk Oct 21, 2021
da179b8
Update README.rst
grimmerk Oct 21, 2021
52104be
Merge pull request #124 from grimmer0125/organize_readme
josix Oct 21, 2021
532f75e
fix(README): a translation typo
grimmerk Oct 23, 2021
53c6451
Merge pull request #128 from grimmer0125/fix_readme_typo
josix Oct 23, 2021
2d317b2
translate library/intro
eopXD Oct 5, 2018
56636ac
error fix
eopXD Oct 14, 2018
55368bb
chore: update for Python 3.9
mattwang44 Oct 26, 2021
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/py39-sync-cpython.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@ jobs:
runs-on: ubuntu-latest
env:
VERSION: "3.9"
BRANCH: "cron/sync/3.9"
steps:
- uses: actions/checkout@v2
with:
ref: ${{ env.VERSION }}

- name: Get the changes on branch (if exists)
continue-on-error: true
run: |
git fetch origin ${{ env.BRANCH }}:${{ env.BRANCH }}
git reset --hard ${{ env.BRANCH }}

- name: Set env
run: echo "LATEST_COMMIT_ID=$(git ls-remote https://github.com/python/CPython.git $VERSION | head -c 8)" >> $GITHUB_ENV

Expand All @@ -41,8 +48,8 @@ jobs:
committer: GitHub <noreply@github.com>
author: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
base: ${{ env.VERSION }}
branch: cron/sync/${{ env.VERSION }}
delete-branch: true
branch: ${{ env.BRANCH }}
delete-branch: false
title: 'Sync with CPython ${{ env.VERSION }}'
body: |
Sync with CPython ${{ env.VERSION }}
Expand Down
77 changes: 59 additions & 18 deletions bugs.po
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001-2018, Python Software Foundation
# Copyright (C) 2001-2021, Python Software Foundation
# This file is distributed under the same license as the Python package.
#
# Translators:
Expand All @@ -8,12 +8,13 @@
# aminzai <lagunawang@gmail.com>, 2015
# Liang-Bo Wang <me@liang2.tw>, 2015
# sammy huang <sammy.huang@kkday.com>, 2017
# Steven Hsu <hsuhaochun@gmail.com>, 2021
msgid ""
msgstr ""
"Project-Id-Version: Python 3.7\n"
"Project-Id-Version: Python 3.9\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2021-09-13 00:11+0000\n"
"PO-Revision-Date: 2018-10-13 16:29+0800\n"
"POT-Creation-Date: 2020-06-20 18:08+0800\n"
"PO-Revision-Date: 2021-09-05 00:55+0800\n"
"Last-Translator: Adrian Liaw <adrianliaw2000@gmail.com>\n"
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
"tw)\n"
Expand All @@ -22,41 +23,45 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 2.1.1\n"
"X-Generator: Poedit 2.4.3\n"

#: ../../bugs.rst:5
msgid "Dealing with Bugs"
msgstr "處理 Bug"
msgstr "處理錯誤 (Bug)"

#: ../../bugs.rst:7
msgid ""
"Python is a mature programming language which has established a reputation "
"for stability. In order to maintain this reputation, the developers would "
"like to know of any deficiencies you find in Python."
msgstr ""
"Python 已經是一個以穩定著稱的成熟程式語言。為了維持「穩定」此信譽,開發者們想"
"知道任何您發現的缺失。"
"Python 已經是一個以穩定著稱的成熟程式語言。為了維持「穩定」的信譽,開發者們想"
"知道任何您在 Python 中發現的缺失。"

#: ../../bugs.rst:11
msgid ""
"It can be sometimes faster to fix bugs yourself and contribute patches to "
"Python as it streamlines the process and involves less people. Learn how to :"
"ref:`contribute <contributing-to-python>`."
msgstr ""
"有時候自己直接修復 bug 並且送出一個修正給 Python 會比較快,因為這樣會加速流程"
"有時候自己直接修復錯誤並且送出一個修正給 Python 會比較快,因為這樣會加速流程"
"而且不會困擾到太多人。學習如何\\ :ref:`貢獻給 Python <contributing-to-"
"python>`。"

#: ../../bugs.rst:16
msgid "Documentation bugs"
msgstr "說明文件錯誤"
msgstr "說明文件的錯誤"

#: ../../bugs.rst:18
msgid ""
"If you find a bug in this documentation or would like to propose an "
"improvement, please submit a bug report on the :ref:`tracker <using-the-"
"tracker>`. If you have a suggestion on how to fix it, include that as well."
msgstr ""
"如果您在這份說明文件中發現了錯誤並想要幫助我們改進,請將錯誤報告提交到\\ :"
"ref:`追蹤系統 (tracker) <using-the-tracker>`\\ 。如果您有相應的修正建議,請一"
"併提交。(譯者註:如果是繁體中文說明文件翻譯相關的錯誤,請提交到 https://"
"github.com/python/python-docs-zh-tw/issues。)"

#: ../../bugs.rst:22
msgid ""
Expand All @@ -65,50 +70,56 @@ msgid ""
"'docs@' is a mailing list run by volunteers; your request will be noticed, "
"though it may take a while to be processed."
msgstr ""
"如果您的時間有限,也可以將說明文件的錯誤報告以電子郵件寄到 docs@python.org\\ "
"(程式碼執行的錯誤可以寄到 python-list@python.org)。「docs@」是一個由志工們"
"所運行的郵寄清單;您的請求會被注意到,但可能需要一些時間才會被處理。"

#: ../../bugs.rst:30
#, fuzzy
msgid "`Documentation bugs`_"
msgstr "說明文件錯誤"
msgstr "`說明文件錯誤`_"

#: ../../bugs.rst:30
#, fuzzy
msgid ""
"A list of documentation bugs that have been submitted to the Python issue "
"tracker."
msgstr "Python issue tracker 上\\ `文件相關的錯誤 <Documentation bugs_>`_"
msgstr "一系列已被提交至 Python 問題追蹤系統的有關說明文件的錯誤。"

#: ../../bugs.rst:33
msgid "`Issue Tracking <https://devguide.python.org/tracker/>`_"
msgstr ""
msgstr "`問題追蹤系統 <https://devguide.python.org/tracker/>`_"

#: ../../bugs.rst:33
msgid ""
"Overview of the process involved in reporting an improvement on the tracker."
msgstr ""
msgstr "在追蹤系統上回報改進建議的過程簡介。"

#: ../../bugs.rst:35
msgid ""
"`Helping with Documentation <https://devguide.python.org/docquality/#helping-"
"with-documentation>`_"
msgstr ""
"`貢獻說明文件 <https://devguide.python.org/docquality/#helping-with-"
"documentation>`_"

#: ../../bugs.rst:36
msgid ""
"Comprehensive guide for individuals that are interested in contributing to "
"Python documentation."
msgstr ""
msgstr "給有意成為 Python 說明文件貢獻者的綜合指南。"

#: ../../bugs.rst:41
msgid "Using the Python issue tracker"
msgstr "使用 Python 議題追蹤"
msgstr "使用 Python 問題追蹤系統"

#: ../../bugs.rst:43
msgid ""
"Bug reports for Python itself should be submitted via the Python Bug Tracker "
"(https://bugs.python.org/). The bug tracker offers a Web form which allows "
"pertinent information to be entered and submitted to the developers."
msgstr ""
"對於 Python 本身的錯誤報告,應該透過 Python 錯誤追蹤系統 (https://bugs."
"python.org/) 提交。這個錯誤追蹤系統提供了一個網頁表單,可以輸入並提交相關資訊"
"給開發者。"

#: ../../bugs.rst:47
msgid ""
Expand All @@ -120,6 +131,11 @@ msgid ""
"can!). To do this, search the bug database using the search box on the top "
"of the page."
msgstr ""
"填寫報告的第一步,是確認該問題是否已經被回報過了。這樣做的好處,除了可以節省"
"開發者的時間,也能讓您了解目前關於該問題的處理進度;有可能已經在下一個發行版"
"本中修正了這個問題,也有可能需要更詳細的資訊(在這種情況下,如果可以,非常歡"
"迎您提供資訊!)。要確認是否重複回報,請使用頁面頂端的搜尋框來搜尋錯誤資料"
"庫。"

#: ../../bugs.rst:54
msgid ""
Expand All @@ -129,12 +145,17 @@ msgid ""
"OpenID provider logos in the sidebar. It is not possible to submit a bug "
"report anonymously."
msgstr ""
"如果您想回報的問題還沒有在錯誤追蹤系統出現過,請返回並登入 Python 錯誤追蹤系"
"統。如果您還沒有系統的帳號,請點選「註冊 (Register)」,如果您有 OpenID,也可"
"以在側邊欄中點選其中一個 OpenID 的提供者圖示。您無法以匿名方式提交錯誤報告。"

#: ../../bugs.rst:59
msgid ""
"Being now logged in, you can submit a bug. Select the \"Create New\" link "
"in the sidebar to open the bug reporting form."
msgstr ""
"如果已經登入,那您就可以提交一個錯誤。請點選側邊欄中的「新建 (Create New)」連"
"結,開啟錯誤回報表單。"

#: ../../bugs.rst:62
msgid ""
Expand All @@ -143,6 +164,10 @@ msgid ""
"the \"Type\" field, select the type of your problem; also select the "
"\"Component\" and \"Versions\" to which the bug relates."
msgstr ""
"提交的表單中有幾個欄位。(譯者註:所有欄位請皆用英文輸入。)在「標題 "
"(Title)」欄位,輸入對該問題\\ *非常*\\ 簡短的描述;最好少於十個單字。在「類"
"型 (Type)」欄位,選擇您的問題類型;也要選擇與錯誤相關的「Component(組件)」"
"和「Versions(版本)」。"

#: ../../bugs.rst:67
msgid ""
Expand All @@ -151,37 +176,49 @@ msgid ""
"extension modules were involved, and what hardware and software platform you "
"were using (including version information as appropriate)."
msgstr ""
"在「Comment(說明)」欄位,請詳細描述該問題,包括您預期發生的情況和實際發生的"
"情況。請確定說明中包含了涉及到的任何擴充模組,以及您當時所使用的硬體和軟體平"
"台(視情況而定,可以附上版本資訊)。"

#: ../../bugs.rst:72
msgid ""
"Each bug report will be assigned to a developer who will determine what "
"needs to be done to correct the problem. You will receive an update each "
"time action is taken on the bug."
msgstr ""
"每一份錯誤報告會被分派給一位開發者,並由他決定要做出什麼變更來修正這個問題。"
"每當該錯誤有修正動作時,您會收到更新回報。"

#: ../../bugs.rst:81
msgid ""
"`How to Report Bugs Effectively <https://www.chiark.greenend.org.uk/"
"~sgtatham/bugs.html>`_"
msgstr ""
"`如何有效地回報錯誤 <https://www.chiark.greenend.org.uk/~sgtatham/bugs."
"html>`_"

#: ../../bugs.rst:80
msgid ""
"Article which goes into some detail about how to create a useful bug report. "
"This describes what kind of information is useful and why it is useful."
msgstr ""
"這篇文章詳細說明如何建立一份有用的錯誤報告。它描述了什麼樣的資訊是有用的,以"
"及這些資訊為什麼有用。"

#: ../../bugs.rst:84
msgid ""
"`Bug Writing Guidelines <https://bugzilla.mozilla.org/page.cgi?id=bug-"
"writing.html>`_"
msgstr ""
"`錯誤撰寫指南 <https://bugzilla.mozilla.org/page.cgi?id=bug-writing.html>`_"

#: ../../bugs.rst:84
msgid ""
"Information about writing a good bug report. Some of this is specific to "
"the Mozilla project, but describes general good practices."
msgstr ""
"撰寫一份優良錯誤報告的相關資訊。部分的文章內容是針對 Mozilla 專案,但它也描述"
"了通用的好習慣。"

#: ../../bugs.rst:90
msgid "Getting started contributing to Python yourself"
Expand All @@ -195,3 +232,7 @@ msgid ""
"the `core-mentorship mailing list`_ is a friendly place to get answers to "
"any and all questions pertaining to the process of fixing issues in Python."
msgstr ""
"除了只是回報您所發現的錯誤之外,同樣也歡迎您提交修正它們的修補程式 (patch)。"
"您可以在 `Python 開發者指南`_\\ 中找到如何開始修補 Python 的更多資訊。如果您"
"有任何問題,\\ `核心導師郵寄清單`_\\ 是一個友善的地方,您可以在那裡得到,關"
"於 Python 修正錯誤的過程中,所有問題的答案。"
6 changes: 3 additions & 3 deletions copyright.po
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=1; plural=0;\n"
"X-Generator: Poedit 3.0\n"
"X-Generator: Poedit 2.4.3\n"

#: ../../copyright.rst:3
msgid "Copyright"
msgstr "版權宣告"

#: ../../copyright.rst:5
msgid "Python and this documentation is:"
msgstr "Python和這些文件是:"
msgstr "Python 和這份說明文件的版權:"

#: ../../copyright.rst:7
msgid "Copyright © 2001-2021 Python Software Foundation. All rights reserved."
Expand All @@ -55,4 +55,4 @@ msgstr "Copyright © 1991-1995 Stichting Mathematisch Centrum 保留一切權利
msgid ""
"See :ref:`history-and-license` for complete license and permissions "
"information."
msgstr "完整的授權條款資訊請參見 :ref:`history-and-license`。"
msgstr "完整的授權條款資訊請參見\\ :ref:`history-and-license`。"
Loading