getFormProperties now also passes i18n arguments to sprintf if requested.
This commit is contained in:
parent
74ccbef83f
commit
d6cbcf4604
3 changed files with 29 additions and 2 deletions
|
|
@ -105,6 +105,7 @@ my $called_getProperties;
|
|||
aspect 'aspect1' => 'aspect1 value';
|
||||
property 'property1' => (
|
||||
label => ['webgui', 'WebGUI'],
|
||||
hoverHelp => ['webgui help %s', 'WebGUI', 'extra'],
|
||||
options => \&property1_options,
|
||||
named_url => \&named_url,
|
||||
);
|
||||
|
|
@ -130,6 +131,7 @@ my $called_getProperties;
|
|||
$object->getFormProperties('property1'),
|
||||
{
|
||||
label => 'WebGUI',
|
||||
hoverHelp => 'webgui help extra',
|
||||
options => { one => 1, two => 2, three => 3 },
|
||||
named_url => 'property1',
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue