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
|
=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
|
||||||
|
|
|
||||||
|
|
@ -68,6 +68,36 @@ our $I18N = {
|
||||||
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},
|
||||||
|
},
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
1;
|
1;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue