From c6bc09f79c9df9d323792ce44e336f6943fd9fbe Mon Sep 17 00:00:00 2001 From: JT Smith Date: Tue, 14 Feb 2006 19:31:00 +0000 Subject: [PATCH] fixing internationalization problems --- lib/WebGUI/Operation/Cron.pm | 3 ++- lib/WebGUI/i18n/English/Workflow_Cron.pm | 12 ++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/lib/WebGUI/Operation/Cron.pm b/lib/WebGUI/Operation/Cron.pm index a281000b5..84f008107 100644 --- a/lib/WebGUI/Operation/Cron.pm +++ b/lib/WebGUI/Operation/Cron.pm @@ -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); } diff --git a/lib/WebGUI/i18n/English/Workflow_Cron.pm b/lib/WebGUI/i18n/English/Workflow_Cron.pm index cda71d8ee..41a405501 100644 --- a/lib/WebGUI/i18n/English/Workflow_Cron.pm +++ b/lib/WebGUI/i18n/English/Workflow_Cron.pm @@ -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|,