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

@ -1,4 +1,4 @@
package WebGUI::i18n::English::MailingManager;
package WebGUI::i18n::Dutch::MailingManager;
use strict;
@ -65,6 +65,23 @@ our $I18N = {
message => 'Afbreken',
},
'send test mail success' => {
message => qq{<p>Er zijn %i testemails klaargezet om verstuurd te worden naar %s.</p><p><a href="%s">Terug naar mailingbeheer.</a></p>},
},
'schedule mailing success' => {
message => qq{<p>Deze mailing is geplanned om verzonden te worden op %s.</p><p><a href="%s">Terug naar mailingbeheer.</a></p>},
},
'cancel mailing' => {
message => 'Mailing afbreken',
},
'cancel mailing success' => {
message => 'De mailing is afgebroken.',
},
'cancel mailing failure' => {
message => 'De mailing kan niet afgebroken worden. Dit kan voorkomen als de mailing geplanned stond om verzonden te worden vlak voor het moment waarop deze afgebroken werd.',
},
};
1;

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;