translation update

This commit is contained in:
Roland Gruber 2003-07-30 14:34:33 +00:00
parent cd2eedc1c5
commit f29ba739eb
8 changed files with 24 additions and 24 deletions

View File

@ -107,8 +107,8 @@ $helpArray = array (
"214" => array ("ext" => "FALSE", "Headline" => _("Configuration Wizard - Samba domain SID"),
"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>"),
_("You can get your domain SID with this command:").
"<b> \"net getlocalsid\"</b>"),
// 300 - 399
// Roland Gruber
// profile editor

View File

@ -431,7 +431,7 @@ class Config {
function printconf() {
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>" . _("Domain SID") . ": </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>";

View File

@ -60,7 +60,7 @@ class Ldap{
"homeDirectory" => _("Home Directory"),
"loginShell" => _("Login Shell"),
"mail" => _("E-Mail"),
"gecos" => _("description")
"gecos" => _("Description")
);
$this->ldapGroupAttributes = array (
"cn" => _("Group Name"),

View File

@ -175,11 +175,11 @@ function loadUserProfile($profile) {
fclose($file);
}
else {
StatusMessage("ERROR", "", _("Unable to load profile! ") . $file);
StatusMessage("ERROR", "", _("Unable to load profile!") . " " . $file);
}
}
else {
StatusMessage("ERROR", "", _("Unable to load profile! ") . $file);
StatusMessage("ERROR", "", _("Unable to load profile!") . " " . $file);
}
return $acc;
}
@ -215,11 +215,11 @@ function loadHostProfile($profile) {
fclose($file);
}
else {
StatusMessage("ERROR", "", _("Unable to load profile! ") . $file);
StatusMessage("ERROR", "", _("Unable to load profile!") . " " . $file);
}
}
else {
StatusMessage("ERROR", "", _("Unable to load profile! ") . $file);
StatusMessage("ERROR", "", _("Unable to load profile!") . " " . $file);
}
return $acc;
}

View File

@ -1,4 +1,4 @@
# $Id: messages.po,v 1.1 2003/05/02 11:37:25 dechutes Exp $
# $Id: messages.po,v 1.2 2003/07/29 20:46:45 gruberroland Exp $
#
#
# LDAP Account Manager
@ -128,7 +128,7 @@ msgstr ""
#: ../lib/ldap.inc:57
msgid "Allowed Hosts"
msgstr "Zugriffsberechtigte Hosts"
msgstr "Erlaubte PCs"
#: ../templates/lists/listgroups.php:173 ../templates/lists/listhosts.php:179
#: ../templates/lists/listusers.php:195
@ -835,7 +835,7 @@ msgstr "Gruppen Beschreibung"
#: ../lib/ldap.inc:69
msgid "Group Member DNs"
msgstr "Gruppenmitglieder DNS"
msgstr "DNs der Gruppenmitglieder"
#: ../lib/ldap.inc:68
msgid "Group Members"
@ -843,7 +843,7 @@ msgstr "Gruppenmitglieder"
#: ../lib/ldap.inc:66
msgid "Group Name"
msgstr "Gruppen Name"
msgstr "Gruppenname"
#: ../help/help.inc:203
msgid "Group descriptopn. If left empty groupname will be used."
@ -859,7 +859,7 @@ msgstr ""
#: ../templates/config/confmain.php:137 ../lib/config.inc:436
msgid "GroupSuffix"
msgstr "GruppenSuffix"
msgstr "Gruppensuffix"
#: ../help/help.inc:196 ../lib/account.inc:218 ../lib/account.inc:245
msgid "Groupname"
@ -1048,7 +1048,7 @@ msgstr "Host Beschreibung"
#: ../lib/ldap.inc:74
msgid "Host Name"
msgstr "Host Name"
msgstr "Hostname"
#: ../lib/ldap.inc:73
msgid "Host Username"
@ -1813,7 +1813,7 @@ msgstr ""
#: ../templates/config/conflogin.php:83
msgid "Please enter password to change preferences:"
msgstr "Passwort um die Einstellungen zu ändern:"
msgstr "Bitte Konfigurationspasswort eingeben:"
#: ../help/help.inc:39
msgid ""
@ -2808,7 +2808,7 @@ msgstr ""
#: ../lib/ldap.inc:63
msgid "description"
msgstr "Beschreibung:"
msgstr "Beschreibung"
#: ../templates/account.php:1014 ../templates/massdetail.php:171
#: ../help/help.inc:298 ../help/help.inc:299

View File

@ -284,7 +284,7 @@ echo ("</select>\n");
}
else
{
echo _("Unable to load available languages. For further instructions please contact the Admin of this site.\n");
echo _("Unable to load available languages. Setting English as default language. For further instructions please contact the Admin of this site.\n");
}
echo ("</td>\n");
echo ("<td><a href=\"../help.php?HelpNumber=209\" target=\"lamhelp\">" . _("Help") . "</a></td></tr>\n");

View File

@ -154,7 +154,7 @@ if (!$grplstattr || !eregi("^((#[a-z]*)|([a-z]*:[a-z*]))(;((#[a-z]*)|([a-z]*:[a-
exit;
}
if (!$hstlstattr || !eregi("^((#[a-z]*)|([a-z]*:[a-z*]))(;((#[a-z]*)|([a-z]*:[a-z]*)))*$", $hstlstattr)) {
echo ("<font color=\"red\"><b>" . _("Host list attributes are invalidUser list attributes are invalid!") . "</b></font>");
echo ("<font color=\"red\"><b>" . _("Host list attributes are invalid!") . "</b></font>");
echo ("\n<br><br><br><a href=\"javascript:history.back()\">" . _("Back to preferences...") . "</a>");
exit;
}

View File

@ -48,20 +48,20 @@ if ($_POST['submit']) {
// delete user profile
if ($_POST['type'] == "user") {
if (!delUserProfile($_POST['del'])) {
StatusMessage("ERROR", "", _("Unable to delete profile! ") . $_POST['del']);
StatusMessage("ERROR", "", _("Unable to delete profile!") . " " . $_POST['del']);
}
else StatusMessage("INFO", "", _("Deleted profile: ") . $_POST['del']);
else StatusMessage("INFO", "", _("Deleted profile:") . " " . $_POST['del']);
}
// delete host profile
elseif ($_POST['type'] == "host") {
if (!delHostProfile($_POST['del'])) {
StatusMessage("ERROR", "", _("Unable to delete profile! ") . $_POST['del']);
StatusMessage("ERROR", "", _("Unable to delete profile!") . " " . $_POST['del']);
}
else StatusMessage("INFO", "", _("Deleted profile: ") . $_POST['del']);
else StatusMessage("INFO", "", _("Deleted profile:") . " " . $_POST['del']);
}
// wrong profile type
else {
StatusMessage("ERROR", "", _("Wrong or missing type! ") . $_POST['type']);
StatusMessage("ERROR", "", _("Wrong or missing type!") . " " . $_POST['type']);
}
echo ("<br><a href=\"profilemain.php\">" . _("Back to Profile Editor") . "</a>");
echo ("</body></html>\n");
@ -106,6 +106,6 @@ if (($type == "user") || ($type == "host")) {
}
else{
// no valid profile type
StatusMessage("ERROR", "", _("Wrong or missing type! ") . $type);
StatusMessage("ERROR", "", _("Wrong or missing type!") . " " . $type);
echo ("<a href=\"profilemain.php\">" . _("Back to Profile Editor") . "</a>");
}