diff --git a/src/usr/local/www/classes/Form/Button.class.php b/src/usr/local/www/classes/Form/Button.class.php index a6f2ef3497..85fd42836b 100644 --- a/src/usr/local/www/classes/Form/Button.class.php +++ b/src/usr/local/www/classes/Form/Button.class.php @@ -53,13 +53,13 @@ class Form_Button extends Form_Input { $this->_tagSelfClosing = false; $this->_tagName = 'button'; - $this->_attributes['value'] = $title; + $this->_attributes['value'] = gettext($title); $this->_attributes['icon'] = $icon; } else { $this->_tagSelfClosing = true; - $this->_attributes['value'] = $title; + $this->_attributes['value'] = gettext($title); $this->addClass('btn-primary'); } @@ -78,4 +78,4 @@ class Form_Button extends Form_Input return $input . htmlspecialchars($this->_title) .''; } -} \ No newline at end of file +}