summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_smart.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_smart.php
parentbab790f20be61f0390364945cc5a40de82e0f73f (diff)
downloadpfsense-ff30e319d4239b4b6df55d2663f7c0f5efded5e1.zip
pfsense-ff30e319d4239b4b6df55d2663f7c0f5efded5e1.tar.gz
add call gettext function for translate
Diffstat (limited to 'src/usr/local/www/diag_smart.php')
-rw-r--r--src/usr/local/www/diag_smart.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_smart.php b/src/usr/local/www/diag_smart.php
index ad878dc..7ea6efa 100644
--- a/src/usr/local/www/diag_smart.php
+++ b/src/usr/local/www/diag_smart.php
@@ -111,7 +111,7 @@ $action = (isset($_POST['action']) ? $_POST['action'] : $_GET['action']);
$targetdev = basename($_POST['device']);
if (!file_exists('/dev/' . $targetdev)) {
- echo "Device does not exist, bailing.";
+ echo gettext("Device does not exist, bailing.");
return;
}
@@ -126,7 +126,7 @@ switch ($action) {
{
$test = $_POST['testType'];
if (!in_array($test, $valid_test_types)) {
- echo "Invalid test type, bailing.";
+ echo gettext("Invalid test type, bailing.");
return;
}
OpenPOWER on IntegriCloud