From 406b9310a65ed081e110559a9791fb2c3ff12672 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Tue, 21 Feb 2006 18:35:32 +0000 Subject: [PATCH] forward port of autocommit docs and hoverHelp --- lib/WebGUI/Help/WebGUI.pm | 5 +++++ lib/WebGUI/Operation/Settings.pm | 1 + lib/WebGUI/i18n/English/Asset.pm | 7 +++++++ 3 files changed, 13 insertions(+) diff --git a/lib/WebGUI/Help/WebGUI.pm b/lib/WebGUI/Help/WebGUI.pm index ff620dab1..9d965872f 100644 --- a/lib/WebGUI/Help/WebGUI.pm +++ b/lib/WebGUI/Help/WebGUI.pm @@ -294,6 +294,11 @@ our $HELP = { description => '406 description', namespace => 'WebGUI', }, + { + title => 'enable autocommit of asset versioning', + description => 'enable autocommit of asset versioning description', + namespace => 'Asset', + }, { title => 'Enable Metadata', description => 'Enable Metadata description', diff --git a/lib/WebGUI/Operation/Settings.pm b/lib/WebGUI/Operation/Settings.pm index 51f443521..a9da3525f 100644 --- a/lib/WebGUI/Operation/Settings.pm +++ b/lib/WebGUI/Operation/Settings.pm @@ -102,6 +102,7 @@ sub www_editSettings { $tabform->getTab("content")->yesNo( -name=>"autoCommit", -label=>$i18n->get("enable autocommit of asset versioning","Asset"), + -hoverHelp=>$i18n->get("enable autocommit of asset versioning description","Asset"), -value=>$session->setting->get("autoCommit") ); $tabform->getTab("content")->yesNo( diff --git a/lib/WebGUI/i18n/English/Asset.pm b/lib/WebGUI/i18n/English/Asset.pm index cc9714c64..c5b77a162 100644 --- a/lib/WebGUI/i18n/English/Asset.pm +++ b/lib/WebGUI/i18n/English/Asset.pm @@ -25,6 +25,13 @@ our $I18N = { context => q|A label for the toggle for asset versioning.| }, + 'enable autocommit of asset versioning description' => { + message => q|Setting this to "Yes", the default, makes WebGUI's content version system +do a commit immediately after an edit occurs.|, + lastUpdated => 1140546767, + context => q|Hover help for the toggle for asset versioning.| + }, + 'set tag' => { message => q|Set As Working Tag|, lastUpdated => 0,