aboutsummaryrefslogtreecommitdiffstats
path: root/t/i18n.t
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-09-20 15:44:22 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-09-20 15:44:22 +0100
commit891ce12c012e2c02e8f024f3701ca9ceef5a4bbf (patch)
tree769c51c48e6427cb5ded45343b2b6abbe3db5e34 /t/i18n.t
parent3a05b6e399de926decfe732a8bff9f4e80fc39c5 (diff)
Decode template files read in with read_file, to prevent double encoding (fixes #159). Also fix Welsh I18N test.
Diffstat (limited to 't/i18n.t')
-rw-r--r--t/i18n.t4
1 files changed, 2 insertions, 2 deletions
diff --git a/t/i18n.t b/t/i18n.t
index 2279ca6a8..4179dd8d0 100644
--- a/t/i18n.t
+++ b/t/i18n.t
@@ -19,8 +19,8 @@ die "You need to run 'commonlib/bin/gettext-makemo --quiet FixMyStreet' "
'locale/cy_GB.UTF-8/LC_MESSAGES/FixMyStreet-EmptyHomes.mo');
# Example strings
-my $english = "Sorry! Something's gone wrong.";
-my $welsh = "Ymddiheuriadau! Mae rhywbeth wedi mynd o'i le.";
+my $english = "Please enter a valid email";
+my $welsh = "Cofnodwch gyfeiriad e-bost dilys";
# set english as the language
mySociety::Locale::negotiate_language( #