From 1eacdc8a8733849da8152eb4ffe54886ed4890d1 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Ramos Date: Mon, 26 Apr 2010 16:10:53 -0300 Subject: Implement gettext() --- usr/local/www/system_advanced_misc.php | 76 +++++++++++++++++----------------- 1 file changed, 38 insertions(+), 38 deletions(-) (limited to 'usr/local/www/system_advanced_misc.php') diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php index 6bd5d3a..e6c237e 100644 --- a/usr/local/www/system_advanced_misc.php +++ b/usr/local/www/system_advanced_misc.php @@ -101,9 +101,9 @@ if ($_POST) { $retval = 0; $retval = filter_configure(); if(stristr($retval, "error") <> true) - $savemsg = get_std_save_message($retval); + $savemsg = get_std_save_message(gettext($retval)); else - $savemsg = $retval; + $savemsg = gettext($retval); activate_powerd(); load_glxsb(); @@ -144,44 +144,44 @@ include("head.inc");
- NOTE:  +   - The options on this page are intended for use by advanced users only. +

- + - + - + - + - + - + - + - + - + - + @@ -252,27 +252,27 @@ include("head.inc"); - + - + -- cgit v1.1 From e51ed1e9e9e668b481b46dcdcece818bae623fc7 Mon Sep 17 00:00:00 2001 From: Vinicius Coque Date: Tue, 27 Apr 2010 09:52:34 -0300 Subject: Reviewing gettext() --- usr/local/www/system_advanced_misc.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'usr/local/www/system_advanced_misc.php') diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php index e6c237e..b009cfe 100644 --- a/usr/local/www/system_advanced_misc.php +++ b/usr/local/www/system_advanced_misc.php @@ -110,7 +110,7 @@ if ($_POST) { } } -$pgtitle = array("System","Advanced: Miscellaneous"); +$pgtitle = array(gettext("System"),gettext("Advanced: Miscellaneous")); include("head.inc"); ?> @@ -129,12 +129,12 @@ include("head.inc"); -- cgit v1.1 From 267c28abea59e41b86e4956ae6a0a3f92365f3ba Mon Sep 17 00:00:00 2001 From: Vinicius Coque Date: Tue, 27 Apr 2010 10:07:07 -0300 Subject: Adding gettext() to save button --- usr/local/www/system_advanced_misc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/system_advanced_misc.php') diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php index b009cfe..ffff650 100644 --- a/usr/local/www/system_advanced_misc.php +++ b/usr/local/www/system_advanced_misc.php @@ -283,7 +283,7 @@ include("head.inc");
Load Balancing
Load Balancing /> - Use sticky connections
- Successive connections will be redirected to the servers +
+
 
Power savings
PowerD /> - Use PowerD
+

- The powerd utility monitors the system state and sets various power control +
 
glxsb Crypto Acceleration
glxsb /> - Use glxsb
+

- The AMD Geode LX Security Block will accelerate some cryptographic functions +

- If you do not have a glxsb chip in your system, this option will have no - effect. To unload the module, uncheck this option and then reboot. +
 
IP Security
Security Assocications /> - Prefer older IPsec SAs +
- By default, if several SAs match, the newest one is +
 
Schedules
Schedule States />
- By default schedules clear the states of existing connections when expiry time has come. - This option allows to override this setting by not clearing states for existing connections. +
Hardware Settings
Hard disk standby time
- Puts the hard disk into standby mode when the selected amount of time after the last - access has elapsed. Do not set this for CF cards. +
  - + " />
-- cgit v1.1 From 79eaddf45816c3417074e8b703c2d7b7477c6185 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 27 Apr 2010 17:26:59 -0300 Subject: Fix : for translations --- usr/local/www/system_advanced_misc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/system_advanced_misc.php') diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php index ffff650..df1683c 100644 --- a/usr/local/www/system_advanced_misc.php +++ b/usr/local/www/system_advanced_misc.php @@ -144,7 +144,7 @@ include("head.inc");
-   +
-- cgit v1.1 From 4d473c89f7e48103b188531006a1149755a7ea94 Mon Sep 17 00:00:00 2001 From: Vinicius Coque Date: Thu, 29 Apr 2010 14:18:44 -0300 Subject: Fixing gettext() on multiline strings --- usr/local/www/system_advanced_misc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'usr/local/www/system_advanced_misc.php') diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php index df1683c..ae17972 100644 --- a/usr/local/www/system_advanced_misc.php +++ b/usr/local/www/system_advanced_misc.php @@ -243,8 +243,8 @@ include("head.inc"); />
- + @@ -271,8 +271,8 @@ include("head.inc");
- + -- cgit v1.1 From f0d1af931a2c775546691209fee55e0601a58872 Mon Sep 17 00:00:00 2001 From: Carlos Eduardo Ramos Date: Thu, 29 Apr 2010 14:53:19 -0300 Subject: Fix gettext issues --- usr/local/www/system_advanced_misc.php | 56 +++++++++++++++++----------------- 1 file changed, 28 insertions(+), 28 deletions(-) (limited to 'usr/local/www/system_advanced_misc.php') diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php index ae17972..7eaaf70 100644 --- a/usr/local/www/system_advanced_misc.php +++ b/usr/local/www/system_advanced_misc.php @@ -159,14 +159,14 @@ include("head.inc"); />
- + @@ -181,16 +181,16 @@ include("head.inc"); />

- + @@ -205,14 +205,14 @@ include("head.inc"); />

- +

- + @@ -227,9 +227,9 @@ include("head.inc"); />
- + -- cgit v1.1 From d0a00ec9919199b03a6b1b12e4894f3ff6d40fe3 Mon Sep 17 00:00:00 2001 From: Vinicius Coque Date: Thu, 29 Apr 2010 14:56:33 -0300 Subject: Removing tab character --- usr/local/www/system_advanced_misc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/system_advanced_misc.php') diff --git a/usr/local/www/system_advanced_misc.php b/usr/local/www/system_advanced_misc.php index 7eaaf70..41f0979 100644 --- a/usr/local/www/system_advanced_misc.php +++ b/usr/local/www/system_advanced_misc.php @@ -182,7 +182,7 @@ include("head.inc");