summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-14 11:02:34 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-07-14 11:02:34 -0300
commit6730eae1026de15e64418f511f4a90ce0a0bf19e (patch)
tree1c94e99d361d462d98d5f7d36fcc44a3993b696b /usr/local/www
parent654998ee43dc9038eaa6171348b220274d9ae78b (diff)
downloadpfsense-6730eae1026de15e64418f511f4a90ce0a0bf19e.zip
pfsense-6730eae1026de15e64418f511f4a90ce0a0bf19e.tar.gz
Checked gettext() implementation on interfaces_groups_edit.php
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/interfaces_groups_edit.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr/local/www/interfaces_groups_edit.php b/usr/local/www/interfaces_groups_edit.php
index 7525945..966a05e 100755
--- a/usr/local/www/interfaces_groups_edit.php
+++ b/usr/local/www/interfaces_groups_edit.php
@@ -37,9 +37,11 @@
##|*MATCH=interfaces_groups_edit.php*
##|-PRIV
-$pgtitle = array(gettext("Interfaces"),gettext("Groups"),gettext("Edit"));
require("guiconfig.inc");
+require_once("functions.inc");
+
+$pgtitle = array(gettext("Interfaces"),gettext("Groups"),gettext("Edit"));
if (!is_array($config['ifgroups']['ifgroupentry']))
$config['ifgroups']['ifgroupentry'] = array();
@@ -66,7 +68,7 @@ if ($_POST) {
if (!isset($id)) {
foreach ($a_ifgroups as $groupentry)
if ($groupentry['ifname'] == $_POST['ifname'])
- $input_errors[] = "Group name already exists!";
+ $input_errors[] = gettext("Group name already exists!");
}
if (preg_match("/([^a-zA-Z])+/", $_POST['ifname'], $match))
$input_errors[] = gettext("Only letters A-Z are allowed as the group name.");
OpenPOWER on IntegriCloud