From 205da5a084a1d5b265e91d4467bfe22f1a285c88 Mon Sep 17 00:00:00 2001 From: "Neriberto C.Prado" Date: Wed, 16 Jun 2010 15:23:12 -0700 Subject: translate of the files: diag_arp.php diag_authentication.php diag_backup.php --- usr/local/www/diag_arp.php | 12 ++-- usr/local/www/diag_authentication.php | 18 +++--- usr/local/www/diag_backup.php | 112 +++++++++++++++++----------------- 3 files changed, 71 insertions(+), 71 deletions(-) diff --git a/usr/local/www/diag_arp.php b/usr/local/www/diag_arp.php index 4a6e92c..6d06db6 100755 --- a/usr/local/www/diag_arp.php +++ b/usr/local/www/diag_arp.php @@ -249,7 +249,7 @@ function getHostName($mac,$ip) return ""; } -$pgtitle = array("Diagnostics","ARP Table"); +$pgtitle = array(gettext("Diagnostics"),gettext("ARP Table")); include("head.inc"); ?> @@ -259,7 +259,7 @@ include("head.inc");
- Loading, please wait... +

 

@@ -289,10 +289,10 @@ $data = msort($data, "dnsresolve"); - - - - + + + + diff --git a/usr/local/www/diag_authentication.php b/usr/local/www/diag_authentication.php index f6ed771..12eaba2 100755 --- a/usr/local/www/diag_authentication.php +++ b/usr/local/www/diag_authentication.php @@ -49,24 +49,24 @@ if ($_POST) { $authcfg = auth_get_authserver($_POST['authmode']); if (!$authcfg) - $input_errors[] = "{$_POST['authmode']} is not a valid authentication server "; + $input_errors[] = "{$_POST['authmode']}" + gettext("is not a valid authentication server "); if (empty($_POST['username']) || empty($_POST['password'])) - $input_errors[] = "A username and password must be specified."; + $input_errors[] = gettext("A username and password must be specified."); if (!$input_errors) { if (authenticate_user($_POST['username'], $_POST['password'], $authcfg)) { - $savemsg = "User: {$_POST['username']} authenticated sucessfully."; + $savemsg = gettext("User: ") + {$_POST['username']} + gettext(" authenticated sucessfully."); $groups = getUserGroups($_POST['username'], $authcfg); - $savemsg .= "
This user is member of this groups:
"; + $savemsg .= "
" + gettext("This user is member of this groups:") + "
"; foreach ($groups as $group) $savemsg .= "{$group} "; } else { - $input_errors[] = "Authentication failed."; + $input_errors[] = gettext("Authentication failed."); } } } -$pgtitle = array("Diagnostics","Authentication"); +$pgtitle = array(gettext("Diagnostics"),gettext("Authentication")); include("head.inc"); ?> @@ -87,7 +87,7 @@ include("head.inc");
IP addressMAC addressHostnameInterface
- + - + - + diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index e2cbacb..e606ab3 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -99,27 +99,27 @@ function check_and_returnif_section_exists($section) { function spit_out_select_items($area, $showall) { global $config; - $areas = array("aliases" => "Aliases", - "captiveportal" => "Captive Portal", - "voucher" => "Captive Portal Vouchers", - "dnsmasq" => "DNS Forwarder", - "dhcpd" => "DHCP Server", - "filter" => "Firewall Rules", - "interfaces" => "Interfaces", - "ipsec" => "IPSEC", - "nat" => "NAT", - "ovpn" => "OpenVPN", - "installedpackages" => "Package Manager", - "pptpd" => "PPTP Server", - "cron" => "Scheduled Tasks", - "syslog" => "Syslog", - "system" => "System", - "staticroutes" => "Static routes", - "sysctl" => "System tunables", - "snmpd" => "SNMP Server", - "shaper" => "Traffic Shaper", - "vlans" => "VLANS", - "wol" => "Wake on LAN" + $areas = array("aliases" => gettext("Aliases"), + "captiveportal" => gettext("Captive Portal"), + "voucher" => gettext("Captive Portal Vouchers"), + "dnsmasq" => gettext("DNS Forwarder"), + "dhcpd" => gettext("DHCP Server"), + "filter" => gettext("Firewall Rules"), + "interfaces" => gettext("Interfaces"), + "ipsec" => gettext("IPSEC"), + "nat" => gettext("NAT"), + "ovpn" => gettext("OpenVPN"), + "installedpackages" => gettext("Package Manager"), + "pptpd" => gettext("PPTP Server"), + "cron" => gettext("Scheduled Tasks"), + "syslog" => gettext("Syslog"), + "system" => gettext("System"), + "staticroutes" => gettext("Static routes"), + "sysctl" => gettext("System tunables"), + "snmpd" => gettext("SNMP Server"), + "shaper" => gettext("Traffic Shaper"), + "vlans" => gettext("VLANS"), + "wol" => gettext("Wake on LAN") ); $select = " -The firewall is now rebooting.");?>
+The firewall is now rebooting."));?>
@@ -536,8 +536,8 @@ function backuparea_change(obj) { @@ -547,19 +547,19 @@ function backuparea_change(obj) {
Authentication Server
Username ' />
Password ' />
- + @@ -577,14 +577,14 @@ function backuparea_change(obj) {
Backup configuration
  -

Click this button to download the system configuration in XML format.

Backup area:

+



- Do not backup package information. +
@@ -569,7 +569,7 @@ function backuparea_change(obj) {
- Encrypt this configuration file. +
- Do not backup RRD data (NOTE: RRD Data can consume 4+ megabytes of config.xml space!) +
- + @@ -650,12 +650,12 @@ function backuparea_change(obj) { - + -- cgit v1.1
- Password : + : @@ -592,7 +592,7 @@ function backuparea_change(obj) {
- confirm : + : @@ -606,12 +606,12 @@ function backuparea_change(obj) {  
Restore configuration
  - Open a configuration XML file and click the button below to restore the configuration.

Restore area: +

@@ -619,14 +619,14 @@ function backuparea_change(obj) {
- Configuration file is encrypted. +
- Password : + @@ -634,7 +634,7 @@ function backuparea_change(obj) {
- confirm : + @@ -642,7 +642,7 @@ function backuparea_change(obj) {

-

Note:
The firewall will reboot after restoring the configuration.

+

Note:

 
Reinstall packages
  -

Click this button to reinstall all system packages. This may take a while.

+