From f4e107c800250744d7aa7b761e4b7fb94ede3b35 Mon Sep 17 00:00:00 2001 From: raveit65 Date: Tue, 18 Sep 2018 10:42:05 +0200 Subject: tx: add atril-user-guide to transifex config and correct path of normal .pot file --- .tx/config | 9 ++++++++- help/Makefile.am | 2 +- makepot | 4 ++++ 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/.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//.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 . -- cgit v1.2.1