fixing internationalization problems

This commit is contained in:
JT Smith 2006-02-14 19:31:00 +00:00
parent 02f64b827b
commit c6bc09f79c
2 changed files with 14 additions and 1 deletions

View file

@ -92,7 +92,7 @@ sub www_editCronJob {
value=>$value,
defaultValue=>0,
label=>$i18n->get("run once"),
hoverHelp=>$i18n->get("ron once help")
hoverHelp=>$i18n->get("run once help")
);
my $value = $cron->get("workflowId") if defined $cron;
$f->workflow(
@ -157,6 +157,7 @@ sub www_editCronJob {
$f->submit;
my $ac = WebGUI::AdminConsole->new($session,"cron");
$ac->addSubmenuItem($session->url->page("op=editCronJob"), $i18n->get("add a new task"));
$ac->addSubmenuItem($session->url->page("op=manageCron"), $i18n->get("manage tasks"));
return $ac->render($f->print);
}

View file

@ -157,6 +157,18 @@ our $I18N = {
lastUpdated => 0,
},
'id' => {
message => q|Task ID|,
context => q|a label for the unique id representing the task|,
lastUpdated => 0,
},
'manage tasks' => {
message => q|Manage all tasks.|,
context => q|clicking on this text linked will show the user a list of all cron jobs|,
lastUpdated => 0,
},
'add a new task' => {
message => q|Add a new task.|,
context => q|clicking on this text linked will add a new cron job|,