mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
TRANSLATING: Add note about commit message.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
parent
75b0350b5d
commit
5c8ce6de20
1 changed files with 10 additions and 7 deletions
17
TRANSLATING
17
TRANSLATING
|
@ -16,7 +16,7 @@ aur-dev@archlinux.org
|
|||
Creating a New Translation
|
||||
---------------------------
|
||||
|
||||
Before beginning, please make sure that git and python are installed.
|
||||
Before beginning, please make sure that git and python are installed.
|
||||
Also, please do not translate if you are unwilling to maintain or find
|
||||
someone to maintain the translation. This is due to the fact that the
|
||||
AUR is a rapidly evolving project and there are constantly new strings
|
||||
|
@ -24,7 +24,7 @@ to be translated. If the translations get too out of sync with the
|
|||
released versions, there will be too many untranslated strings for the
|
||||
translation to be usable, and it may have to be disabled.
|
||||
|
||||
1. Check out the AUR source using git.
|
||||
1. Check out the AUR source using git.
|
||||
|
||||
$ git clone git://projects.archlinux.org/aur.git aur-git
|
||||
|
||||
|
@ -33,7 +33,7 @@ $ git clone git://projects.archlinux.org/aur.git aur-git
|
|||
process, simply answer its questions and prompts. If you wish to stop
|
||||
at some point during the translation, you may kill translation_tool
|
||||
using Ctrl+C. If you later wish to continue the translation, simply
|
||||
run translation_tool again, and it will continue from where you left off.
|
||||
run translation_tool again, and it will continue from where you left off.
|
||||
|
||||
$ cd aur-git
|
||||
$ git checkout master
|
||||
|
@ -41,11 +41,14 @@ $ git pull
|
|||
$ cd web/lang
|
||||
$ ./translation_tool
|
||||
|
||||
3. To commit your patch to your branch:
|
||||
3. To commit your patch to your branch:
|
||||
|
||||
$ git add <all edited files>
|
||||
$ git commit -s
|
||||
|
||||
Write your commit message above the sign off and separate them by a
|
||||
blank line.
|
||||
|
||||
4. Create a git formatted patch.
|
||||
|
||||
$ git format-patch origin/master
|
||||
|
@ -56,18 +59,18 @@ $ git format-patch origin/master
|
|||
Updating an Existing Translation
|
||||
---------------------------------
|
||||
|
||||
1. Update your copy of the AUR code.
|
||||
1. Update your copy of the AUR code.
|
||||
|
||||
$ cd aur-git
|
||||
$ git pull
|
||||
|
||||
2. Run translation_tool, which will only prompts for strings that have
|
||||
changed or been added since the last translation.
|
||||
changed or been added since the last translation.
|
||||
|
||||
$ cd web/lang
|
||||
$ ./translation_tool
|
||||
|
||||
3. To commit your patch to your branch:
|
||||
3. To commit your patch to your branch:
|
||||
|
||||
$ git add <all edited files>
|
||||
$ git commit -s
|
||||
|
|
Loading…
Add table
Reference in a new issue