summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_nanobsd.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-01-16 00:47:06 +0545
committerPhil Davis <phil.davis@inf.org>2016-01-16 00:47:06 +0545
commitbabf5d85a3871c11a31b853ed7eb837e989f4c01 (patch)
tree7943e4e5d3097539ddd1a7b9675d87186f15bab7 /src/usr/local/www/diag_nanobsd.php
parentc3f962bab940051e9e3d0fd93f981c1ff8fd0cc2 (diff)
downloadpfsense-babf5d85a3871c11a31b853ed7eb837e989f4c01.zip
pfsense-babf5d85a3871c11a31b853ed7eb837e989f4c01.tar.gz
Internationalization batch 1
Diffstat (limited to 'src/usr/local/www/diag_nanobsd.php')
-rw-r--r--src/usr/local/www/diag_nanobsd.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/usr/local/www/diag_nanobsd.php b/src/usr/local/www/diag_nanobsd.php
index 22bf0be..2ecc2a1 100644
--- a/src/usr/local/www/diag_nanobsd.php
+++ b/src/usr/local/www/diag_nanobsd.php
@@ -90,7 +90,7 @@ if ($_POST['bootslice']) {
sleep(4);
}
- $savemsg = gettext("The boot slice has been set to") . " " . nanobsd_get_active_slice();
+ $savemsg = sprintf(gettext("The boot slice has been set to %s"), nanobsd_get_active_slice());
$class = 'alert-success';
// Survey slice info
nanobsd_detect_slice_info();
@@ -139,7 +139,7 @@ if ($_POST['setrw']) {
}
}
-print_info_box("The options on this page are intended for use by advanced users only.");
+print_info_box(gettext("The options on this page are intended for use by advanced users only."));
if ($savemsg) {
print_info_box($savemsg, $class);
@@ -171,7 +171,7 @@ if (is_writable("/")) {
if ($refcount == 1 || $refcount == 0 || $refcount == -1) {
$refdisplay = "";
} else {
- $refdisplay = " (Reference count " . $refcount . ")";
+ $refdisplay = " ". sprintf(gettext("(Reference count %s)"), $refcount);
}
$lbl = gettext("Read/Write") . $refdisplay;
$btnlbl = gettext("Switch to Read-Only");
OpenPOWER on IntegriCloud