Skip to content
This repository was archived by the owner on Sep 2, 2018. It is now read-only.

Project update

Liang-Bo Wang edited this page Nov 19, 2016 · 6 revisions

自 Transifex 下載新的翻譯字串

使用 Transifex client。 首先要把帳號、密碼存在 ~/.transifexrc 中(token 留白即可),

[https://www.transifex.com]
hostname = https://www.transifex.com
token =
username = <YOUR USERNAME>
password = <YOUR PASSWORD>

接著在 Doc/ 目錄,自 Transifex 更新本地的翻譯字串。

$ 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'

小版本更新(例:3.5.1 -> 3.5.2)

$ 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。

$ 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
Clone this wiki locally
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy