From 2510c64411a437f293dcaf36086618660db5d860 Mon Sep 17 00:00:00 2001 From: Guillaume RISCHARD Date: Thu, 22 Mar 2012 13:16:06 +0100 Subject: Reverse bing geocoding should get the local culture parameter --- bin/populate_bing_cache | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/populate_bing_cache b/bin/populate_bing_cache index a3bef6759..17c8911d0 100755 --- a/bin/populate_bing_cache +++ b/bin/populate_bing_cache @@ -9,6 +9,8 @@ use Data::Dumper; use FixMyStreet::App; use FixMyStreet::Geocode::Bing; +my $bing_culture = 'en-GB'; + my $reports = FixMyStreet::App->model('DB::Problem')->search( { geocode => undef, @@ -46,7 +48,7 @@ while ( my $report = $reports->next ) { next if $report->geocode; my $j = FixMyStreet::Geocode::Bing::reverse( $report->latitude, - $report->longitude ); + $report->longitude, $bing_culture ); $report->geocode($j); $report->update; -- cgit v1.2.3 From e2cc014a4dc1728d78cbf8e076f1a15645d1e6e7 Mon Sep 17 00:00:00 2001 From: Matthew Somerville Date: Thu, 22 Mar 2012 13:13:26 +0000 Subject: Initial creation of Bromley cobrand. --- bin/make_css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'bin') diff --git a/bin/make_css b/bin/make_css index 70625b2f4..27cbec1b5 100755 --- a/bin/make_css +++ b/bin/make_css @@ -15,9 +15,10 @@ DIRECTORY=$(cd `dirname $0`/../web && pwd) # FixMyStreet uses compass compass compile --output-style compressed $DIRECTORY/cobrands/fixmystreet +compass compile --output-style compressed $DIRECTORY/cobrands/bromley # The rest are plain sass -for scss in `find $DIRECTORY -name "*.scss" -exec dirname {} \; | uniq | grep -v cobrands/fixmystreet` +for scss in `find $DIRECTORY -name "*.scss" -exec dirname {} \; | uniq | grep -v "cobrands/\(fixmystreet\|bromley\)"` do sass --scss --update --style compressed $scss done -- cgit v1.2.3