summaryrefslogtreecommitdiffstats
path: root/src/usr
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-03-14 15:48:51 -0400
committerStephen Beaver <sbeaver@netgate.com>2016-03-14 15:48:51 -0400
commit0974e2de3180b16dadbb6000670d214434c83068 (patch)
tree88386ce361da7ea8e5fab3b9e46a713893f4b1da /src/usr
parent1ce6d9e9baac6007083c65522d741790a08f5e64 (diff)
parent60f8fa56451ab8889756acda51b5378b0a58c176 (diff)
downloadpfsense-0974e2de3180b16dadbb6000670d214434c83068.zip
pfsense-0974e2de3180b16dadbb6000670d214434c83068.tar.gz
Merge pull request #2736 from phil-davis/patch-2
Diffstat (limited to 'src/usr')
-rw-r--r--src/usr/local/www/classes/Form/Button.class.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/classes/Form/Button.class.php b/src/usr/local/www/classes/Form/Button.class.php
index a6f2ef3..85fd428 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) .'</a>';
}
-} \ No newline at end of file
+}
OpenPOWER on IntegriCloud