diff options
author | Matthew Somerville <matthew@mysociety.org> | 2011-09-20 15:44:22 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2011-09-20 15:44:22 +0100 |
commit | 891ce12c012e2c02e8f024f3701ca9ceef5a4bbf (patch) | |
tree | 769c51c48e6427cb5ded45343b2b6abbe3db5e34 /t/i18n.t | |
parent | 3a05b6e399de926decfe732a8bff9f4e80fc39c5 (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.t | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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( # |