From 73ccbbf60928661e385c826de893e6fd57c7e364 Mon Sep 17 00:00:00 2001 From: levinse Date: Sun, 22 May 2011 16:39:46 +0000 Subject: internationalization/localization, RT12515 --- httemplate/elements/tr-select-part_pkg.html | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'httemplate/elements/tr-select-part_pkg.html') diff --git a/httemplate/elements/tr-select-part_pkg.html b/httemplate/elements/tr-select-part_pkg.html index 88653f465..400cc5ae8 100644 --- a/httemplate/elements/tr-select-part_pkg.html +++ b/httemplate/elements/tr-select-part_pkg.html @@ -9,12 +9,12 @@ % % unless ( $opt{'js_only'} ) { - <% include('tr-td-label.html', %opt) %> + <& tr-td-label.html, %opt &> > % } % - <% include( '/elements/select-part_pkg.html', %opt ) %> + <& /elements/select-part_pkg.html, %opt &> % % unless ( $opt{'js_only'} ) { @@ -30,10 +30,6 @@ my( %opt ) = @_; my $cell_style = $opt{'cell_style'} ? 'STYLE="'. $opt{'cell_style'}. '"' : ''; -$opt{'label'} ||= 'Package definition'; - -#taken care of (better) in select-part_pkg now (is there anything using this -# that needs to override the disabed=>'' ??) -#$opt{'part_pkg'} ||= [ qsearch( 'part_pkg', {} ) ]; # { disabled=>'' } ) +$opt{'label'} ||= emt('Package definition'); -- cgit v1.2.1