diff options
author | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-06-18 15:39:39 -0300 |
---|---|---|
committer | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-06-18 16:05:57 -0300 |
commit | e9a4d0e5d6284d59e481ea9812548f640e4d83fd (patch) | |
tree | e15f475b4986234db91bfbe7ed734c6e3391387a /usr | |
parent | fca6c2b746226273012f87a91f2e0f048e14476c (diff) | |
download | pfsense-e9a4d0e5d6284d59e481ea9812548f640e4d83fd.zip pfsense-e9a4d0e5d6284d59e481ea9812548f640e4d83fd.tar.gz |
Implement gettext() calls
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_logs_ppp.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/usr/local/www/diag_logs_ppp.php b/usr/local/www/diag_logs_ppp.php index 470d33d..99feea9 100755 --- a/usr/local/www/diag_logs_ppp.php +++ b/usr/local/www/diag_logs_ppp.php @@ -56,7 +56,7 @@ if ($_POST['clear']) $ppp_logarr = return_clog($ppp_logfile, $nentries); -$pgtitle = array("Status","System logs","PPP"); +$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("PPP")); include("head.inc"); ?> @@ -67,17 +67,17 @@ include("head.inc"); <td> <?php $tab_array = array(); - $tab_array[] = array("System", false, "diag_logs.php"); - $tab_array[] = array("Firewall", false, "diag_logs_filter.php"); - $tab_array[] = array("DHCP", false, "diag_logs_dhcp.php"); - $tab_array[] = array("Portal Auth", false, "diag_logs_auth.php"); - $tab_array[] = array("IPsec", false, "diag_logs_ipsec.php"); - $tab_array[] = array("PPP", true, "diag_logs_ppp.php"); - $tab_array[] = array("VPN", false, "diag_logs_vpn.php"); - $tab_array[] = array("Load Balancer", false, "diag_logs_relayd.php"); - $tab_array[] = array("OpenVPN", false, "diag_logs_openvpn.php"); - $tab_array[] = array("OpenNTPD", false, "diag_logs_ntpd.php"); - $tab_array[] = array("Settings", false, "diag_logs_settings.php"); + $tab_array[] = array(gettext("System"), false, gettext("diag_logs.php")); + $tab_array[] = array(gettext("Firewall"), false, gettext("diag_logs_filter.php")); + $tab_array[] = array(gettext("DHCP"), false, gettext("diag_logs_dhcp.php")); + $tab_array[] = array(gettext("Portal Auth"), false, gettext("diag_logs_auth.php")); + $tab_array[] = array(gettext("IPsec"), false, gettext("diag_logs_ipsec.php")); + $tab_array[] = array(gettext("PPP"), true, gettext("diag_logs_ppp.php")); + $tab_array[] = array(gettext("VPN"), false, gettext("diag_logs_vpn.php")); + $tab_array[] = array(gettext("Load Balancer"), false, gettext("diag_logs_relayd.php")); + $tab_array[] = array(gettext("OpenVPN"), false, gettext("diag_logs_openvpn.php")); + $tab_array[] = array(gettext("OpenNTPD"), false, gettext("diag_logs_ntpd.php")); + $tab_array[] = array(gettext("Settings"), false, gettext("diag_logs_settings.php")); display_top_tabs($tab_array); ?> </td> @@ -87,7 +87,7 @@ include("head.inc"); <div id="mainarea"> <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> - <td colspan="2" class="listtopic">Last <?=$nentries;?> PPP log entries</td> + <td colspan="2" class="listtopic"><?php printf (gettext("Last <?=$nentries;?> PPP log entries"),$nentries);?></td> </tr> <?php foreach($ppp_logarr as $logent){ |