From a9a7a131bccffec6c7470523a46c96fd344986d2 Mon Sep 17 00:00:00 2001 From: Rafael Lucas Date: Tue, 6 Jul 2010 13:37:16 -0300 Subject: Implement gettext calls on interfaces_groups_edit.php --- usr/local/www/interfaces_groups_edit.php | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/usr/local/www/interfaces_groups_edit.php b/usr/local/www/interfaces_groups_edit.php index 51feffd..7525945 100755 --- a/usr/local/www/interfaces_groups_edit.php +++ b/usr/local/www/interfaces_groups_edit.php @@ -37,7 +37,7 @@ ##|*MATCH=interfaces_groups_edit.php* ##|-PRIV -$pgtitle = array("Interfaces","Groups", "Edit"); +$pgtitle = array(gettext("Interfaces"),gettext("Groups"),gettext("Edit")); require("guiconfig.inc"); @@ -69,7 +69,7 @@ if ($_POST) { $input_errors[] = "Group name already exists!"; } if (preg_match("/([^a-zA-Z])+/", $_POST['ifname'], $match)) - $input_errors[] = "Only letters A-Z are allowed as the group name."; + $input_errors[] = gettext("Only letters A-Z are allowed as the group name."); $ifgroupentry = array(); $ifgroupentry['ifname'] = $_POST['ifname']; @@ -200,33 +200,33 @@ function removeRow(el) {
- + - + - + - +
Interface Groups Edit
Group Name
- No numbers or spaces are allowed. Only characters in a-zA-Z +
Description
- You may enter a description here for your reference (not parsed). +
Member (s)
- +
Interface
- + " />
- + " />
  - - + " /> + " /> -- cgit v1.1