diff options
author | Vinicius Coque <vinicius.coque@bluepex.com> | 2010-06-18 15:32:36 -0300 |
---|---|---|
committer | Vinicius Coque <vinicius.coque@bluepex.com> | 2010-06-18 15:32:36 -0300 |
commit | 7c4978b0ae11859df3f0b6a6f2c118839e6fc890 (patch) | |
tree | c8ae34ff0810cb764baaaa178e84e27c5c703394 /usr/local/www | |
parent | 002d3f0ae0fb63c507f4b20d62552994aa9d1201 (diff) | |
download | pfsense-7c4978b0ae11859df3f0b6a6f2c118839e6fc890.zip pfsense-7c4978b0ae11859df3f0b6a6f2c118839e6fc890.tar.gz |
Adding gettext calls to the file diag_logs_dhcp.php
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/diag_logs_dhcp.php | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/usr/local/www/diag_logs_dhcp.php b/usr/local/www/diag_logs_dhcp.php index b95b969..ffc51c4 100755 --- a/usr/local/www/diag_logs_dhcp.php +++ b/usr/local/www/diag_logs_dhcp.php @@ -53,7 +53,7 @@ if (!$nentries) if ($_POST['clear']) clear_log_file($dhcpd_logfile); -$pgtitle = array("Status","System logs","DHCP"); +$pgtitle = array(gettext("Status"),gettext("System logs"),gettext("DHCP")); include("head.inc"); ?> @@ -64,17 +64,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", true, "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", false, "diag_logs_ntpd.php"); - $tab_array[] = array("Settings", false, "diag_logs_settings.php"); + $tab_array[] = array(gettext("System"), false, "diag_logs.php"); + $tab_array[] = array(gettext("Firewall"), false, "diag_logs_filter.php"); + $tab_array[] = array(gettext("DHCP"), true, "diag_logs_dhcp.php"); + $tab_array[] = array(gettext("Portal Auth"), false, "diag_logs_auth.php"); + $tab_array[] = array(gettext("IPsec"), false, "diag_logs_ipsec.php"); + $tab_array[] = array(gettext("PPP"), false, "diag_logs_ppp.php"); + $tab_array[] = array(gettext("VPN"), false, "diag_logs_vpn.php"); + $tab_array[] = array(gettext("Load Balancer"), false, "diag_logs_relayd.php"); + $tab_array[] = array(gettext("OpenVPN"), false, "diag_logs_openvpn.php"); + $tab_array[] = array(gettext("OpenNTPD"), false, "diag_logs_ntpd.php"); + $tab_array[] = array(gettext("Settings"), false, "diag_logs_settings.php"); display_top_tabs($tab_array); ?> </td></tr> @@ -84,11 +84,11 @@ include("head.inc"); <table class="tabcont" width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="2" class="listtopic"> - Last <?=$nentries;?> DHCP service log entries</td> + <?php printf(gettext("Last %s DHCP service log entries"), $nentries);?></td> </tr> <?php dump_clog($dhcpd_logfile, $nentries); ?> <tr><td><br><form action="diag_logs_dhcp.php" method="post"> - <input name="clear" type="submit" class="formbtn" value="Clear log"></td></tr> + <input name="clear" type="submit" class="formbtn" value="<?= gettext("Clear log");?>"></td></tr> </table> </div> </form> |