summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Fleischer <calcurse@cryptocrack.de>2013-07-24 09:16:06 +0200
committerLukas Fleischer <calcurse@cryptocrack.de>2013-07-24 09:16:06 +0200
commit9eadc19a52d27afd1589d88d75f1d58604578285 (patch)
treea93bc8ecb4bd2eda49922fa031ac213b3cd96848
parent85b9a8e31a09c994a59e85eb309e5e7627eb4f8b (diff)
downloadcalcurse-9eadc19a52d27afd1589d88d75f1d58604578285.zip
.tx/config: Add file filters for all resources
This allows for naming translations "<foo>-<lang>.po", where <foo> is a document name (e.g. "add") and <lang> is a language (e.g. "de"), and simply using `tx push -t` to submit them to Transifex. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
-rw-r--r--.tx/config22
1 files changed, 22 insertions, 0 deletions
diff --git a/.tx/config b/.tx/config
index 285c38f..9290bb5 100644
--- a/.tx/config
+++ b/.tx/config
@@ -8,90 +8,112 @@ source_file = po/calcurse.pot
source_lang = en
[calcurse.doc-add]
+file_filter = po/doc/add-<lang>.po
source_file = po/doc/add.pot
source_lang = en
[calcurse.doc-config]
+file_filter = po/doc/config-<lang>.po
source_file = po/doc/config.pot
source_lang = en
[calcurse.doc-copy-paste]
+file_filter = po/doc/copy-paste-<lang>.po
source_file = po/doc/copy-paste.pot
source_lang = en
[calcurse.doc-credits]
+file_filter = po/doc/credits-<lang>.po
source_file = po/doc/credits.pot
source_lang = en
[calcurse.doc-delete]
+file_filter = po/doc/delete-<lang>.po
source_file = po/doc/delete.pot
source_lang = en
[calcurse.doc-displacement]
+file_filter = po/doc/displacement-<lang>.po
source_file = po/doc/displacement.pot
source_lang = en
[calcurse.doc-edit]
+file_filter = po/doc/edit-<lang>.po
source_file = po/doc/edit.pot
source_lang = en
[calcurse.doc-enote]
+file_filter = po/doc/enote-<lang>.po
source_file = po/doc/enote.pot
source_lang = en
[calcurse.doc-export]
+file_filter = po/doc/export-<lang>.po
source_file = po/doc/export.pot
source_lang = en
[calcurse.doc-flag]
+file_filter = po/doc/flag-<lang>.po
source_file = po/doc/flag.pot
source_lang = en
[calcurse.doc-general]
+file_filter = po/doc/general-<lang>.po
source_file = po/doc/general.pot
source_lang = en
[calcurse.doc-goto]
+file_filter = po/doc/goto-<lang>.po
source_file = po/doc/goto.pot
source_lang = en
[calcurse.doc-import]
+file_filter = po/doc/import-<lang>.po
source_file = po/doc/import.pot
source_lang = en
[calcurse.doc-intro]
+file_filter = po/doc/intro-<lang>.po
source_file = po/doc/intro.pot
source_lang = en
[calcurse.doc-other]
+file_filter = po/doc/other-<lang>.po
source_file = po/doc/other.pot
source_lang = en
[calcurse.doc-pipe]
+file_filter = po/doc/pipe-<lang>.po
source_file = po/doc/pipe.pot
source_lang = en
[calcurse.doc-priority]
+file_filter = po/doc/priority-<lang>.po
source_file = po/doc/priority.pot
source_lang = en
[calcurse.doc-repeat]
+file_filter = po/doc/repeat-<lang>.po
source_file = po/doc/repeat.pot
source_lang = en
[calcurse.doc-save]
+file_filter = po/doc/save-<lang>.po
source_file = po/doc/save.pot
source_lang = en
[calcurse.doc-tab]
+file_filter = po/doc/tab-<lang>.po
source_file = po/doc/tab.pot
source_lang = en
[calcurse.doc-view]
+file_filter = po/doc/view-<lang>.po
source_file = po/doc/view.pot
source_lang = en
[calcurse.doc-vnote]
+file_filter = po/doc/vnote-<lang>.po
source_file = po/doc/vnote.pot
source_lang = en