summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/status_logs_vpn.php
diff options
context:
space:
mode:
authorbruno <bruno.stein@bluepex.com>2016-01-22 11:25:28 -0200
committerbruno <bruno.stein@bluepex.com>2016-01-22 11:25:28 -0200
commit3bd74348f03714448996b0352ce7bb41fb2cc320 (patch)
treeb37e08c08a3267590e0363673874fa2475fd1a9e /src/usr/local/www/status_logs_vpn.php
parentee2a6908784f93f904ce603f0db8c96d5bd81140 (diff)
downloadpfsense-3bd74348f03714448996b0352ce7bb41fb2cc320.zip
pfsense-3bd74348f03714448996b0352ce7bb41fb2cc320.tar.gz
add call 'gettext' function in the status menu files
Diffstat (limited to 'src/usr/local/www/status_logs_vpn.php')
-rw-r--r--src/usr/local/www/status_logs_vpn.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/status_logs_vpn.php b/src/usr/local/www/status_logs_vpn.php
index cce15dd..111e00a 100644
--- a/src/usr/local/www/status_logs_vpn.php
+++ b/src/usr/local/www/status_logs_vpn.php
@@ -72,11 +72,11 @@ Build a list of allowed log files so we can reject others to prevent the page
from acting on unauthorized files.
*/
$allowed_logs = array(
- "vpn" => array("name" => "VPN Logins",
+ "vpn" => array("name" => gettext("VPN Logins"),
"shortcut" => "poes"),
- "poes" => array("name" => "PPPoE Service",
+ "poes" => array("name" => gettext("PPPoE Service"),
"shortcut" => "pppoes"),
- "l2tps" => array("name" => "L2TP Service",
+ "l2tps" => array("name" => gettext("L2TP Service"),
"shortcut" => "l2tps"),
);
@@ -94,8 +94,8 @@ if (!$_GET['logfile']) {
}
}
-if ($vpntype == 'poes') { $allowed_logs['vpn']['name'] = "PPPoE Logins"; }
-if ($vpntype == 'l2tp') { $allowed_logs['vpn']['name'] = "L2TP Logins"; }
+if ($vpntype == 'poes') { $allowed_logs['vpn']['name'] = gettext("PPPoE Logins"); }
+if ($vpntype == 'l2tp') { $allowed_logs['vpn']['name'] = gettext("L2TP Logins"); }
// Log Filter Submit - VPN
OpenPOWER on IntegriCloud