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."); 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."); 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."); 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."); 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.");