Fix broken i18n for the progress bar in deleting assets.

This commit is contained in:
Colin Kuskie 2009-08-23 23:51:13 +00:00
parent 5c2e596139
commit 327efb2f1b
2 changed files with 9 additions and 3 deletions

View file

@ -150,7 +150,7 @@ sub purge {
if (defined $kid) {
unless ($kid->purge) {
$self->errorHandler->security("delete one of (".$self->getId.")'s children which is a system protected page");
$outputSub->(sprintf $i18n->get('Trying to delete system page %s. Aborting purge'), $self->getTitle);
$outputSub->(sprintf $i18n->get('Trying to delete system page %s. Aborting'), $self->getTitle);
return 0;
}
}

View file

@ -1318,12 +1318,12 @@ Couldn't open %-s because %-s <br />
'Trying to delete system page %s. Aborting' => {
message => q{Trying to delete system page %s. Aborting},
lastUpdated => 0,
lastUpdated => 1251071942,
context => q{},
},
'Undefined child' => {
message => q{Trying to delete system page %s. Aborting purge},
message => q{Undefined child.},
lastUpdated => 0,
context => q{},
},
@ -1364,6 +1364,12 @@ Couldn't open %-s because %-s <br />
context => q{},
},
'Delete Assets' => {
message => q{Delete Assets},
lastUpdated => 0,
context => q{},
},
};
1;