Fixed documentation and i18n issues

This commit is contained in:
khenn 2010-08-10 19:10:55 -05:00
parent 1ef6f197e7
commit 8c83d153ea
2 changed files with 36 additions and 6 deletions

View file

@ -8,7 +8,7 @@ use WebGUI::Utility;
=head1 NAME =head1 NAME
WebGUI::Form::BooleanQuery -- Build a boolean query WebGUI::Form::AssetReportQuery -- Builds a form to collect query information used by Asset Report
=head1 SYNOPSIS =head1 SYNOPSIS
@ -215,11 +215,11 @@ sub toHtml {
#Hard code these for now #Hard code these for now
my %asset = ( my %asset = (
"asset.creationDate" => "creationDate (asset)", "asset.creationDate" => $i18n->get("creationDate (asset)"),
"asset.createdBy" => "createdBy (asset)", "asset.createdBy" => $i18n->get("createdBy (asset)"),
"asset.stateChanged" => "stateChanged (asset)", "asset.stateChanged" => $i18n->get("stateChanged (asset)"),
"asset.stateChangedBy" => "stateChangedBy (asset)", "asset.stateChangedBy" => $i18n->get("stateChangedBy (asset)"),
"asset.isLockedBy" => "isLockedBy (asset)", "asset.isLockedBy" => $i18n->get("isLockedBy (asset)"),
); );
#Get the fields from the definition of each class #Get the fields from the definition of each class

View file

@ -67,6 +67,36 @@ our $I18N = {
lastUpdated => 1078852836, lastUpdated => 1078852836,
context => q{Subtext for limit field in AssetReportQuery Form}, context => q{Subtext for limit field in AssetReportQuery Form},
}, },
'creationDate (asset)' => {
message => q|creationDate (asset)|,
lastUpdated => 1078852836,
context => q{General item in asset select list},
},
'createdBy (asset)' => {
message => q|createdBy (asset)|,
lastUpdated => 1078852836,
context => q{General item in asset select list},
},
'stateChanged (asset)' => {
message => q|stateChanged (asset)|,
lastUpdated => 1078852836,
context => q{General item in asset select list},
},
'stateChangedBy (asset)' => {
message => q|stateChangedBy (asset)|,
lastUpdated => 1078852836,
context => q{General item in asset select list},
},
'isLockedBy (asset)' => {
message => q|isLockedBy (asset)|,
lastUpdated => 1078852836,
context => q{General item in asset select list},
},
}; };