Project

General

Profile

« Previous | Next » 

Revision c3c68a70

Added by Vinicius Coque about 15 years ago

Implementing gettext()

View differences:

usr/local/www/system_groupmanager_addprivs.php
53 53

  
54 54
require("guiconfig.inc");
55 55

  
56
$pgtitle = array("System","Group manager","Add privileges");
56
$pgtitle = array(gettext("System"),gettext("Group manager"),gettext("Add privileges"));
57 57

  
58 58
$groupid = $_GET['groupid'];
59 59
if (isset($_POST['groupid']))
......
76 76

  
77 77
	/* input validation */
78 78
	$reqdfields = explode(" ", "sysprivs");
79
	$reqdfieldsn = explode(",", "Selected priveleges");
79
	$reqdfieldsn = explode(",", gettext("Selected priveleges"));
80 80

  
81 81
	do_input_validation($_POST, $reqdfields, $reqdfieldsn, &$input_errors);
82 82

  
......
213 213
						<tr height="60">
214 214
							<td width="22%" valign="top" class="vncell"><?=gettext("Description");?></td>
215 215
							<td width="78%" valign="top" class="vtable" id="pdesc">
216
								<em>Select a privilege from the list above for a description</em>
216
								<em><?=gettext("Select a privilege from the list above for a description");?></em>
217 217
							</td>
218 218
						</tr>
219 219
						<tr>

Also available in: Unified diff