internationalize Post status messages
This commit is contained in:
parent
95794255eb
commit
c6be6929c7
2 changed files with 67 additions and 4 deletions
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue