minor updates for better translation

This commit is contained in:
Roland Gruber 2003-07-13 19:30:41 +00:00
parent 5060ba1e23
commit 2cfe0a40a5
6 changed files with 10 additions and 8 deletions

View File

@ -142,6 +142,8 @@ $helpArray = array (
"Text" => _("These are the workstations on which the user is allowed to login. They have to be seperated by spaces (e.g. \"PC01 PC09 PC34\"). If the user is allowed to login on all workstations, leave this field empty.")), "Text" => _("These are the workstations on which the user is allowed to login. They have to be seperated by spaces (e.g. \"PC01 PC09 PC34\"). If the user is allowed to login on all workstations, leave this field empty.")),
"309" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Domain"), "309" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Domain"),
"Text" => _("This is the Windows domain name.")), "Text" => _("This is the Windows domain name.")),
"310" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Password does not expire"),
"Text" => _("If set to 'true' the user will never have to change his password.")),
"330" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Primary group"), "330" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Primary group"),
"Text" => _("This is the user's primary group.")), "Text" => _("This is the user's primary group.")),
"331" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Additional groups"), "331" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Additional groups"),

View File

@ -209,17 +209,17 @@ echo ("<table border=0>\n");
// user list attributes // user list attributes
echo ("<tr><td align=\"right\"><b>". echo ("<tr><td align=\"right\"><b>".
_("Attributes in User List:") . "</b></td>". _("Attributes in User List") . ":</b></td>".
"<td><input size=50 type=\"text\" name=\"usrlstattr\" value=\"" . $conf->get_userlistAttributes() . "\"></td>"); "<td><input size=50 type=\"text\" name=\"usrlstattr\" value=\"" . $conf->get_userlistAttributes() . "\"></td>");
echo ("<td><a href=\"../help.php?HelpNumber=206\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n"); echo ("<td><a href=\"../help.php?HelpNumber=206\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n");
// user list attributes // user list attributes
echo ("<tr><td align=\"right\"><b>". echo ("<tr><td align=\"right\"><b>".
_("Attributes in Group List:") . "</b></td>". _("Attributes in Group List") . ":</b></td>".
"<td><input size=50 type=\"text\" name=\"grplstattr\" value=\"" . $conf->get_grouplistAttributes() . "\"></td>"); "<td><input size=50 type=\"text\" name=\"grplstattr\" value=\"" . $conf->get_grouplistAttributes() . "\"></td>");
echo ("<td><a href=\"../help.php?HelpNumber=206\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n"); echo ("<td><a href=\"../help.php?HelpNumber=206\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n");
// user list attributes // user list attributes
echo ("<tr><td align=\"right\"><b>". echo ("<tr><td align=\"right\"><b>".
_("Attributes in Host List:") . "</b></td>". _("Attributes in Host List") . ":</b></td>".
"<td><input size=50 type=\"text\" name=\"hstlstattr\" value=\"" . $conf->get_hostlistAttributes() . "\"></td>"); "<td><input size=50 type=\"text\" name=\"hstlstattr\" value=\"" . $conf->get_hostlistAttributes() . "\"></td>");
echo ("<td><a href=\"../help.php?HelpNumber=206\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n"); echo ("<td><a href=\"../help.php?HelpNumber=206\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n");

View File

@ -156,7 +156,7 @@ if ($_POST['submit']) {
<?php echo _("Add profile:"); ?> <?php echo _("Add profile:"); ?>
&nbsp &nbsp
</b> </b>
&nbsp <?php echo _("Profile name:"); ?> &nbsp <?php echo _("Profile name"); ?> :
<input type="text" name="addprofile"> <input type="text" name="addprofile">
</td> </td>
<td> <td>

View File

@ -206,7 +206,7 @@ for ($i = $table_begin; $i < $table_end; $i++) {
$linklist = array(); $linklist = array();
for ($d = 0; $d < sizeof($grp_info[$i][strtolower($attr_array[$k])]); $d++) { for ($d = 0; $d < sizeof($grp_info[$i][strtolower($attr_array[$k])]); $d++) {
$user = $grp_info[$i][strtolower($attr_array[$k])][$d]; // user name $user = $grp_info[$i][strtolower($attr_array[$k])][$d]; // user name
// if user was found in LDAP make link, otherwise just print name // make a link for each member of the group
$linklist[$d] = "<a href=\"userlink.php?user='" . $user . "' \">" . $user . "</a>"; $linklist[$d] = "<a href=\"userlink.php?user='" . $user . "' \">" . $user . "</a>";
} }
echo implode("; ", $linklist); echo implode("; ", $linklist);

View File

@ -91,7 +91,7 @@ echo ("<br><br>\n");
// profile name and submit/abort buttons // profile name and submit/abort buttons
echo ("<table border=0>\n"); echo ("<table border=0>\n");
echo ("<tr>\n"); echo ("<tr>\n");
echo ("<td><b>" . _("Profile Name") . ":</b></td>\n"); echo ("<td><b>" . _("Profile name") . ":</b></td>\n");
echo ("<td><input type=\"text\" name=\"profname\" value=\"" . $_GET['edit'] . "\"></td>\n"); echo ("<td><input type=\"text\" name=\"profname\" value=\"" . $_GET['edit'] . "\"></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=360\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=360\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");

View File

@ -241,7 +241,7 @@ echo ("<td><select name=\"smb_flagsD\">\n");
if ($acct->smb_flagsD == "0") echo ("<option selected value=0>"._("no")."</option><option value=1>"._("yes")."</option>\n"); if ($acct->smb_flagsD == "0") echo ("<option selected value=0>"._("no")."</option><option value=1>"._("yes")."</option>\n");
else echo ("<option selected value=1>"._("yes")."</option><option value=0>"._("no")."</option>\n"); else echo ("<option selected value=1>"._("yes")."</option><option value=0>"._("no")."</option>\n");
echo ("</select></td>\n"); echo ("</select></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=302\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=310\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");
// user can change his password // user can change his password
@ -346,7 +346,7 @@ echo ("<br><br>\n");
// profile name and submit/abort buttons // profile name and submit/abort buttons
echo ("<table border=0>\n"); echo ("<table border=0>\n");
echo ("<tr>\n"); echo ("<tr>\n");
echo ("<td><b>" . _("Profile Name") . ":</b></td>\n"); echo ("<td><b>" . _("Profile name") . ":</b></td>\n");
echo ("<td><input type=\"text\" name=\"profname\" value=\"" . $_GET['edit'] . "\"></td>\n"); echo ("<td><input type=\"text\" name=\"profname\" value=\"" . $_GET['edit'] . "\"></td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=360\" target=\"lamhelp\">" . _("Help") . "</a></td>\n"); echo ("<td><a href=\"../help.php?HelpNumber=360\" target=\"lamhelp\">" . _("Help") . "</a></td>\n");
echo ("</tr>\n"); echo ("</tr>\n");