aboutsummaryrefslogtreecommitdiffstats
path: root/t/app
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2011-06-06 11:25:44 +0100
committerMatthew Somerville <matthew@mysociety.org>2011-06-06 11:25:44 +0100
commit1aa62d33e4e038e9edf994084603086eff26b6ac (patch)
tree4763fa3eacd75caf4650e6a00f4c28a440182bd6 /t/app
parenta6c11ec2e1fa29ffc28fed8fa0102f2fb9d61845 (diff)
Tidy up some strings for translation, remove some migrated code.
Diffstat (limited to 't/app')
-rw-r--r--t/app/controller/auth.t2
-rw-r--r--t/app/controller/contact.t16
2 files changed, 9 insertions, 9 deletions
diff --git a/t/app/controller/auth.t b/t/app/controller/auth.t
index 9f08c8aa9..9a466832b 100644
--- a/t/app/controller/auth.t
+++ b/t/app/controller/auth.t
@@ -24,7 +24,7 @@ $mech->not_logged_in_ok;
$mech->get_ok('/auth');
for my $test (
- [ '' => 'enter an email address' ],
+ [ '' => 'enter your email' ],
[ 'not an email' => 'check your email address is correct' ],
[ 'bob@foo' => 'check your email address is correct' ],
[ 'bob@foonaoedudnueu.co.uk' => 'check your email address is correct' ],
diff --git a/t/app/controller/contact.t b/t/app/controller/contact.t
index 9808ef762..bbb3a0f83 100644
--- a/t/app/controller/contact.t
+++ b/t/app/controller/contact.t
@@ -133,9 +133,9 @@ for my $test (
page_errors =>
[ 'There were problems with your report. Please see below.', ],
field_errors => [
- 'Please give your name',
- 'Please give your email',
- 'Please give a subject',
+ 'Please enter your name',
+ 'Please enter your email',
+ 'Please enter a subject',
'Please write a message',
]
},
@@ -149,9 +149,9 @@ for my $test (
page_errors =>
[ 'There were problems with your report. Please see below.', ],
field_errors => [
- 'Please give your name',
- 'Please give a valid email address',
- 'Please give a subject',
+ 'Please enter your name',
+ 'Please enter a valid email address',
+ 'Please enter a subject',
'Please write a message',
]
},
@@ -164,7 +164,7 @@ for my $test (
},
page_errors =>
[ 'There were problems with your report. Please see below.', ],
- field_errors => [ 'Please give a subject', 'Please write a message', ]
+ field_errors => [ 'Please enter a subject', 'Please write a message', ]
},
{
fields => {
@@ -186,7 +186,7 @@ for my $test (
},
page_errors =>
[ 'There were problems with your report. Please see below.', ],
- field_errors => [ 'Please give a subject', 'Please write a message', ]
+ field_errors => [ 'Please enter a subject', 'Please write a message', ]
},
{
fields => {