aboutsummaryrefslogtreecommitdiffstats
path: root/bin/gettext-extract
diff options
context:
space:
mode:
authormatthew <matthew>2008-05-15 16:09:51 +0000
committermatthew <matthew>2008-05-15 16:09:51 +0000
commitcb679d86451e657b0c5de603def6a76b2dd6de71 (patch)
treec4f70385326aea28c10d491b340635579f7f3903 /bin/gettext-extract
parentf4f1efdd55dfced30d61f98c98e0ea27866ab81d (diff)
EHA text/template tweaks, get sending of reports working.
Diffstat (limited to 'bin/gettext-extract')
-rwxr-xr-xbin/gettext-extract7
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/gettext-extract b/bin/gettext-extract
index eb2682701..d0d8cbb1d 100755
--- a/bin/gettext-extract
+++ b/bin/gettext-extract
@@ -7,7 +7,7 @@
# Copyright (c) 2008 UK Citizens Online Democracy. All rights reserved.
# Email: matthew@mysociety.org; WWW: http://www.mysociety.org/
#
-# $Id: gettext-extract,v 1.2 2008-05-15 09:26:56 matthew Exp $
+# $Id: gettext-extract,v 1.3 2008-05-15 16:09:51 matthew Exp $
if [ -e ../../locale ]
then
@@ -57,8 +57,7 @@ cat $PO | sed "
" >> $TEMP
mv $TEMP $PO
-# XXX: Email templates - should be in >1 language...
-# And the XSL page too.
+# XXX The XSL page needs including?
# Extract email templates
echo >> $PO
@@ -67,7 +66,7 @@ for X in bci/templates/emails/*
do
# TODO: Should check for "*~" type filenames too, and do the *-livesimply case
# with wildcards rather than checking per template
- if [ "$X" != "bci/templates/emails/CVS" -a "$X" != "bci/templates/emails/empty property-confirm" ]
+ if [ "$X" != "bci/templates/emails/CVS" -a "$X" != "bci/templates/emails/empty property-confirm" -a "$X" != "bci/templates/emails/submit-eha" ]
then
echo >> $PO
echo "#: $X" >> $PO