From f29ba739eb0c899b4979556f6e5e9256c132b962 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 30 Jul 2003 14:34:33 +0000 Subject: [PATCH] translation update --- lam/help/help.inc | 4 ++-- lam/lib/config.inc | 2 +- lam/lib/ldap.inc | 2 +- lam/lib/profiles.inc | 8 ++++---- lam/locale/de_DE/LC_MESSAGES/messages.po | 16 ++++++++-------- lam/templates/config/confmain.php | 2 +- lam/templates/config/confsave.php | 2 +- lam/templates/profedit/profiledelete.php | 12 ++++++------ 8 files changed, 24 insertions(+), 24 deletions(-) diff --git a/lam/help/help.inc b/lam/help/help.inc index 9158a9f2..982bc851 100644 --- a/lam/help/help.inc +++ b/lam/help/help.inc @@ -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."). "

". - _("You can get your domain SID with this command: "). - "\"net getlocalsid\""), + _("You can get your domain SID with this command:"). + " \"net getlocalsid\""), // 300 - 399 // Roland Gruber // profile editor diff --git a/lam/lib/config.inc b/lam/lib/config.inc index 91c00745..64689b7f 100644 --- a/lam/lib/config.inc +++ b/lam/lib/config.inc @@ -431,7 +431,7 @@ class Config { function printconf() { echo "" . _("Server Address") . ": " . $this->ServerURL . "
"; echo "" . _("Samba 3.x schema") . ": " . $this->samba3 . "
"; - echo "" . _("Domain SID (Samba 3 only)") . ": " . $this->domainSID . "
"; + echo "" . _("Domain SID") . ": " . $this->domainSID . "
"; echo "" . _("UserSuffix") . ": " . $this->Suff_users . "
"; echo "" . _("GroupSuffix") . ": " . $this->Suff_groups . "
"; echo "" . _("HostSuffix") . ": " . $this->Suff_hosts . "
"; diff --git a/lam/lib/ldap.inc b/lam/lib/ldap.inc index fbf78768..23d8e7b0 100644 --- a/lam/lib/ldap.inc +++ b/lam/lib/ldap.inc @@ -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"), diff --git a/lam/lib/profiles.inc b/lam/lib/profiles.inc index 7eac0a64..48482477 100644 --- a/lam/lib/profiles.inc +++ b/lam/lib/profiles.inc @@ -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; } diff --git a/lam/locale/de_DE/LC_MESSAGES/messages.po b/lam/locale/de_DE/LC_MESSAGES/messages.po index 3ee28975..98135f46 100644 --- a/lam/locale/de_DE/LC_MESSAGES/messages.po +++ b/lam/locale/de_DE/LC_MESSAGES/messages.po @@ -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 diff --git a/lam/templates/config/confmain.php b/lam/templates/config/confmain.php index 1b9239b8..c775a1a6 100644 --- a/lam/templates/config/confmain.php +++ b/lam/templates/config/confmain.php @@ -284,7 +284,7 @@ echo ("\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 ("\n"); echo ("" . _("Help") . "\n"); diff --git a/lam/templates/config/confsave.php b/lam/templates/config/confsave.php index f3c4255d..224fa934 100644 --- a/lam/templates/config/confsave.php +++ b/lam/templates/config/confsave.php @@ -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 ("" . _("Host list attributes are invalidUser list attributes are invalid!") . ""); + echo ("" . _("Host list attributes are invalid!") . ""); echo ("\n


" . _("Back to preferences...") . ""); exit; } diff --git a/lam/templates/profedit/profiledelete.php b/lam/templates/profedit/profiledelete.php index 447ea269..0bad6c4b 100644 --- a/lam/templates/profedit/profiledelete.php +++ b/lam/templates/profedit/profiledelete.php @@ -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 ("
" . _("Back to Profile Editor") . ""); echo ("\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 ("" . _("Back to Profile Editor") . ""); }