Forward porting Account/Inbox i18n fixes.

This commit is contained in:
Colin Kuskie 2009-06-11 19:08:24 +00:00
parent 6f69cff90e
commit 3dfb23cf55
2 changed files with 15 additions and 5 deletions

View file

@ -873,7 +873,7 @@ sub www_inviteUserSave {
my @toList = split /[;,]/, $to;
for my $inviteeEmail (@toList) {
unless ( $inviteeEmail =~ WebGUI::Utility::emailRegex ) {
return $self->www_inviteUser( $i18n->get('invalid email') );
return $self->www_inviteUser( sprintf $i18n->get('invalid email'), $inviteeEmail );
}
# User existance check.

View file

@ -475,10 +475,15 @@ our $I18N = {
lastUpdated => 1181409056,
},
'missing message' => {
message => q|Your invitation must have a message.|,
lastUpdated => 1181409432,
},
'invalid email' => {
message => q|Invalid email address entered: %s.|,
lastUpdated => 1181409056,
},
'missing message' => {
message => q|Your invitiation must have a message.|,
lastUpdated => 1181409432,
},
'missing subject' => {
message => q|Your invitation must have a subject.|,
@ -490,6 +495,11 @@ our $I18N = {
lastUpdated => 1227715272,
},
'currently invited' => {
message => q|The email address you entered, %s, has an outstanding invitation on this site.|,
lastUpdated => 1227715272,
},
'no email' => {
message => q{The invitation cannot be sent because you do not have an email address set in your profile.},
lastUpdated => 1119068809,