summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2016-03-11 10:01:37 -0500
committerStephen Beaver <sbeaver@netgate.com>2016-03-11 10:01:37 -0500
commit7e1f2e65f773605dc277ab53274056c9175593ad (patch)
tree7e004aa24dc39cd8bb30c086384d87f4b56d52a6
parent8a3c6f0c9e537832b1c15e64bac1d97db1442044 (diff)
parent74bd7993ceec9ef63a2f189f68879bb84209c713 (diff)
downloadpfsense-7e1f2e65f773605dc277ab53274056c9175593ad.zip
pfsense-7e1f2e65f773605dc277ab53274056c9175593ad.tar.gz
Merge pull request #2726heper:patch-2 from phil-davis/patch-2
-rw-r--r--src/usr/local/www/classes/Form.class.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/usr/local/www/classes/Form.class.php b/src/usr/local/www/classes/Form.class.php
index 0446541..2285865 100644
--- a/src/usr/local/www/classes/Form.class.php
+++ b/src/usr/local/www/classes/Form.class.php
@@ -41,8 +41,9 @@ class Form extends Form_Element
public function __construct($submit = null)
{
- if (!isset($submit))
- $submit = 'Save';
+ if (!isset($submit)) {
+ $submit = gettext('Save');
+ }
if (gettype($submit) == 'string') {
$submit = new Form_Button(
@@ -123,4 +124,4 @@ class Form extends Form_Element
</form>
EOT;
}
-} \ No newline at end of file
+}
OpenPOWER on IntegriCloud