diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/gettext-extract | 8 | ||||
-rwxr-xr-x | bin/problem-creation-graph | 6 | ||||
-rwxr-xr-x | bin/problems-filed-graph | 6 |
3 files changed, 10 insertions, 10 deletions
diff --git a/bin/gettext-extract b/bin/gettext-extract index 95df5647b..fb3406984 100755 --- a/bin/gettext-extract +++ b/bin/gettext-extract @@ -19,7 +19,7 @@ else if [ -e locale ] then cd . else - echo "Please run with current directory bci/bin" + echo "Please run with current directory fixmystreet/bin" exit 1 fi fi @@ -40,7 +40,7 @@ PO=locale/FixMyStreet.po rm -f $PO # Extract from Perl -xgettext --add-comments=TRANS --language=Perl --keyword=_ --keyword=nget:1,2 --from-code=utf-8 -o $PO perllib/mySociety/*.pm bci/perllib/*.pm bci/web/*.cgi bci/bin/send-* bci/db/alert_types_eha.pl +xgettext --add-comments=TRANS --language=Perl --keyword=_ --keyword=nget:1,2 --from-code=utf-8 -o $PO commonlib/perllib/mySociety/*.pm perllib/*.pm web/*.cgi bin/send-* db/alert_types_eha.pl # Fix headers TEMP=`tempfile` @@ -62,7 +62,7 @@ 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/emptyhomes/* +for X in templates/emails/* templates/emails/emptyhomes/* do # TODO: Should check for "*~" type filenames too, and do the *-livesimply case # with wildcards rather than checking per template @@ -76,5 +76,5 @@ do fi done -bci/bin/make_emptyhomes_po +fixmystreet/bin/make_emptyhomes_po diff --git a/bin/problem-creation-graph b/bin/problem-creation-graph index c3c670667..6d34d3b49 100755 --- a/bin/problem-creation-graph +++ b/bin/problem-creation-graph @@ -16,9 +16,9 @@ EXTENSION=".png" cd `dirname $0` cd ../../ -source shlib/deployfns +source fixmystreet/commonlib/shlib/deployfns -read_conf bci/conf/general +read_conf fixmystreet/conf/general if [ $OPTION_BASE_URL = "http://reportemptyhomes.com" ]; then DATE="2008-10-01" @@ -104,6 +104,6 @@ END #echo "gpscript $GPSCRIPT" export GDFONTPATH=/usr/share/fonts/truetype/ttf-bitstream-vera -gnuplot < $GPSCRIPT > bci/web/bci-live-creation$EXTENSION +gnuplot < $GPSCRIPT > fixmystreet/web/bci-live-creation$EXTENSION diff --git a/bin/problems-filed-graph b/bin/problems-filed-graph index a0a5b91b1..702bea651 100755 --- a/bin/problems-filed-graph +++ b/bin/problems-filed-graph @@ -16,9 +16,9 @@ EXTENSION=".png" cd `dirname $0` cd ../../ -source shlib/deployfns +source fixmystreet/commonlib/shlib/deployfns -read_conf bci/conf/general +read_conf fixmystreet/conf/general SOURCEO=/tmp/bci-report-rate-graph-data-nonwmc-$RANDOM$RANDOM GPSCRIPT=/tmp/bci-report-rate-graph-script-$RANDOM$RANDOM @@ -57,5 +57,5 @@ END #echo "gpscript $GPSCRIPT" export GDFONTPATH=/usr/share/fonts/truetype/ttf-bitstream-vera -gnuplot < $GPSCRIPT > bci/web/bci-live-line$EXTENSION +gnuplot < $GPSCRIPT > fixmystreet/web/bci-live-line$EXTENSION |