aboutsummaryrefslogtreecommitdiffstats
path: root/po
diff options
context:
space:
mode:
authorYuri Chornoivan <yurchor@mageia.org>2013-08-04 15:38:37 +0000
committerYuri Chornoivan <yurchor@mageia.org>2013-08-04 15:38:37 +0000
commitafb5e6b300079a781249ff66947f2f5c095b194c (patch)
tree8b6de9eefbdc97ffbf6f56d2ff877b52d94892de /po
parent2b8764d8c899b2d8ad1a99415fa1660155ff6163 (diff)
downloadmsec-afb5e6b300079a781249ff66947f2f5c095b194c.tar
msec-afb5e6b300079a781249ff66947f2f5c095b194c.tar.gz
msec-afb5e6b300079a781249ff66947f2f5c095b194c.tar.bz2
msec-afb5e6b300079a781249ff66947f2f5c095b194c.tar.xz
msec-afb5e6b300079a781249ff66947f2f5c095b194c.zip
Make msec notifications translatable (bug #10810)
Diffstat (limited to 'po')
-rw-r--r--po/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/po/Makefile b/po/Makefile
index a671640..52f166f 100644
--- a/po/Makefile
+++ b/po/Makefile
@@ -11,6 +11,7 @@ PL_FILES = ../src/msec/msec.py ../src/msec/msecperms.py ../src/msec/help.py \
../src/msec/plugins/pam.py ../src/msec/plugins/network.py \
../src/msec/plugins/msec.py ../src/msec/plugins/sectool.py \
../src/msec/plugins/sudo.py ../src/msec/plugins/log.py
+SHELL_FILES =../cron-sh/security.sh
# C-like files to search translatable strings in
#CFILES =
@@ -42,7 +43,8 @@ help:
make -C ../src/msec help
$(PGOAL).pot: $(PL_FILES)
- ./pygettext.py -o $(PGOAL).pot $(PL_FILES)
+ ./pygettext.py -k eval_gettext -o $(PGOAL).pot $(PL_FILES)
+ xgettext -L Shell --strict -c -n --omit-header --output - $(SHELL_FILES) >> $(PGOAL).pot
update_n_merge: $(PGOAL).pot merge