internationalize Post status messages

This commit is contained in:
Colin Kuskie 2005-03-21 23:53:40 +00:00
parent 95794255eb
commit c6be6929c7
2 changed files with 67 additions and 4 deletions

View file

@ -331,11 +331,11 @@ sub getStatus {
my $self = shift;
my $status = $self->get("status");
if ($status eq "approved") {
return "Approved";
return WebGUI::International::get('approved','Post');
} elsif ($status eq "denied") {
return "Denied";
return WebGUI::International::get('denied','Post');
} elsif ($status eq "pending") {
return "Pending";
return WebGUI::International::get('pending','Post');
}
}