Add better feedback for schedule, test and cancel operations.

This commit is contained in:
Martin Kamerbeek 2010-06-02 18:09:55 +02:00
parent 6010aa947f
commit 62dd81a165
3 changed files with 83 additions and 17 deletions

View file

@ -27,9 +27,6 @@ our $I18N = {
message => 'Bounce score',
},
'cannot cancel' => {
message => 'Cannot cancel mailing \'%s\'.',
},
'error' => {
message => 'An error occurred',
},
@ -65,6 +62,26 @@ our $I18N = {
message => 'Cancel',
},
'send test mail' => {
message => 'Send test emails',
},
'send test mail success' => {
message => qq{<p>%i test emails have been queued for sending to %s.</p><p><a href="%s">Back to mailing manager.</a></p>},
},
'schedule mailing success' => {
message => qq{This mailing is successfully scheduled for distribution on %s.</p><p><a href="%s">Back to mailing manager.</a></p>},
},
'cancel mailing' => {
message => 'Cancel mailing',
},
'cancel mailing success' => {
message => 'The mailing has sucessfully been canceled.',
},
'cancel mailing failure' => {
message => 'The mailing could not be canceled. This can happen when the mailing has been scheduled just before it was canceled.',
},
};
1;