From f2047bd011a6470b3d80bcbfbe65a32dec6c2297 Mon Sep 17 00:00:00 2001 From: Rafael Lucas Date: Fri, 2 Jul 2010 16:07:15 -0300 Subject: [PATCH] Implement gettext() calls on interfaces_ppps.php --- usr/local/www/interfaces_ppps.php | 32 +++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/usr/local/www/interfaces_ppps.php b/usr/local/www/interfaces_ppps.php index e6d48800a1..28a02d4ae4 100644 --- a/usr/local/www/interfaces_ppps.php +++ b/usr/local/www/interfaces_ppps.php @@ -60,7 +60,7 @@ function ppp_inuse($num) { if ($_GET['act'] == "del") { /* check if still in use */ if (ppp_inuse($_GET['id'])) { - $input_errors[] = "This point-to-point link cannot be deleted because it is still being used as an interface."; + $input_errors[] = gettext("This point-to-point link cannot be deleted because it is still being used as an interface."); } else { unset($a_ppps[$_GET['id']]['pppoe-reset-type']); handle_pppoe_reset($a_ppps[$_GET['id']]); @@ -71,7 +71,7 @@ if ($_GET['act'] == "del") { } } -$pgtitle = "Interfaces: PPPs"; +$pgtitle = gettext("Interfaces: PPPs"); include("head.inc"); ?> @@ -83,16 +83,16 @@ include("head.inc"); @@ -101,9 +101,9 @@ include("head.inc");
- - - + + + $ppp): ?> @@ -125,7 +125,7 @@ include("head.inc");   +  )">
InterfaceInterface(s)/Port(s)Description
-