diff --git a/lib/WebGUI/AssetMetaData.pm b/lib/WebGUI/AssetMetaData.pm index e6b6f064f..50d23ba1f 100644 --- a/lib/WebGUI/AssetMetaData.pm +++ b/lib/WebGUI/AssetMetaData.pm @@ -182,21 +182,25 @@ sub www_editMetaDataField { $f->text( -name=>"fieldName", -label=>WebGUI::International::get('Field name','Asset'), + -hoverHelp=>WebGUI::International::get('Field Name description','Asset'), -value=>$fieldInfo->{fieldName} ); $f->textarea( -name=>"description", -label=>WebGUI::International::get(85,"Asset"), + -hoverHelp=>WebGUI::International::get('Metadata Description description',"Asset"), -value=>$fieldInfo->{description}); $f->fieldType( -name=>"fieldType", -label=>WebGUI::International::get(486,"Asset"), + -hoverHelp=>WebGUI::International::get('Data Type description',"Asset"), -value=>$fieldInfo->{fieldType} || "text", -types=> [ qw /text integer yesNo selectList radioList/ ] ); $f->textarea( -name=>"possibleValues", -label=>WebGUI::International::get(487,"Asset"), + -hoverHelp=>WebGUI::International::get('Possible Values description',"Asset"), -value=>$fieldInfo->{possibleValues} ); $f->submit(); diff --git a/lib/WebGUI/Help/Asset.pm b/lib/WebGUI/Help/Asset.pm index cbec1366f..8faacb9d0 100644 --- a/lib/WebGUI/Help/Asset.pm +++ b/lib/WebGUI/Help/Asset.pm @@ -182,6 +182,26 @@ our $HELP = { title => 'metadata edit property', body => 'metadata edit property body', fields => [ + { + title => 'Field name', + description => 'Field Name description', + namespace => 'Asset', + }, + { + title => '85', + description => 'Metadata Description description', + namespace => 'Asset', + }, + { + title => '486', + description => 'Data Type description', + namespace => 'Asset', + }, + { + title => '487', + description => 'Possible Values description', + namespace => 'Asset', + }, ], related => [ { diff --git a/lib/WebGUI/i18n/English/Asset.pm b/lib/WebGUI/i18n/English/Asset.pm index dc2c103a2..fd031eb6c 100644 --- a/lib/WebGUI/i18n/English/Asset.pm +++ b/lib/WebGUI/i18n/English/Asset.pm @@ -464,25 +464,36 @@ These are the icons and URLs that allow editing, cutting, copying, deleting and context => q|The title of the content profiling manager for the admin console.| }, + 'Field Name description' => { + message => q|The name of this metadata property.It must be unique.
+It is advisable to use only letters (a-z), numbers (0-9) or underscores (_) for +the field names.

|, + lastUpdated => 1129329870, + }, + + 'Metadata Description description' => { + message => q|An optional description for this metadata property. This text is displayed +as mouseover text in the asset properties tab.

|, + lastUpdated => 1129329870, + }, + + 'Data Type description' => { + message => q|Choose the type of form element for this field.

|, + lastUpdated => 1129329870, + }, + + 'Possible Values description' => { + message => q|This field is used only for the Radio List and Select List data types. Enter +the values you wish to appear, one per line.

|, + lastUpdated => 1129329870, + }, + + 'metadata edit property body' => { message => q| -You may add as many Metadata properties to a Wobject as you like.
-
-Field Name
-The name of this metadata property.It must be unique.
-It is advisable to use only letters (a-z), numbers (0-9) or underscores (_) for -the field names. -

Description
-
An optional description for this metadata property. This text is displayed -as mouseover text in the asset properties tab.

-

Data Type
-
Choose the type of form element for this field.
-
-Possible Values
-
This field is used only for the Radio List and Select List data types. Enter -the values you wish to appear, one per line.

+

You may add as many Metadata properties to a Wobject as you like.

|, - lastUpdated => 1100232327 + lastUpdated => 1129330051 }, 'metadata manage body' => {