From 5ae43f8b6257063976ceaac2d7a9954f8152f6ba Mon Sep 17 00:00:00 2001
From: Colin Kuskie
Date: Thu, 29 Sep 2005 01:59:47 +0000
Subject: [PATCH] fix invalid keys
---
lib/WebGUI/Asset.pm | 2 +-
lib/WebGUI/Asset/Shortcut.pm | 4 ++--
lib/WebGUI/Asset/Wobject/DataForm.pm | 10 +++++-----
lib/WebGUI/AssetBranch.pm | 2 +-
lib/WebGUI/Help/Asset_DataForm.pm | 8 ++++----
lib/WebGUI/Help/Asset_Shortcut.pm | 8 ++++----
lib/WebGUI/i18n/English/Asset.pm | 4 ++--
lib/WebGUI/i18n/English/Asset_DataForm.pm | 20 ++++++++++----------
lib/WebGUI/i18n/English/Asset_Event.pm | 4 ----
lib/WebGUI/i18n/English/Asset_Folder.pm | 4 ++--
lib/WebGUI/i18n/English/Asset_Shortcut.pm | 8 ++++----
11 files changed, 35 insertions(+), 39 deletions(-)
diff --git a/lib/WebGUI/Asset.pm b/lib/WebGUI/Asset.pm
index be5f72a19..752b7680b 100644
--- a/lib/WebGUI/Asset.pm
+++ b/lib/WebGUI/Asset.pm
@@ -641,7 +641,7 @@ sub getEditForm {
# Add a "Select..." option on top of a select list to prevent from
# saving the value on top of the list when no choice is made.
if($fieldType eq "selectList") {
- $options = {"", WebGUI::International::get("Select...","Asset")};
+ $options = {"", WebGUI::International::get("Select","Asset")};
}
$tabform->getTab("meta")->dynamicField(
name=>"metadata_".$meta->{$field}{fieldId},
diff --git a/lib/WebGUI/Asset/Shortcut.pm b/lib/WebGUI/Asset/Shortcut.pm
index 05aa2ea32..c0ef22cdc 100644
--- a/lib/WebGUI/Asset/Shortcut.pm
+++ b/lib/WebGUI/Asset/Shortcut.pm
@@ -170,8 +170,8 @@ sub getEditForm {
$tabform->getTab("properties")->selectList(
-name=>"resolveMultiples",
-value=>[ $self->getValue("resolveMultiples") ],
- -label=>WebGUI::International::get("Resolve Multiples?","Asset_Shortcut"),
- -hoverHelp=>WebGUI::International::get("Resolve Multiples? description","Asset_Shortcut"),
+ -label=>WebGUI::International::get("Resolve Multiples","Asset_Shortcut"),
+ -hoverHelp=>WebGUI::International::get("Resolve Multiples description","Asset_Shortcut"),
-options=>{
mostRecent=>WebGUI::International::get("Most Recent","Asset_Shortcut"),
random=>WebGUI::International::get("Random","Asset_Shortcut"),
diff --git a/lib/WebGUI/Asset/Wobject/DataForm.pm b/lib/WebGUI/Asset/Wobject/DataForm.pm
index 047ea15d7..9984f41e5 100644
--- a/lib/WebGUI/Asset/Wobject/DataForm.pm
+++ b/lib/WebGUI/Asset/Wobject/DataForm.pm
@@ -837,15 +837,15 @@ sub www_editField {
$f->yesNo(
-name=>"vertical",
-value=>$field{vertical},
- -label=>WebGUI::International::get('editField-vertical-label', "Asset_DataForm"),
- -hoverHelp=>WebGUI::International::get('editField-vertical-label description', "Asset_DataForm"),
- -subtext=>WebGUI::International::get('editField-vertical-subtext', "Asset_DataForm")
+ -label=>WebGUI::International::get('editField vertical label', "Asset_DataForm"),
+ -hoverHelp=>WebGUI::International::get('editField vertical label description', "Asset_DataForm"),
+ -subtext=>WebGUI::International::get('editField vertical subtext', "Asset_DataForm")
);
$f->text(
-name=>"extras",
-value=>$field{extras},
- -label=>WebGUI::International::get('editField-extras-label', "Asset_DataForm"),
- -hoverHelp=>WebGUI::International::get('editField-extras-label description', "Asset_DataForm"),
+ -label=>WebGUI::International::get('editField extras label', "Asset_DataForm"),
+ -hoverHelp=>WebGUI::International::get('editField extras label description', "Asset_DataForm"),
);
$f->textarea(
-name=>"possibleValues",
diff --git a/lib/WebGUI/AssetBranch.pm b/lib/WebGUI/AssetBranch.pm
index 0438d4ad1..4c6cafb73 100644
--- a/lib/WebGUI/AssetBranch.pm
+++ b/lib/WebGUI/AssetBranch.pm
@@ -262,7 +262,7 @@ sub www_editBranch {
# Add a "Select..." option on top of a select list to prevent from
# saving the value on top of the list when no choice is made.
if($fieldType eq "selectList") {
- $options = {"", WebGUI::International::get("Select...","Asset")};
+ $options = {"", WebGUI::International::get("Select","Asset")};
}
$tabform->getTab("meta")->dynamicField(
name=>"metadata_".$meta->{$field}{fieldId},
diff --git a/lib/WebGUI/Help/Asset_DataForm.pm b/lib/WebGUI/Help/Asset_DataForm.pm
index 4c964874b..bd3c50bb1 100644
--- a/lib/WebGUI/Help/Asset_DataForm.pm
+++ b/lib/WebGUI/Help/Asset_DataForm.pm
@@ -134,13 +134,13 @@ our $HELP = {
namespace => 'Asset_DataForm',
},
{
- title => 'editField-vertical-label',
- description => 'editField-vertical-label description',
+ title => 'editField vertical label',
+ description => 'editField vertical label description',
namespace => 'Asset_DataForm',
},
{
- title => 'editField-extras-label',
- description => 'editField-extras-label description',
+ title => 'editField extras label',
+ description => 'editField extras label description',
namespace => 'Asset_DataForm',
},
{
diff --git a/lib/WebGUI/Help/Asset_Shortcut.pm b/lib/WebGUI/Help/Asset_Shortcut.pm
index 5ec6703ae..a2f266e50 100644
--- a/lib/WebGUI/Help/Asset_Shortcut.pm
+++ b/lib/WebGUI/Help/Asset_Shortcut.pm
@@ -46,8 +46,8 @@ our $HELP = {
namespace => 'Asset_Shortcut',
},
{
- title => 'Shortcut by alternate criteria?',
- description => 'Shortcut by alternate criteria? description',
+ title => 'Shortcut by alternate criteria',
+ description => 'Shortcut by alternate criteria description',
namespace => 'Asset_Shortcut',
},
{
@@ -56,8 +56,8 @@ our $HELP = {
namespace => 'Asset_Shortcut',
},
{
- title => 'Resolve Multiples?',
- description => 'Resolve Multiples? description',
+ title => 'Resolve Multiples',
+ description => 'Resolve Multiples description',
namespace => 'Asset_Shortcut',
},
{
diff --git a/lib/WebGUI/i18n/English/Asset.pm b/lib/WebGUI/i18n/English/Asset.pm
index 709b36837..fafd39d75 100644
--- a/lib/WebGUI/i18n/English/Asset.pm
+++ b/lib/WebGUI/i18n/English/Asset.pm
@@ -408,9 +408,9 @@ These are the icons and URLs that allow editing, cutting, copying, deleting and
lastUpdated => 1089039511,
},
- 'Select...' => {
+ 'Select' => {
message => q|Select...|,
- lastUpdated => 1089039511
+ lastUpdated => 1127958072
},
'duplicateField' => {
diff --git a/lib/WebGUI/i18n/English/Asset_DataForm.pm b/lib/WebGUI/i18n/English/Asset_DataForm.pm
index 474f237c4..8a562c138 100644
--- a/lib/WebGUI/i18n/English/Asset_DataForm.pm
+++ b/lib/WebGUI/i18n/English/Asset_DataForm.pm
@@ -101,9 +101,9 @@ or to return to the page where the it was created.|,
},
- 'editField-vertical-label' => {
+ 'editField vertical label' => {
message => q|Align vertical|,
- lastUpdated => 1090575731
+ lastUpdated => 1127958354
},
'102' => {
@@ -200,14 +200,14 @@ to validate any input that the user may supply.|,
lastUpdated => 1119156590,
},
- 'editField-vertical-label description' => {
+ 'editField vertical label description' => {
message => q|This property controls whether radio buttons and checklists are laid out horizontally or vertically.|,
- lastUpdated => 1119156590,
+ lastUpdated => 1127958365,
},
- 'editField-extras-label description' => {
+ 'editField extras label description' => {
message => q|Here you can enter additional tag properties for the field tag. For instance 'class="myClass"'.|,
- lastUpdated => 1119156590,
+ lastUpdated => 1127958371,
},
'24 description' => {
@@ -549,14 +549,14 @@ The end of the form.
lastUpdated => 1052048005
},
- 'editField-extras-label' => {
+ 'editField extras label' => {
message => q|Extras|,
- lastUpdated => 1090575731
+ lastUpdated => 1127958376
},
- 'editField-vertical-subtext' => {
+ 'editField vertical subtext' => {
message => q|This property only affects radio- and checklists.|,
- lastUpdated => 1090575731
+ lastUpdated => 1127958381
},
'89' => {
diff --git a/lib/WebGUI/i18n/English/Asset_Event.pm b/lib/WebGUI/i18n/English/Asset_Event.pm
index 7e624ae17..4163a22be 100644
--- a/lib/WebGUI/i18n/English/Asset_Event.pm
+++ b/lib/WebGUI/i18n/English/Asset_Event.pm
@@ -169,10 +169,6 @@ The description of this event.
'lastUpdated' => 1108397891,
'message' => 'Description'
},
- '524.5' => {
- 'lastUpdated' => 1108397891,
- 'message' => 'Reminders Recur Every'
- },
'75' => {
'lastUpdated' => 1031514049,
'message' => 'Which do you wish to do?'
diff --git a/lib/WebGUI/i18n/English/Asset_Folder.pm b/lib/WebGUI/i18n/English/Asset_Folder.pm
index 3bca7c10e..c14cca766 100644
--- a/lib/WebGUI/i18n/English/Asset_Folder.pm
+++ b/lib/WebGUI/i18n/English/Asset_Folder.pm
@@ -30,10 +30,10 @@ our $I18N = {
lastUpdated => 1127278558,
},
- 'What Next? description' => {
+ 'What Next description' => {
message => q|After creating a new Folder, do you wish to go back to the original page where you created the Folder
to do you want to go to the new Folder?
|,
- lastUpdated => 1119221331,
+ lastUpdated => 1127959255,
},
'folder template title' => {
diff --git a/lib/WebGUI/i18n/English/Asset_Shortcut.pm b/lib/WebGUI/i18n/English/Asset_Shortcut.pm
index 0b48e031c..387c938be 100644
--- a/lib/WebGUI/i18n/English/Asset_Shortcut.pm
+++ b/lib/WebGUI/i18n/English/Asset_Shortcut.pm
@@ -23,9 +23,9 @@ our $I18N = {
lastUpdated => 1053183804
},
- 'Resolve Multiples?' => {
+ 'Resolve Multiples' => {
message => q|Resolve Multiples?|,
- lastUpdated => 1053183804
+ lastUpdated => 1127959325
},
'7' => {
@@ -120,10 +120,10 @@ description replace the description of the original Asset.|,
lastUpdated => 1119905806,
},
- 'Resolve Multiples? description' => {
+ 'Resolve Multiples description' => {
message => q|Sets the order to use when multiple assets are selected. Random means that if multiple assets match the shortcut criteria then the shortcut will select a random asset.
Most Recent will select the most recent asset that match the shortcut criteria.|,
- lastUpdated => 1119905806,
+ lastUpdated => 1127959329,
},
'Criteria description' => {