--- mambo/branches/4.6/administrator/includes/admin.php 2006/09/19 02:09:06 721 +++ mambo/branches/4.6/administrator/includes/admin.php 2007/01/03 22:54:31 863 @@ -210,16 +210,16 @@ } function end_element_option () { - $this->options[] = mosHTML::makeOption($this->optvalue, $this->chardata); + $this->options[] = mosHTML::makeOption($this->optvalue, T_($this->chardata)); $this->optvalue = ''; } function end_element_param () { $type = mosGetParam ($this->paramattrs, 'TYPE', ''); $name = mosGetParam ($this->paramattrs, 'NAME', ''); - $label = mosGetParam ($this->paramattrs, 'LABEL', $name); - $default = mosGetParam ($this->paramattrs, 'DEFAULT', ''); - if ($description = mosGetParam ($this->paramattrs, 'DESCRIPTION', '')) $tooltip = mosToolTip($description, $name); + $label = T_(mosGetParam ($this->paramattrs, 'LABEL', $name)); + $default = T_(mosGetParam ($this->paramattrs, 'DEFAULT', '')); + if ($description = mosGetParam ($this->paramattrs, 'DESCRIPTION', '')) $tooltip = mosToolTip(T_($description), $name); else $tooltip = ''; if (is_object($this->mosParameter)) { $mp = $this->mosParameter;