diff options
author | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-06-18 15:26:00 -0300 |
---|---|---|
committer | Rafael Lucas <rafalucas.unicamp@gmail.com> | 2010-06-18 16:05:56 -0300 |
commit | c6515770b2df29e339018b31c7d0bb595cf787bc (patch) | |
tree | 0da6b83845a4bd96ff1ca984bb9e920c168afcd4 /usr | |
parent | 52c3b00323613a88d25ee54203fce9f606dc25e4 (diff) | |
download | pfsense-c6515770b2df29e339018b31c7d0bb595cf787bc.zip pfsense-c6515770b2df29e339018b31c7d0bb595cf787bc.tar.gz |
Implement gettext() calls
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/diag_logs_ntpd.php | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/usr/local/www/diag_logs_ntpd.php b/usr/local/www/diag_logs_ntpd.php index d168f70..3658a01 100644 --- a/usr/local/www/diag_logs_ntpd.php +++ b/usr/local/www/diag_logs_ntpd.php @@ -51,7 +51,7 @@ if (!$nentries) if ($_POST['clear']) clear_log_file($ntpd_logfile); -$pgtitle = array("Status","System logs","OpenNTPD"); +$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("OpenNTPD")); include("head.inc"); ?> @@ -62,17 +62,17 @@ include("head.inc"); <tr><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", false, "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", true, "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"), false, 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"), true, gettext("diag_logs_ntpd.php")); + $tab_array[] = array(gettext("Settings"), false, gettext("diag_logs_settings.php")); display_top_tabs($tab_array); ?> </td></tr> @@ -82,7 +82,7 @@ include("head.inc"); <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="2" class="listtopic"> - Last <?=$nentries;?> OpenNTPD log entries</td> + <?=printf(gettext("Last %s OpenNTPD log entries"), $nentries);?></td> </tr> <?php dump_clog($ntpd_logfile, $nentries); ?> <tr><td><br> |