l10n: README: document git-po-helper
Document the PO helper program (git-po-helper) with installation and basic usage. Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Signed-off-by: Jiang Xin <worldhello.net@gmail.com>
This commit is contained in:
parent
e54b271529
commit
6d09c53001
31
po/README.md
31
po/README.md
@ -286,3 +286,34 @@ Testing marked strings
|
|||||||
|
|
||||||
Git's tests are run under LANG=C LC_ALL=C. So the tests do not need be
|
Git's tests are run under LANG=C LC_ALL=C. So the tests do not need be
|
||||||
changed to account for translations as they're added.
|
changed to account for translations as they're added.
|
||||||
|
|
||||||
|
|
||||||
|
PO helper
|
||||||
|
---------
|
||||||
|
|
||||||
|
To make the maintenance of XX.po easier, the l10n coordinator and l10n
|
||||||
|
team leaders can use a helper program named "git-po-helper". It is a
|
||||||
|
wrapper to gettext suite, specifically written for the purpose of Git
|
||||||
|
l10n workflow.
|
||||||
|
|
||||||
|
To build and install the helper program from source, see
|
||||||
|
[git-po-helper/README][].
|
||||||
|
|
||||||
|
Usage for git-po-helper:
|
||||||
|
|
||||||
|
- To start a new language translation:
|
||||||
|
|
||||||
|
git-po-helper init XX.po
|
||||||
|
|
||||||
|
- To update your XX.po file:
|
||||||
|
|
||||||
|
git-po-helper update XX.po
|
||||||
|
|
||||||
|
- To check commit log and syntax of XX.po:
|
||||||
|
|
||||||
|
git-po-helper check-po XX.po
|
||||||
|
git-po-helper check-commits
|
||||||
|
|
||||||
|
Run "git-po-helper" without arguments to show usage.
|
||||||
|
|
||||||
|
[git-po-helper/README]: https://github.com/git-l10n/git-po-helper#readme
|
||||||
|
Loading…
Reference in New Issue
Block a user