summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-04-28 14:27:41 -0300
committerCarlos Eduardo Ramos <carlos.ramos@bluepex.com>2010-04-28 14:27:41 -0300
commit92936289c3da6ec58a908ebcac7c4b65e13d603c (patch)
treef26c72caf42b6448ca0a290224e984ae3d2f8550 /usr/local
parentf2a0ebed33797efa22ce4064332cf87583e6db1f (diff)
downloadpfsense-92936289c3da6ec58a908ebcac7c4b65e13d603c.zip
pfsense-92936289c3da6ec58a908ebcac7c4b65e13d603c.tar.gz
Implement gettext()
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/system_usermanager_addprivs.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/system_usermanager_addprivs.php b/usr/local/www/system_usermanager_addprivs.php
index 8f13c55..1a3ef2c 100644
--- a/usr/local/www/system_usermanager_addprivs.php
+++ b/usr/local/www/system_usermanager_addprivs.php
@@ -81,7 +81,7 @@ if ($_POST) {
/* input validation */
$reqdfields = explode(" ", "sysprivs");
- $reqdfieldsn = explode(",", "Selected priveleges");
+ $reqdfieldsn = array(gettext("Selected priveleges"));
do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
@@ -195,7 +195,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