From dcc85b421f027c41d453575f47086fddf96d1ffc Mon Sep 17 00:00:00 2001 From: Rafael Lucas Date: Tue, 6 Jul 2010 13:32:16 -0300 Subject: [PATCH] Implement gettext calls on interfaces_gre.php --- usr/local/www/interfaces_gre.php | 34 ++++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/usr/local/www/interfaces_gre.php b/usr/local/www/interfaces_gre.php index a1a959e660..af10a521aa 100644 --- a/usr/local/www/interfaces_gre.php +++ b/usr/local/www/interfaces_gre.php @@ -61,7 +61,7 @@ function gre_inuse($num) { if ($_GET['act'] == "del") { /* check if still in use */ if (gre_inuse($_GET['id'])) { - $input_errors[] = "This GRE tunnel cannot be deleted because it is still being used as an interface."; + $input_errors[] = gettext("This GRE tunnel cannot be deleted because it is still being used as an interface."); } else { mwexec("/sbin/ifconfig " . $a_gres[$_GET['id']]['greif'] . " destroy"); unset($a_gres[$_GET['id']]); @@ -73,7 +73,7 @@ if ($_GET['act'] == "del") { } } -$pgtitle = array("Interfaces","GRE"); +$pgtitle = array(gettext("Interfaces"),gettext("GRE")); include("head.inc"); ?> @@ -85,16 +85,16 @@ include("head.inc"); @@ -103,9 +103,9 @@ include("head.inc");
- - - + + + @@ -120,7 +120,7 @@ include("head.inc");   +  )"> @@ -129,7 +129,7 @@ include("head.inc");
InterfaceTunnel to...Description
-  
-

Note:
Here you can configure Generic Routing Encapsulation (GRE - RFC 2784) tunnels.

+