We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
使用 Transifex client。 首先要把帳號、密碼存在 ~/.transifexrc 中(token 留白即可),
~/.transifexrc
[https://www.transifex.com] hostname = https://www.transifex.com token = username = <YOUR USERNAME> password = <YOUR PASSWORD>
接著在 Doc/ 目錄,自 Transifex 更新本地的翻譯字串。
Doc/
$ tx pull -l zh-Hant $ tx pull -l zh-Hant -r "python-35-tw.tutorial--*" # only tutorial/* docs
加入版本控制。
$ git add locale/zh-Hant $ git commit -m 'Update translation'
$ git log --graph --oneline 264d571 * 264d571 Added tag v3.5.1 for changeset 37a07cee5969 * 6d35e37 Version bump for 3.5.1 final. * 5754c63 Updated pydoc topics for 3.5.1 final.
選擇更新到「Added tag vX.Y.Z for changeset xxx」這個 commit。Changeset xxx 對應到的是 mercurial 上 commit。
xxx
$ git remote add upstream https://github.com/python/cpython.git $ git fetch upstream 3.5 $ git merge 7aafe3c4fbff73590de183f095f1d32feeadc450
更新翻譯原文 pot 檔並上傳至 Transifex(需要一段時間):
$ make gettext $ tx push -s