diff options
author | Vinicius Coque <vinicius.coque@bluepex.com> | 2010-04-27 09:30:46 -0300 |
---|---|---|
committer | Vinicius Coque <vinicius.coque@bluepex.com> | 2010-04-27 09:30:46 -0300 |
commit | bca12a7613d5b60ddcce94e0fe5e46217aa6dd5c (patch) | |
tree | e033b2ec53e96cbec0a1e178e7da48e1634b8265 /usr | |
parent | cf9331b39aa4fa5cdaa7cda111b32c13f32258a6 (diff) | |
download | pfsense-bca12a7613d5b60ddcce94e0fe5e46217aa6dd5c.zip pfsense-bca12a7613d5b60ddcce94e0fe5e46217aa6dd5c.tar.gz |
Reviewing gettext()
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/system_advanced_admin.php | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/usr/local/www/system_advanced_admin.php b/usr/local/www/system_advanced_admin.php index 3f926fc..a5bedaa 100644 --- a/usr/local/www/system_advanced_admin.php +++ b/usr/local/www/system_advanced_admin.php @@ -157,8 +157,7 @@ if ($_POST) { $savemsg = get_std_save_message($retval); if ($restart_webgui) - #$savemsg .= sprintf("<br />" . gettext("One moment...redirecting to '%s' in 20 seconds."),{$url}); - $savemsg .= "<br />" . gettext("One moment...redirecting to {$url} in 20 seconds."); + $savemsg .= sprintf("<br />" . gettext("One moment...redirecting to '%s' in 20 seconds."),$url); conf_mount_rw(); setup_serial_port(); @@ -166,7 +165,7 @@ if ($_POST) { } } -$pgtitle = array("System","Advanced: Admin Access"); +$pgtitle = array(gettext("System"),gettext("Advanced: Admin Access")); include("head.inc"); ?> @@ -198,12 +197,12 @@ function prot_change() { <td> <?php $tab_array = array(); - $tab_array[] = array("Admin Access", true, "system_advanced_admin.php"); - $tab_array[] = array("Firewall / NAT", false, "system_advanced_firewall.php"); - $tab_array[] = array("Networking", false, "system_advanced_network.php"); - $tab_array[] = array("Miscellaneous", false, "system_advanced_misc.php"); - $tab_array[] = array("System Tunables", false, "system_advanced_sysctl.php"); - $tab_array[] = array("Notifications", false, "system_advanced_notifications.php"); + $tab_array[] = array(gettext("Admin Access"), true, "system_advanced_admin.php"); + $tab_array[] = array(gettext("Firewall / NAT"), false, "system_advanced_firewall.php"); + $tab_array[] = array(gettext("Networking"), false, "system_advanced_network.php"); + $tab_array[] = array(gettext("Miscellaneous"), false, "system_advanced_misc.php"); + $tab_array[] = array(gettext("System Tunables"), false, "system_advanced_sysctl.php"); + $tab_array[] = array(gettext("Notifications"), false, "system_advanced_notifications.php"); display_top_tabs($tab_array); ?> </td> @@ -364,7 +363,7 @@ function prot_change() { </tr> <tr> <td width="22%" valign="top"> </td> - <td width="78%"><input name="Submit" type="submit" class="formbtn" value="Save" /></td> + <td width="78%"><input name="Submit" type="submit" class="formbtn" value="<?=gettext("Save");?>" /></td> </tr> <tr> <td colspan="2" class="list" height="12"> </td> |