Fixed documentation and i18n issues
This commit is contained in:
parent
1ef6f197e7
commit
8c83d153ea
2 changed files with 36 additions and 6 deletions
|
|
@ -8,7 +8,7 @@ use WebGUI::Utility;
|
|||
|
||||
=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
|
||||
|
||||
|
|
@ -215,11 +215,11 @@ sub toHtml {
|
|||
|
||||
#Hard code these for now
|
||||
my %asset = (
|
||||
"asset.creationDate" => "creationDate (asset)",
|
||||
"asset.createdBy" => "createdBy (asset)",
|
||||
"asset.stateChanged" => "stateChanged (asset)",
|
||||
"asset.stateChangedBy" => "stateChangedBy (asset)",
|
||||
"asset.isLockedBy" => "isLockedBy (asset)",
|
||||
"asset.creationDate" => $i18n->get("creationDate (asset)"),
|
||||
"asset.createdBy" => $i18n->get("createdBy (asset)"),
|
||||
"asset.stateChanged" => $i18n->get("stateChanged (asset)"),
|
||||
"asset.stateChangedBy" => $i18n->get("stateChangedBy (asset)"),
|
||||
"asset.isLockedBy" => $i18n->get("isLockedBy (asset)"),
|
||||
);
|
||||
|
||||
#Get the fields from the definition of each class
|
||||
|
|
|
|||
|
|
@ -67,6 +67,36 @@ our $I18N = {
|
|||
lastUpdated => 1078852836,
|
||||
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},
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue