diff options
author | bruno <bruno.stein@bluepex.com> | 2016-01-21 14:56:10 -0200 |
---|---|---|
committer | bruno <bruno.stein@bluepex.com> | 2016-01-21 14:56:10 -0200 |
commit | ff30e319d4239b4b6df55d2663f7c0f5efded5e1 (patch) | |
tree | 51a202b804c109c61b9560b39d68bf8facf1c944 /src/usr/local/www/diag_smart.php | |
parent | bab790f20be61f0390364945cc5a40de82e0f73f (diff) | |
download | pfsense-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.php | 4 |
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; } |