summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_nanobsd.php
diff options
context:
space:
mode:
authorbruno <bruno.stein@bluepex.com>2016-01-21 14:56:10 -0200
committerbruno <bruno.stein@bluepex.com>2016-01-21 14:56:10 -0200
commitff30e319d4239b4b6df55d2663f7c0f5efded5e1 (patch)
tree51a202b804c109c61b9560b39d68bf8facf1c944 /src/usr/local/www/diag_nanobsd.php
parentbab790f20be61f0390364945cc5a40de82e0f73f (diff)
downloadpfsense-ff30e319d4239b4b6df55d2663f7c0f5efded5e1.zip
pfsense-ff30e319d4239b4b6df55d2663f7c0f5efded5e1.tar.gz
add call gettext function for translate
Diffstat (limited to 'src/usr/local/www/diag_nanobsd.php')
-rw-r--r--src/usr/local/www/diag_nanobsd.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_nanobsd.php b/src/usr/local/www/diag_nanobsd.php
index 2ecc2a1..26ab828 100644
--- a/src/usr/local/www/diag_nanobsd.php
+++ b/src/usr/local/www/diag_nanobsd.php
@@ -131,10 +131,10 @@ if ($_POST['setrw']) {
unset($config['system']['nanobsd_force_rw']);
}
- write_config("Changed Permanent Read/Write Setting");
+ write_config(gettext("Changed Permanent Read/Write Setting"));
conf_mount_ro();
} else {
- $savemsg = 'Saved r/w permanently';
+ $savemsg = gettext('Saved r/w permanently');
$class = 'alert-success';
}
}
OpenPOWER on IntegriCloud