Add base transifex config

This simplifies instructions for translators and allows them to have an
out of the box working configuration.

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Dan McGee 2011-04-10 23:06:20 -05:00 committed by Lukas Fleischer
parent c996368024
commit eaffdc27f8
2 changed files with 10 additions and 4 deletions

8
.tx/config Normal file
View file

@ -0,0 +1,8 @@
[main]
host = https://www.transifex.net
[aur.aurpot]
file_filter = po/<lang>.po
source_file = po/aur.pot
source_lang = en

View file

@ -50,13 +50,11 @@ Updating an Existing Translation
1. Download current translation files from Transifex. You can also do this 1. Download current translation files from Transifex. You can also do this
using transifex-client which is available through the AUR: using transifex-client which is available through the AUR:
$ tx init --host=https://www.transifex.net $ tx pull -a
$ tx set --auto-remote https://www.transifex.net/projects/p/aur/
$ tx pull -r aur.aurpot -a
2. Update the existing translation file using an editor or a tool like poedit: 2. Update the existing translation file using an editor or a tool like poedit:
$ poedit <locale>.po $ poedit po/<locale>.po
3. Push the updated translation file back to Transifex. Using transifex-client, 3. Push the updated translation file back to Transifex. Using transifex-client,
this works as follows: this works as follows: