From 7f711755116ecb23763f1d962fd9a37b9bc2b65a Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Thu, 20 Jun 2019 22:56:11 +0200 Subject: [PATCH] Add Messages.sh for translatable string extraction Signed-off-by: Juraj Oravec --- Messages.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Messages.sh diff --git a/Messages.sh b/Messages.sh new file mode 100644 index 0000000..cc2bcff --- /dev/null +++ b/Messages.sh @@ -0,0 +1,11 @@ +#! /bin/sh + +XGETTEXT_FLAGS_PYTHON="\ +--copyright-holder=This_file_is_part_of_KDE \ +--msgid-bugs-address=http://bugs.kde.org \ +--from-code=UTF-8 \ +-L Python \ +-ki18n:1 -ki18np:1,2 \ +" + +$XGETTEXT_PROGRAM $XGETTEXT_FLAGS_PYTHON `find ./readability -name '*.py'` -o $podir/readability.pot