updates for better translation
This commit is contained in:
parent
e01526314b
commit
f292691548
|
@ -36,7 +36,7 @@ $helpArray = array (
|
|||
// configuration wizard
|
||||
// configuration login
|
||||
"200" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - Login"),
|
||||
"Text" => _("Please enter the configuration password. This is NOT your LDAP password. It is stored in your .conf-file. If this is the first time you log in, enter 'lam'.")),
|
||||
"Text" => _("Please enter the configuration password. This is NOT your LDAP password. It is stored in your .conf-file. If this is the first time you log in, enter \"lam\".")),
|
||||
"201" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - Server Address"),
|
||||
"Text" => _("This is the Server Address of your LDAP server. Use ldap:// for standard LDAP connections and ldaps:// for encrypted (require server certificates) connections. The port value is optional.") .
|
||||
"<br><br><b> " .
|
||||
|
@ -62,7 +62,7 @@ $helpArray = array (
|
|||
"205" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - Machine Number"),
|
||||
"Text" => _("These are the minimum and maximum numbers to use for machine IDs when creating new accounts for Samba hosts. The range has to be different from that of users. New host accounts will always get the highest number in use plus one.")),
|
||||
"206" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - List Attributes"),
|
||||
"Text" => _("This is the list of attributes to show in the user/group/host list. The entries can either be predefined values, '#value', or individual ones, 'value:description'. Several entries are seperated by semicolons.") .
|
||||
"Text" => _("This is the list of attributes to show in the user/group/host list. The entries can either be predefined values, \"#value\", or individual ones, \"value:description\". Several entries are seperated by semicolons.") .
|
||||
"<br><br><b>" .
|
||||
_("Example") .
|
||||
": </b>#homeDirectory;#uid;#cn;#uidNumber;#gidNumber;description:UserDescription<br><br><br><u><b>" .
|
||||
|
@ -100,7 +100,7 @@ $helpArray = array (
|
|||
"212" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - Change Password"),
|
||||
"Text" => _("If you want to change the current preferences password, please enter it here.")),
|
||||
"213" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - Samba version"),
|
||||
"Text" => _("If you use Samba 3.x with the new LDAP schema say 'yes' here, otherwise 'no'.").
|
||||
"Text" => _("If you use Samba 3.x with the new LDAP schema say \"yes\" here, otherwise \"no\".").
|
||||
"<br><br><b>".
|
||||
_("LAM will not work if version is wrong!").
|
||||
"</b>"),
|
||||
|
@ -108,22 +108,26 @@ $helpArray = array (
|
|||
"Text" => _("If you use the new Samba 3.x schema enter your domain SID here.").
|
||||
"<br><br>".
|
||||
_("You can get your domain SID with this command: ").
|
||||
"<b>'net getlocalsid'</b>"),
|
||||
"<b>\"net getlocalsid\"</b>"),
|
||||
// 300 - 399
|
||||
// Roland Gruber
|
||||
// profile editor
|
||||
"300" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Set Samba Password"),
|
||||
"Text" => _("If set to \"no\" the NT and LM passwords will be set to \"NO PASSWORD*****\" and the user will be unable to login.".
|
||||
"<br><br>If unsure say \"yes\" here.")),
|
||||
"Text" => _("If set to \"no\" the NT and LM passwords will be set to \"NO PASSWORD*****\" and the user will be unable to login.").
|
||||
"<br><br>".
|
||||
_("If unsure say \"yes\" here.")),
|
||||
"301" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Set Unix Password for Samba"),
|
||||
"Text" => _("If set to \"yes\" the Windows password will be the same as the Unix one.".
|
||||
"<br><br>If unsure say \"yes\" here.")),
|
||||
"Text" => _("If set to \"yes\" the Windows password will be the same as the Unix one.").
|
||||
"<br><br>".
|
||||
_("If unsure say \"yes\" here.")),
|
||||
"302" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - User can change password"),
|
||||
"Text" => _("If set to \"yes\" the user will be able to change his Windows password.".
|
||||
"<br><br>If unsure say \"yes\" here.")),
|
||||
"Text" => _("If set to \"yes\" the user will be able to change his Windows password.").
|
||||
"<br><br>".
|
||||
_("If unsure say \"yes\" here.")),
|
||||
"303" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - User must change password"),
|
||||
"Text" => _("If set to \"yes\" the user will need to change his Windows password at next login.".
|
||||
"<br><br>If unsure say \"no\" here.")),
|
||||
"Text" => _("If set to \"yes\" the user will need to change his Windows password at next login.").
|
||||
"<br><br>".
|
||||
_("If unsure say \"no\" here.")),
|
||||
"304" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Home drive"),
|
||||
"Text" => _("This is the drive letter for the user's home drive. The home directory will be connected with this drive letter at login."),
|
||||
"SeeAlso" => "<a href=\"./help.php?HelpNumber=305\" target=\"_self\">Path to home directory</a>"),
|
||||
|
@ -135,8 +139,7 @@ $helpArray = array (
|
|||
"307" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Script path"),
|
||||
"Text" => _("This is the path to the logon script directory.")),
|
||||
"308" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - User Workstations"),
|
||||
"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"),
|
||||
"Text" => _("This is the Windows domain name.")),
|
||||
"330" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Primary group"),
|
||||
|
@ -148,8 +151,9 @@ $helpArray = array (
|
|||
"333" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Login Shell"),
|
||||
"Text" => _("This is the user's login shell. Set to \"/bin/bash\" if unsure.")),
|
||||
"334" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Set Unix Password"),
|
||||
"Text" => _("If set to \"no\" the Unix password will not be set and the user will be unable to login.".
|
||||
"<br><br>If unsure say \"yes\" here.")),
|
||||
"Text" => _("If set to \"no\" the Unix password will not be set and the user will be unable to login.").
|
||||
"<br><br>".
|
||||
_("If unsure say \"yes\" here.")),
|
||||
"335" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Password warning"),
|
||||
"Text" => _("Number of days a user will be warned before his password expires.")),
|
||||
"336" => array ("ext" => "FALSE", "Headline" => _("Profile Editor - Password expiry"),
|
||||
|
|
|
@ -400,26 +400,26 @@ class Config {
|
|||
|
||||
// prints current preferences
|
||||
function printconf() {
|
||||
echo "<b>" . _("ServerURL") . ": </b>" . $this->ServerURL . "<br>";
|
||||
echo "<b>" . _("Samba3") . ": </b>" . $this->samba3 . "<br>";
|
||||
echo "<b>" . _("Domain SID") . ": </b>" . $this->domainSID . "<br>";
|
||||
echo "<b>" . _("Server Address") . ": </b>" . $this->ServerURL . "<br>";
|
||||
echo "<b>" . _("Samba 3.x schema") . ": </b>" . $this->samba3 . "<br>";
|
||||
echo "<b>" . _("Domain SID (Samba 3 only)") . ": </b>" . $this->domainSID . "<br>";
|
||||
echo "<b>" . _("UserSuffix") . ": </b>" . $this->Suff_users . "<br>";
|
||||
echo "<b>" . _("GroupSuffix") . ": </b>" . $this->Suff_groups . "<br>";
|
||||
echo "<b>" . _("HostSuffix") . ": </b>" . $this->Suff_hosts . "<br>";
|
||||
echo "<b>" . _("minUID") . ": </b>" . $this->MinUID . "<br>";
|
||||
echo "<b>" . _("maxUID") . ": </b>" . $this->MaxUID . "<br>";
|
||||
echo "<b>" . _("minGID") . ": </b>" . $this->MinGID . "<br>";
|
||||
echo "<b>" . _("maxGID") . ": </b>" . $this->MaxGID . "<br>";
|
||||
echo "<b>" . _("minMachine") . ": </b>" . $this->MinMachine . "<br>";
|
||||
echo "<b>" . _("maxMachine") . ": </b>" . $this->MaxMachine . "<br>";
|
||||
echo "<b>" . _("userlistAttributes") . ": </b>" . $this->userlistAttributes . "<br>";
|
||||
echo "<b>" . _("grouplistAttributes") . ": </b>" . $this->grouplistAttributes . "<br>";
|
||||
echo "<b>" . _("hostlistAttributes") . ": </b>" . $this->hostlistAttributes . "<br>";
|
||||
echo "<b>" . _("maxlistentries") . ": </b>" . $this->maxlistentries . "<br>";
|
||||
echo "<b>" . _("defaultLanguage") . ": </b>" . $this->defaultLanguage . "<br>";
|
||||
echo "<b>" . _("scriptPath") . ": </b>" . $this->scriptPath . "<br>";
|
||||
echo "<b>" . _("scriptServer") . ": </b>" . $this->scriptServer . "<br>";
|
||||
echo "<b>" . _("Admins") . ": </b>" . $this->Adminstring;
|
||||
echo "<b>" . _("Minimum UID number") . ": </b>" . $this->MinUID . "<br>";
|
||||
echo "<b>" . _("Maximum UID number") . ": </b>" . $this->MaxUID . "<br>";
|
||||
echo "<b>" . _("Minimum GID number") . ": </b>" . $this->MinGID . "<br>";
|
||||
echo "<b>" . _("Maximum GID number") . ": </b>" . $this->MaxGID . "<br>";
|
||||
echo "<b>" . _("Minimum Machine number") . ": </b>" . $this->MinMachine . "<br>";
|
||||
echo "<b>" . _("Maximum Machine number") . ": </b>" . $this->MaxMachine . "<br>";
|
||||
echo "<b>" . _("Attributes in User List") . ": </b>" . $this->userlistAttributes . "<br>";
|
||||
echo "<b>" . _("Attributes in Group List") . ": </b>" . $this->grouplistAttributes . "<br>";
|
||||
echo "<b>" . _("Attributes in Host List") . ": </b>" . $this->hostlistAttributes . "<br>";
|
||||
echo "<b>" . _("Maximum list entries") . ": </b>" . $this->maxlistentries . "<br>";
|
||||
echo "<b>" . _("Default Language") . ": </b>" . $this->defaultLanguage . "<br>";
|
||||
echo "<b>" . _("Path to external script") . ": </b>" . $this->scriptPath . "<br>";
|
||||
echo "<b>" . _("Server of external script") . ": </b>" . $this->scriptServer . "<br>";
|
||||
echo "<b>" . _("List of valid users") . ": </b>" . $this->Adminstring;
|
||||
}
|
||||
|
||||
// functions to read/write preferences
|
||||
|
|
|
@ -38,8 +38,7 @@ $_POST = $_POST + $_GET;
|
|||
|
||||
// insert header for html file
|
||||
echo "<?xml version=\"1.0\" encoding=\"ISO-8859-15\"?>\n";
|
||||
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"
|
||||
\"http://www.w3.org/TR/html4/loose.dtd\">\n";
|
||||
echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\" \"http://www.w3.org/TR/html4/loose.dtd\">\n";
|
||||
|
||||
$usr_units = $_SESSION['usr_units'];
|
||||
session_register('usr_units');
|
||||
|
|
Loading…
Reference in New Issue