mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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:
parent
c996368024
commit
eaffdc27f8
2 changed files with 10 additions and 4 deletions
8
.tx/config
Normal file
8
.tx/config
Normal 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
|
||||
|
|
@ -50,13 +50,11 @@ Updating an Existing Translation
|
|||
1. Download current translation files from Transifex. You can also do this
|
||||
using transifex-client which is available through the AUR:
|
||||
|
||||
$ tx init --host=https://www.transifex.net
|
||||
$ tx set --auto-remote https://www.transifex.net/projects/p/aur/
|
||||
$ tx pull -r aur.aurpot -a
|
||||
$ tx pull -a
|
||||
|
||||
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,
|
||||
this works as follows:
|
||||
|
|
Loading…
Add table
Reference in a new issue