From b3f0b2e1a8c8538d575c32090560aa8d21eb09b8 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 31 Oct 2014 08:06:17 +0545 Subject: [PATCH 1/5] Fix getext to gettext typo --- usr/local/www/interfaces_bridge.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/www/interfaces_bridge.php b/usr/local/www/interfaces_bridge.php index b6a6db733..5f716b433 100644 --- a/usr/local/www/interfaces_bridge.php +++ b/usr/local/www/interfaces_bridge.php @@ -60,9 +60,9 @@ function bridge_inuse($num) { if ($_GET['act'] == "del") { if (!isset($_GET['id'])) - $input_errors[] = getext("Wrong parameters supplied"); + $input_errors[] = gettext("Wrong parameters supplied"); else if (empty($a_bridges[$_GET['id']])) - $input_errors[] = getext("Wrong index supplied"); + $input_errors[] = gettext("Wrong index supplied"); /* check if still in use */ else if (bridge_inuse($_GET['id'])) { $input_errors[] = gettext("This bridge cannot be deleted because it is assigned as an interface."); From 24516832eaa85d97b9d01d854ce2dd052d94dd0a Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 31 Oct 2014 08:07:23 +0545 Subject: [PATCH 2/5] Fix getext to gettext typo --- usr/local/www/interfaces_gif.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/www/interfaces_gif.php b/usr/local/www/interfaces_gif.php index 128b26e31..b9664c128 100644 --- a/usr/local/www/interfaces_gif.php +++ b/usr/local/www/interfaces_gif.php @@ -60,9 +60,9 @@ function gif_inuse($num) { if ($_GET['act'] == "del") { if (!isset($_GET['id'])) - $input_errors[] = getext("Wrong parameters supplied"); + $input_errors[] = gettext("Wrong parameters supplied"); else if (empty($a_gifs[$_GET['id']])) - $input_errors[] = getext("Wrong index supplied"); + $input_errors[] = gettext("Wrong index supplied"); /* check if still in use */ else if (gif_inuse($_GET['id'])) { $input_errors[] = gettext("This gif TUNNEL cannot be deleted because it is still being used as an interface."); From 29af62653b914c482189f4d96871c945d25b19d1 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 31 Oct 2014 08:08:06 +0545 Subject: [PATCH 3/5] Fix getext to gettext typo --- usr/local/www/interfaces_gre.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/www/interfaces_gre.php b/usr/local/www/interfaces_gre.php index 1a4099260..53ac08a45 100644 --- a/usr/local/www/interfaces_gre.php +++ b/usr/local/www/interfaces_gre.php @@ -61,9 +61,9 @@ function gre_inuse($num) { if ($_GET['act'] == "del") { if (!isset($_GET['id'])) - $input_errors[] = getext("Wrong parameters supplied"); + $input_errors[] = gettext("Wrong parameters supplied"); else if (empty($a_gres[$_GET['id']])) - $input_errors[] = getext("Wrong index supplied"); + $input_errors[] = gettext("Wrong index supplied"); /* check if still in use */ else if (gre_inuse($_GET['id'])) { $input_errors[] = gettext("This GRE tunnel cannot be deleted because it is still being used as an interface."); From 41aa5cd4da59bc509cd360049c0c67eb0681b18a Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 31 Oct 2014 08:08:54 +0545 Subject: [PATCH 4/5] Fix getext to gettext typo --- usr/local/www/interfaces_lagg.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/www/interfaces_lagg.php b/usr/local/www/interfaces_lagg.php index 1a7bf00c6..ea95f18b7 100644 --- a/usr/local/www/interfaces_lagg.php +++ b/usr/local/www/interfaces_lagg.php @@ -66,9 +66,9 @@ function lagg_inuse($num) { if ($_GET['act'] == "del") { if (!isset($_GET['id'])) - $input_errors[] = getext("Wrong parameters supplied"); + $input_errors[] = gettext("Wrong parameters supplied"); else if (empty($a_laggs[$_GET['id']])) - $input_errors[] = getext("Wrong index supplied"); + $input_errors[] = gettext("Wrong index supplied"); /* check if still in use */ else if (lagg_inuse($_GET['id'])) { $input_errors[] = gettext("This LAGG interface cannot be deleted because it is still being used."); From c656bc75f81c40b07c0a6ad3af427bb3566c62a8 Mon Sep 17 00:00:00 2001 From: Phil Davis Date: Fri, 31 Oct 2014 08:09:39 +0545 Subject: [PATCH 5/5] Fix getext to gettext typo --- usr/local/www/interfaces_vlan.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/usr/local/www/interfaces_vlan.php b/usr/local/www/interfaces_vlan.php index e8acce920..1c6c13f09 100644 --- a/usr/local/www/interfaces_vlan.php +++ b/usr/local/www/interfaces_vlan.php @@ -61,9 +61,9 @@ function vlan_inuse($num) { if ($_GET['act'] == "del") { if (!isset($_GET['id'])) - $input_errors[] = getext("Wrong parameters supplied"); + $input_errors[] = gettext("Wrong parameters supplied"); else if (empty($a_vlans[$_GET['id']])) - $input_errors[] = getext("Wrong index supplied"); + $input_errors[] = gettext("Wrong index supplied"); /* check if still in use */ else if (vlan_inuse($_GET['id'])) { $input_errors[] = gettext("This VLAN cannot be deleted because it is still being used as an interface.");