[aur-dev] [PATCH 2/2] Add base transifex config
Dan McGee
dan at archlinux.org
Mon Apr 11 00:06:20 EDT 2011
This simplifies instructions for translators and allows them to have an
out of the box working configuration.
Signed-off-by: Dan McGee <dan at archlinux.org>
---
.tx/config | 8 ++++++++
TRANSLATING | 6 ++----
2 files changed, 10 insertions(+), 4 deletions(-)
create mode 100644 .tx/config
diff --git a/.tx/config b/.tx/config
new file mode 100644
index 0000000..1adc03d
--- /dev/null
+++ b/.tx/config
@@ -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
+
diff --git a/TRANSLATING b/TRANSLATING
index 52c69c9..56b3383 100644
--- a/TRANSLATING
+++ b/TRANSLATING
@@ -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:
--
1.7.4.4
More information about the aur-dev
mailing list