From b66a649ba107c74e76dda9359a77b410befd29e1 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Fri, 10 Mar 2006 04:06:46 +0000 Subject: [PATCH] forward port of FormHelpers L10n --- lib/WebGUI/Operation/FormHelpers.pm | 6 +++--- lib/WebGUI/i18n/English/WebGUI.pm | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/lib/WebGUI/Operation/FormHelpers.pm b/lib/WebGUI/Operation/FormHelpers.pm index 3e0e7853e..61edccb27 100644 --- a/lib/WebGUI/Operation/FormHelpers.pm +++ b/lib/WebGUI/Operation/FormHelpers.pm @@ -88,8 +88,8 @@ sub www_richEditPageTree { -extras=>'onclick="createLink()"' ); $session->style->setScript($session->config->get("extrasURL")."/tinymce/jscripts/tiny_mce/tiny_mce_popup.js",{type=>"text/javascript"}); - my $output = '
Insert A Link -
Link Settings'.$f->print.'
+ my $output = '
'.$i18n->get('insert a link').' +
'.$i18n->get('insert a link').''.$f->print.'
Pages '; +
'.$i18n->get('pages').' '; my $base = WebGUI::Asset->newByUrl($session) || WebGUI::Asset->getRoot($session); my @crumb; my $ancestors = $base->getLineage(["self","ancestors"],{returnObjects=>1}); diff --git a/lib/WebGUI/i18n/English/WebGUI.pm b/lib/WebGUI/i18n/English/WebGUI.pm index b435de632..2e0b80ee2 100644 --- a/lib/WebGUI/i18n/English/WebGUI.pm +++ b/lib/WebGUI/i18n/English/WebGUI.pm @@ -3856,6 +3856,26 @@ Message Boards hold forums for users. There are many different Wobjects in WebG lastUpdated => 1141434353, }, + 'insert a link' => { + message => q|Insert A Link|, + lastUpdated => 1141963447, + }, + + 'link settings' => { + message => q|Link Settings|, + lastUpdated => 1141963463, + }, + + 'choose an asset' => { + message => q|Choose an Asset|, + lastUpdated => 1141963463, + }, + + 'pages' => { + message => q|Pages|, + lastUpdated => 1141963573, + }, + }; 1;