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