summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2018-09-18 10:42:05 +0200
committerraveit65 <[email protected]>2018-09-18 10:42:05 +0200
commitf4e107c800250744d7aa7b761e4b7fb94ede3b35 (patch)
tree62008a4034f0ec38feec5f21c1cc8a350ba5f1b0
parent81934df6a2dd673a7cda631ac47420bd357ba250 (diff)
downloadatril-f4e107c800250744d7aa7b761e4b7fb94ede3b35.tar.bz2
atril-f4e107c800250744d7aa7b761e4b7fb94ede3b35.tar.xz
tx: add atril-user-guide to transifex config
and correct path of normal .pot file
-rw-r--r--.tx/config9
-rw-r--r--help/Makefile.am2
-rwxr-xr-xmakepot4
3 files changed, 13 insertions, 2 deletions
diff --git a/.tx/config b/.tx/config
index 184504cc..38cbc436 100644
--- a/.tx/config
+++ b/.tx/config
@@ -3,7 +3,14 @@ host = https://www.transifex.com
[MATE.1-20--atril]
file_filter = po/<lang>.po
-source_file = po/atril.pot
+source_file = atril.pot
+source_lang = en
+type = PO
+minimum_perc = 2
+
+[MATE.1-20--atril-user-quide]
+file_filter = help/<lang>/<lang>.po
+source_file = atril-user-quide.pot
source_lang = en
type = PO
minimum_perc = 2
diff --git a/help/Makefile.am b/help/Makefile.am
index d847b21d..16e50611 100644
--- a/help/Makefile.am
+++ b/help/Makefile.am
@@ -2,7 +2,7 @@ SUBDIRS = reference
@YELP_HELP_RULES@
-HELP_ID = atril
+HELP_ID = atril-user-quide
HELP_FILES = index.docbook legal.xml
HELP_MEDIA = figures/atril_start_window.png
diff --git a/makepot b/makepot
index 2fc02fc8..5f69c26e 100755
--- a/makepot
+++ b/makepot
@@ -1,5 +1,9 @@
#! /bin/sh
PACKAGE=atril;
+PACKAGE_GUIDE=atril-user-quide;
+# normal translations
make -C po $PACKAGE.pot && mv po/$PACKAGE.pot .
+# translations for user-quide
+make -C help $PACKAGE_GUIDE.pot && mv help/$PACKAGE_GUIDE.pot .