diff options
author | matthew <matthew> | 2009-11-03 16:42:51 +0000 |
---|---|---|
committer | matthew <matthew> | 2009-11-03 16:42:51 +0000 |
commit | bb2f78cbb8a8bd2f0eca06fffbc93b21afca484f (patch) | |
tree | ac006ee222ea5126f70fce46a15fb3ec8e6a44cd /bin/gettext-extract | |
parent | ac0452eedf1ee641b4383e576a59342ed78b7ce9 (diff) |
Cannot have $ vars in translated strings. xgettext goes funny if y is used
as a key in a hash unescaped, or with divisions done along with other things.
Diffstat (limited to 'bin/gettext-extract')
-rwxr-xr-x | bin/gettext-extract | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/gettext-extract b/bin/gettext-extract index c5289c169..a44ef6667 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.10 2009-07-16 11:57:19 matthew Exp $ +# $Id: gettext-extract,v 1.11 2009-11-03 16:42:53 matthew Exp $ if [ -e ../../locale ] then @@ -62,11 +62,11 @@ mv $TEMP $PO # Extract email templates echo >> $PO echo '#. Please leave the first word "Subject:" untranslated' >> $PO -for X in bci/templates/emails/* bci/templates/emails/eha/* +for X in bci/templates/emails/* bci/templates/emails/emptyhomes/* 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/eha" -a "$X" != "bci/templates/emails/CVS" -a "$X" != "bci/templates/emails/eha/CVS" ] + if [ "$X" != "bci/templates/emails/emptyhomes" -a "$X" != "bci/templates/emails/CVS" -a "$X" != "bci/templates/emails/emptyhomes/CVS" ] then echo >> $PO echo "#: $X" >> $PO |