diff options
author | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-04-28 14:27:41 -0300 |
---|---|---|
committer | Carlos Eduardo Ramos <carlos.ramos@bluepex.com> | 2010-04-28 14:27:41 -0300 |
commit | 92936289c3da6ec58a908ebcac7c4b65e13d603c (patch) | |
tree | f26c72caf42b6448ca0a290224e984ae3d2f8550 /usr/local | |
parent | f2a0ebed33797efa22ce4064332cf87583e6db1f (diff) | |
download | pfsense-92936289c3da6ec58a908ebcac7c4b65e13d603c.zip pfsense-92936289c3da6ec58a908ebcac7c4b65e13d603c.tar.gz |
Implement gettext()
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/www/system_usermanager_addprivs.php | 4 |
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> |