From eed261eaa1ac36e86b9f621d999e72f083f9c3da Mon Sep 17 00:00:00 2001 From: Dave Whiteland Date: Wed, 4 Sep 2013 11:08:15 +0100 Subject: switch Fixmindelo to pt_CV locale --- perllib/FixMyStreet/Cobrand/FixMindelo.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perllib/FixMyStreet/Cobrand/FixMindelo.pm') diff --git a/perllib/FixMyStreet/Cobrand/FixMindelo.pm b/perllib/FixMyStreet/Cobrand/FixMindelo.pm index 6f81bad84..7ba93ac3b 100644 --- a/perllib/FixMyStreet/Cobrand/FixMindelo.pm +++ b/perllib/FixMyStreet/Cobrand/FixMindelo.pm @@ -4,11 +4,12 @@ use base 'FixMyStreet::Cobrand::Default'; use strict; use warnings; - sub country { return 'CV'; } +sub languages { [ 'pt-cv,Portuguese,pt_CV', 'en-gb,English,en_GB' ] } +sub language_override { 'pt-cv' } sub language_domain { 'FixMindelo' } sub disambiguate_location { -- cgit v1.2.3 From c8bf5e635e62fc45aa074f87278cef9e1d89696f Mon Sep 17 00:00:00 2001 From: Dave Whiteland Date: Wed, 4 Sep 2013 14:27:49 +0100 Subject: remove Mindelo's language domain because we don't need it -- just using translation (pt_CV) file --- perllib/FixMyStreet/Cobrand/FixMindelo.pm | 1 - 1 file changed, 1 deletion(-) (limited to 'perllib/FixMyStreet/Cobrand/FixMindelo.pm') diff --git a/perllib/FixMyStreet/Cobrand/FixMindelo.pm b/perllib/FixMyStreet/Cobrand/FixMindelo.pm index 7ba93ac3b..59debf157 100644 --- a/perllib/FixMyStreet/Cobrand/FixMindelo.pm +++ b/perllib/FixMyStreet/Cobrand/FixMindelo.pm @@ -10,7 +10,6 @@ sub country { sub languages { [ 'pt-cv,Portuguese,pt_CV', 'en-gb,English,en_GB' ] } sub language_override { 'pt-cv' } -sub language_domain { 'FixMindelo' } sub disambiguate_location { return { -- cgit v1.2.3