summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_groupmanager_addprivs.php
diff options
context:
space:
mode:
authorVinicius Coque <vinicius.coque@bluepex.com>2010-04-28 09:38:50 -0300
committerVinicius Coque <vinicius.coque@bluepex.com>2010-04-28 09:38:50 -0300
commitc3c68a70e28e1dfd366951401a72ee57fc1ba219 (patch)
treecea2a0f8b858522b1a3ab8f68154ae2e23e880cd /usr/local/www/system_groupmanager_addprivs.php
parent223bbfb9a5a5761c6ff4c54105723254d5e6b98e (diff)
downloadpfsense-c3c68a70e28e1dfd366951401a72ee57fc1ba219.zip
pfsense-c3c68a70e28e1dfd366951401a72ee57fc1ba219.tar.gz
Implementing gettext()
Diffstat (limited to 'usr/local/www/system_groupmanager_addprivs.php')
-rw-r--r--usr/local/www/system_groupmanager_addprivs.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/system_groupmanager_addprivs.php b/usr/local/www/system_groupmanager_addprivs.php
index 9bec9f0..f66bb69 100644
--- a/usr/local/www/system_groupmanager_addprivs.php
+++ b/usr/local/www/system_groupmanager_addprivs.php
@@ -53,7 +53,7 @@ function admin_groups_sort() {
require("guiconfig.inc");
-$pgtitle = array("System","Group manager","Add privileges");
+$pgtitle = array(gettext("System"),gettext("Group manager"),gettext("Add privileges"));
$groupid = $_GET['groupid'];
if (isset($_POST['groupid']))
@@ -76,7 +76,7 @@ if ($_POST) {
/* input validation */
$reqdfields = explode(" ", "sysprivs");
- $reqdfieldsn = explode(",", "Selected priveleges");
+ $reqdfieldsn = explode(",", gettext("Selected priveleges"));
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
@@ -213,7 +213,7 @@ function update_description() {
<tr height="60">
<td width="22%" valign="top" class="vncell"><?=gettext("Description");?></td>
<td width="78%" valign="top" class="vtable" id="pdesc">
- <em>Select a privilege from the list above for a description</em>
+ <em><?=gettext("Select a privilege from the list above for a description");?></em>
</td>
</tr>
<tr>
OpenPOWER on IntegriCloud