välisen ajan.
Kiireellisissä asioissa voitte ottaa yhteyttä .
diff --git a/languages/fo.lang b/languages/fo.lang
index 6be24504..aff791c4 100644
--- a/languages/fo.lang
+++ b/languages/fo.lang
@@ -22,8 +22,7 @@ $PALANG['pLogin_welcome'] = 'Umsitarar kunnu logga inn her fyri at umsita tykkar
$PALANG['pLogin_username'] = 'Login (e-post)';
$PALANG['pLogin_password'] = 'Loyniorð';
$PALANG['pLogin_button'] = 'Logga inn';
-$PALANG['pLogin_username_incorrect'] = 'Títt login er skeivt. Minst til at skriva fulla e-post adressu!';
-$PALANG['pLogin_password_incorrect'] = 'Títt loyniorð er skeivt!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Brúkarar kunnu logga inn her.';
$PALANG['pMenu_main'] = 'Main'; # XXX
@@ -339,7 +338,7 @@ $PALANG['pUsersVacation_welcome'] = 'Sjálvvirkið svar.';
$PALANG['pUsersVacation_welcome_text'] = 'Tú hevur longu eini frítíðarboð uppsett!';
$PALANG['pUsersVacation_subject'] = 'Evni';
$PALANG['pUsersVacation_subject_text'] = 'Out of Office';
-$PALANG['pUsersVacation_body'] = 'Boð';
+$PALANG['pUsersVacation_body'] = 'Boð'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << until .
diff --git a/languages/fr.lang b/languages/fr.lang
index e2650cb8..794f9ca6 100644
--- a/languages/fr.lang
+++ b/languages/fr.lang
@@ -24,8 +24,7 @@ $PALANG['pLogin_welcome'] = 'Entrez votre adresse courriel pour administrer votr
$PALANG['pLogin_username'] = 'Adresse courriel';
$PALANG['pLogin_password'] = 'Mot de passe';
$PALANG['pLogin_button'] = 'Entrer';
-$PALANG['pLogin_username_incorrect'] = 'Votre adresse courriel est invalide. Assurez-vous de saisir correctement l\'adresse courriel.';
-$PALANG['pLogin_password_incorrect'] = 'Votre mot de passe est invalide !';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Utilisateurs, cliquez ici pour rejoindre votre section.';
$PALANG['pMenu_main'] = 'Menu principal';
@@ -341,7 +340,7 @@ $PALANG['pUsersVacation_welcome'] = 'Répondeur Automatique.';
$PALANG['pUsersVacation_welcome_text'] = 'Votre repondeur automatique est déjà configuré!';
$PALANG['pUsersVacation_subject'] = 'Sujet';
$PALANG['pUsersVacation_subject_text'] = 'En dehors du bureau';
-$PALANG['pUsersVacation_body'] = ''; # XXX
+$PALANG['pUsersVacation_body'] = 'Message'; # XXX
$PALANG['pUsersVacation_body_text'] = << jusqu\'au .
Pour toute urgence, merci de contacter .
diff --git a/languages/hr.lang b/languages/hr.lang
index acd287b8..bd97fab6 100644
--- a/languages/hr.lang
+++ b/languages/hr.lang
@@ -21,8 +21,7 @@ $PALANG['pLogin_welcome'] = 'Administratori prijavite se ovdje.';
$PALANG['pLogin_username'] = 'Korisničko ime (adresa e-pote)';
$PALANG['pLogin_password'] = 'Lozinka';
$PALANG['pLogin_button'] = 'Prijavi';
-$PALANG['pLogin_username_incorrect'] = 'Korisnicko ime nije točno. Morate se prijaviti sa adresom vae e-pote!';
-$PALANG['pLogin_password_incorrect'] = 'Lozinka nije točna!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Korisnici kliknite ovdje za prijavu u korisničku sekciju.';
$PALANG['pMenu_main'] = 'Main'; # XXX
@@ -338,7 +337,7 @@ $PALANG['pUsersVacation_welcome'] = 'Ovdje moete promijeniti obvijest o odsutn
$PALANG['pUsersVacation_welcome_text'] = 'Obvijest o odsutnosti je već postavljena!';
$PALANG['pUsersVacation_subject'] = 'Subjekt';
$PALANG['pUsersVacation_subject_text'] = 'Odsutnost';
-$PALANG['pUsersVacation_body'] = 'Tekst';
+$PALANG['pUsersVacation_body'] = 'Tekst'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << do sam odsutan.
Za hitne stvari molim vas da kontaktirate .
diff --git a/languages/hu.lang b/languages/hu.lang
index 343b023b..1ec3bc0f 100644
--- a/languages/hu.lang
+++ b/languages/hu.lang
@@ -23,8 +23,7 @@ $PALANG['pLogin_welcome'] = 'Mail adminisztrátorok itt jelentkezzenek be, hogy
$PALANG['pLogin_username'] = 'Bejelentkezés (email)';
$PALANG['pLogin_password'] = 'Jelszó';
$PALANG['pLogin_button'] = 'Bejelentkezés';
-$PALANG['pLogin_username_incorrect'] = 'A bejelentkezés érvénytelen. Biztos, hogy a saját email címeddel akarsz belépni?!';
-$PALANG['pLogin_password_incorrect'] = 'Nem jó a jelszó!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'A felhasználók kattintsanak ide a felhasználói felülethez.';
$PALANG['pMenu_main'] = 'Főmenü';
@@ -345,7 +344,7 @@ $PALANG['pUsersVacation_welcome'] = 'Automatikus válasz.';
$PALANG['pUsersVacation_welcome_text'] = 'Már van be állítva automatikus válasz !';
$PALANG['pUsersVacation_subject'] = 'Tárgy';
$PALANG['pUsersVacation_subject_text'] = 'Sajnálom, de jelenleg nem vagyok email közelben!';
-$PALANG['pUsersVacation_body'] = 'Üzenet';
+$PALANG['pUsersVacation_body'] = 'Üzenet'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = <<Auðkenni þitt er rangt, ath hvort þú hafir slegið það rangt inn og prófaðu aftur, ath notaðu fullt email til að tengjas!';
-$PALANG['pLogin_password_incorrect'] = 'Lykilorðið var rangt!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Notendur smellið hér til að opna almennt notendaviðmót.';
$PALANG['pMenu_main'] = 'Main'; # XXX
@@ -338,7 +337,7 @@ $PALANG['pUsersVacation_welcome'] = 'sjálfvirk skilaboð.';
$PALANG['pUsersVacation_welcome_text'] = 'Þú hefur nú þegar skilgreint sjálfvirk skilaboð!';
$PALANG['pUsersVacation_subject'] = 'Meginmál - Subject';
$PALANG['pUsersVacation_subject_text'] = 'Er ekki við - Out of Office';
-$PALANG['pUsersVacation_body'] = 'Meginmál';
+$PALANG['pUsersVacation_body'] = 'Meginmál'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << og til . I will be away from until .
Ef mikið liggur við, geturðu haft samaband við . For urgent matters you can contact .
diff --git a/languages/it.lang b/languages/it.lang
index 7b50bcd4..99977d2b 100644
--- a/languages/it.lang
+++ b/languages/it.lang
@@ -23,8 +23,7 @@ $PALANG['pLogin_welcome'] = 'GLi amministratori di posta devono effettuare il lo
$PALANG['pLogin_username'] = 'Nome utente (email)';
$PALANG['pLogin_password'] = 'Password';
$PALANG['pLogin_button'] = 'Entra';
-$PALANG['pLogin_username_incorrect'] = 'Il tuo nome utente non è corretto. Assicurati di avere inserito il tuo indirizzo email corretto!';
-$PALANG['pLogin_password_incorrect'] = 'La tua password non è corretta!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'GLi utenti devono cliccare qui per entrare nella propria sezione.';
$PALANG['pMenu_main'] = 'Principale';
@@ -340,7 +339,7 @@ $PALANG['pUsersVacation_welcome'] = 'Autoresponditore.';
$PALANG['pUsersVacation_welcome_text'] = 'Hai gi$agrave; un autoresponditore configurato';
$PALANG['pUsersVacation_subject'] = 'Soggetto';
$PALANG['pUsersVacation_subject_text'] = 'Assente dall\'ufficio';
-$PALANG['pUsersVacation_body'] = 'Corpo';
+$PALANG['pUsersVacation_body'] = 'Corpo'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << al .
Per problemi urgenti potete contattare .
diff --git a/languages/ja.lang b/languages/ja.lang
index 165623f8..8e08dc75 100644
--- a/languages/ja.lang
+++ b/languages/ja.lang
@@ -24,8 +24,7 @@ $PALANG['pLogin_welcome'] = 'こちらからドメインの管理ができます
$PALANG['pLogin_username'] = 'ログイン (メールアドレス)';
$PALANG['pLogin_password'] = 'パスワード';
$PALANG['pLogin_button'] = 'ログイン';
-$PALANG['pLogin_username_incorrect'] = 'ログインが違います。正しいメールアドレスを入力してください。';
-$PALANG['pLogin_password_incorrect'] = 'パスワードが違います。';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = '一般ユーザのログインはここをクリックしてください。';
$PALANG['pMenu_main'] = 'メイン';
@@ -345,7 +344,7 @@ $PALANG['pUsersVacation_welcome'] = '自動応答';
$PALANG['pUsersVacation_welcome_text'] = '既に自動応答を構成してあります。';
$PALANG['pUsersVacation_subject'] = '件名';
$PALANG['pUsersVacation_subject_text'] = '不在';
-$PALANG['pUsersVacation_body'] = '本文';
+$PALANG['pUsersVacation_body'] = '本文'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << から まで不在です。
緊急事項は まで連絡してください。
diff --git a/languages/language-update.sh b/languages/language-update.sh
index 099cf868..7b48376b 100755
--- a/languages/language-update.sh
+++ b/languages/language-update.sh
@@ -33,7 +33,7 @@ function update_string_list() {
grep -v 'No newline at end of file' "$file.diff" | while read line ; do
greptext="$(echo $line | sed 's/^[+ -]//')"
- grepresult=$(grep "'$greptext'" en.lang) || grepresult="***DEFAULT*** $line"
+ grepresult=$(grep "'$greptext'" en.lang) || grepresult="***DEFAULT - $greptext dropped from en.lang? *** $line"
grepresult2=$(grep "'$greptext'" $file) || grepresult2="$grepresult"
case "$line" in
---*)
@@ -105,6 +105,27 @@ function rename_string() {
} # end rename_string()
+function remove_string() {
+ for file in $filelist ; do
+ line="$(grep "PALANG\['$remove_string'\]" "$file")" || {
+ echo "*** $file does not contain \$PALANG['$remove_string'] ***" >&2
+ continue
+ }
+
+ # create patch
+ echo "
+--- $file.old
++++ $file
+@@ -1,1 +1,0 @@
+-$line
+ " > "$file.patch"
+
+ test $patch = 0 && cat $file.patch
+ test $patch = 1 && patch $file < $file.patch
+ done
+} # end remove_string()
+
+
function addcomment() {
for file in $filelist ; do
test "$file" = "en.lang" && { echo "*** skipping en.lang ***"; continue ; } >&2
@@ -208,6 +229,11 @@ echo '
Rename $PALANG['"'"'old_string'"'"'] to $PALANG['"'"'new_string'"'"']
+'"$0"' --remove string [--patch] [--nocleanup] [foo.lang [bar.lang [...] ] ]
+
+ Remove $PALANG['"'"'string'"'"'] from language files
+
+
'"$0"' --addcomment string comment [--patch] [--nocleanup] [foo.lang [bar.lang [...] ] ]
Add a comment to $PALANG['"'"'string'"'"']
@@ -251,6 +277,7 @@ patch=0 # do not patch by default
forcepatch=0 # no forcepatch by default
nocleanup=0 # don't delete tempfiles
rename=0 # rename a string
+remove=0 # remove a string
stats=0 # create translation statistics
addcomment=0 # add translation comment
text=''
@@ -282,6 +309,11 @@ while [ -n "$1" ] ; do
echo "$rename_new" | grep '^[a-z_-]*\.lang$' && rename_new='' # error out on *.lang - probably a filename
test -z "$rename_new" && { echo '--rename needs two parameters' >&2 ; exit 1 ; }
;;
+ --remove)
+ remove=1
+ shift ; remove_string="$1"
+ test -z "$remove-string" && { echo '--remove needs a parameter' >&2 ; exit 1 ; }
+ ;;
--addcomment)
addcomment=1
shift ; text="$1"
@@ -314,6 +346,7 @@ test "$filelist" = "" && filelist="`ls -1 *.lang`"
test "$addcomment" = 1 && { addcomment ; cleanup ; exit 0 ; }
test "$rename" = 1 && { rename_string ; cleanup ; exit 0 ; }
+test "$remove" = 1 && { remove_string ; cleanup ; exit 0 ; }
test "$forcepatch" = 1 && { forcepatch ; cleanup ; exit 0 ; }
test "$stats" = 1 && { statistics ; exit 0 ; }
diff --git a/languages/lt.lang b/languages/lt.lang
index f8949f8d..0299a747 100644
--- a/languages/lt.lang
+++ b/languages/lt.lang
@@ -21,8 +21,7 @@ $PALANG['pLogin_welcome'] = 'Pašto srities administratorius.';
$PALANG['pLogin_username'] = 'Vartotojas (el.paštas)';
$PALANG['pLogin_password'] = 'Slaptažodis';
$PALANG['pLogin_button'] = 'Prisijungti';
-$PALANG['pLogin_username_incorrect'] = 'Prisijungti nepavyko. Vartotojo lauke įveskite srities pašto administratoriaus el.pašto adresą!';
-$PALANG['pLogin_password_incorrect'] = 'Slaptažodis neteisingas!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Pašto vartotojo nustatymai.';
$PALANG['pMenu_main'] = 'Main'; # XXX
@@ -338,7 +337,7 @@ $PALANG['pUsersVacation_welcome'] = 'Automatinis atsakymas.';
$PALANG['pUsersVacation_welcome_text'] = 'Auto atsakiklis jau nustatytas!';
$PALANG['pUsersVacation_subject'] = 'Tema';
$PALANG['pUsersVacation_subject_text'] = 'Esu išvykęs';
-$PALANG['pUsersVacation_body'] = 'Žinutė';
+$PALANG['pUsersVacation_body'] = 'Žinutė'; # XXX text changed to 'Message'
### XXX (see below)
$PALANG['pUsersVacation_body_text'] = << until .
diff --git a/languages/mk.lang b/languages/mk.lang
index 772c6af4..29d1d27f 100644
--- a/languages/mk.lang
+++ b/languages/mk.lang
@@ -22,8 +22,7 @@ $PALANG['pLogin_welcome'] = 'Логин за администрирање на
$PALANG['pLogin_username'] = 'Корисничко име (email)';
$PALANG['pLogin_password'] = 'Лозинка';
$PALANG['pLogin_button'] = 'Пријава';
-$PALANG['pLogin_username_incorrect'] = 'Погрешно корисничко име. Логирајте се со вашата e-mail адреса!';
-$PALANG['pLogin_password_incorrect'] = 'Погрешна лозинка!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Логин за обични корисници.';
$PALANG['pMenu_main'] = 'Main'; # XXX
@@ -340,7 +339,7 @@ $PALANG['pUsersVacation_welcome'] = 'Автоматски одговор.';
$PALANG['pUsersVacation_welcome_text'] = 'Веќе имате конфигуриран автоматски одговор!';
$PALANG['pUsersVacation_subject'] = 'Тема';
$PALANG['pUsersVacation_subject_text'] = 'Отсутен';
-$PALANG['pUsersVacation_body'] = 'Содржина';
+$PALANG['pUsersVacation_body'] = 'Содржина'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << до .
За итни случаи контактирајте со .
diff --git a/languages/nb.lang b/languages/nb.lang
index e72c1e3f..ea2ecd1f 100644
--- a/languages/nb.lang
+++ b/languages/nb.lang
@@ -24,8 +24,7 @@ $PALANG['pLogin_welcome'] = 'E-postadministratorer kan logge inn her for å admi
$PALANG['pLogin_username'] = 'Brukernavn (e-postadresse)';
$PALANG['pLogin_password'] = 'Passord';
$PALANG['pLogin_button'] = 'Logg inn';
-$PALANG['pLogin_username_incorrect'] = 'Påloggingsinformasjonen er ikke korrekt. Husk å bruke e-postadressen som brukernavn.';
-$PALANG['pLogin_password_incorrect'] = 'Feil passord!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Vanlige brukere kan klikke her for å gå til brukerseksjonen.';
$PALANG['pMenu_main'] = 'Hoved';
@@ -340,7 +339,7 @@ $PALANG['pUsersVacation_welcome'] = 'Automatisk svar.';
$PALANG['pUsersVacation_welcome_text'] = 'Du har allerede et autosvar aktivert!';
$PALANG['pUsersVacation_subject'] = 'Emne';
$PALANG['pUsersVacation_subject_text'] = 'Fraværsmelding';
-$PALANG['pUsersVacation_body'] = 'Meldingstekst';
+$PALANG['pUsersVacation_body'] = 'Meldingstekst'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << til .
Dersom det gjelder noe viktig kan du kontakte .
diff --git a/languages/nl.lang b/languages/nl.lang
index a9495f7c..2ef839ed 100644
--- a/languages/nl.lang
+++ b/languages/nl.lang
@@ -23,8 +23,7 @@ $PALANG['pLogin_welcome'] = 'Mail beheerders log hier in om uw domeinen te beher
$PALANG['pLogin_username'] = 'Login (e-mail)';
$PALANG['pLogin_password'] = 'Wachtwoord';
$PALANG['pLogin_button'] = 'Login';
-$PALANG['pLogin_username_incorrect'] = 'Foutieve login. U dient in te loggen met uw e-mail adres!';
-$PALANG['pLogin_password_incorrect'] = 'Foutief wachtwoord.!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Gebruikers klik hier om in te loggen.';
$PALANG['pMenu_main'] = 'Start';
diff --git a/languages/nn.lang b/languages/nn.lang
index 313399a6..fa598556 100644
--- a/languages/nn.lang
+++ b/languages/nn.lang
@@ -22,8 +22,7 @@ $PALANG['pLogin_welcome'] = 'Postadministrator; Logg inn her for å administrere
$PALANG['pLogin_username'] = 'Brukernavn (e-postadressen)';
$PALANG['pLogin_password'] = 'Passord';
$PALANG['pLogin_button'] = 'Logg inn';
-$PALANG['pLogin_username_incorrect'] = 'Ditt brukernavn er feil. Logg inn med e-postadressen din som brukernavn!';
-$PALANG['pLogin_password_incorrect'] = 'Passordet er feil!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Brukare, trykk her for å gå til bruker-seksjonen.';
$PALANG['pMenu_main'] = 'Main'; # XXX
@@ -336,7 +335,7 @@ $PALANG['pUsersVacation_welcome'] = 'Automatisk Svar.';
$PALANG['pUsersVacation_welcome_text'] = 'Du har allerede autosvar!';
$PALANG['pUsersVacation_subject'] = 'Emne';
$PALANG['pUsersVacation_subject_text'] = 'Ikke tilstede';
-$PALANG['pUsersVacation_body'] = 'Melding';
+$PALANG['pUsersVacation_body'] = 'Melding'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << til .
For viktige henvendelser kan du kontakte .
diff --git a/languages/pl.lang b/languages/pl.lang
index bc966ebf..13272177 100644
--- a/languages/pl.lang
+++ b/languages/pl.lang
@@ -24,8 +24,7 @@ $PALANG['pLogin_welcome'] = 'Sekcja przeznaczona dla administratorów domen.';
$PALANG['pLogin_username'] = 'Login (email)';
$PALANG['pLogin_password'] = 'Hasło';
$PALANG['pLogin_button'] = 'Zaloguj';
-$PALANG['pLogin_username_incorrect'] = 'Twój login jest niepoprawny!';
-$PALANG['pLogin_password_incorrect'] = 'Twoje hasło jest niepoprawne!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Sekcja przeznaczona dla użytkowników.';
$PALANG['pMenu_main'] = 'Strona główna';
@@ -343,7 +342,7 @@ $PALANG['pUsersVacation_welcome'] = 'Auto odpowiedź.';
$PALANG['pUsersVacation_welcome_text'] = 'Masz już skonfigurowaną auto odpowiedź!';
$PALANG['pUsersVacation_subject'] = 'Temat';
$PALANG['pUsersVacation_subject_text'] = 'Poza biurem';
-$PALANG['pUsersVacation_body'] = 'Tekst';
+$PALANG['pUsersVacation_body'] = 'Tekst'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << do .
diff --git a/languages/pt-br.lang b/languages/pt-br.lang
index e163fb6c..7f12458d 100644
--- a/languages/pt-br.lang
+++ b/languages/pt-br.lang
@@ -24,8 +24,7 @@ $PALANG['pLogin_welcome'] = 'Administradores devem se autenticar aqui para geren
$PALANG['pLogin_username'] = 'Usuário (email)';
$PALANG['pLogin_password'] = 'Senha';
$PALANG['pLogin_button'] = 'Entrar';
-$PALANG['pLogin_username_incorrect'] = 'Usuário inválido. Certifique-se de ter digitado o email corretamente!';
-$PALANG['pLogin_password_incorrect'] = 'Senha inválida!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Usuários devem clicar aqui para acessar a seção de usuários.';
$PALANG['pMenu_main'] = 'Menu Principal';
diff --git a/languages/ru.lang b/languages/ru.lang
index 8e1ef641..0c399177 100644
--- a/languages/ru.lang
+++ b/languages/ru.lang
@@ -25,8 +25,7 @@ $PALANG['pLogin_welcome'] = 'Вход для администрирования
$PALANG['pLogin_username'] = 'Имя (название ящика)';
$PALANG['pLogin_password'] = 'Пароль';
$PALANG['pLogin_button'] = 'Войти';
-$PALANG['pLogin_username_incorrect'] = 'Неправильное имя. Проверьте, правильно ли вы ввели имя (название ящика)!';
-$PALANG['pLogin_password_incorrect'] = 'Введен неправильный пароль!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Вход для обычных пользователей.';
$PALANG['pMenu_main'] = 'Главная';
@@ -347,7 +346,7 @@ $PALANG['pUsersVacation_welcome'] = 'Автоответчик.';
$PALANG['pUsersVacation_welcome_text'] = 'У вас уже есть настроенный автоответчик!';
$PALANG['pUsersVacation_subject'] = 'Тема';
$PALANG['pUsersVacation_subject_text'] = 'Вне офиса';
-$PALANG['pUsersVacation_body'] = 'Текст';
+$PALANG['pUsersVacation_body'] = 'Текст'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << по <дату>.
По срочным вопросам вы можете обратиться к <контактному лицу>.
diff --git a/languages/sk.lang b/languages/sk.lang
index 9c5bc7fc..a23a41ea 100644
--- a/languages/sk.lang
+++ b/languages/sk.lang
@@ -22,8 +22,7 @@ $PALANG['pLogin_welcome'] = 'Tu sa prihlasujú emailoví administr&a
$PALANG['pLogin_username'] = 'Užívateľské meno (email)';
$PALANG['pLogin_password'] = 'Heslo';
$PALANG['pLogin_button'] = 'Prihlásiť';
-$PALANG['pLogin_username_incorrect'] = 'Nesprávne; uživateľské meno. Prihlasujte se svojou emailovou adresou!';
-$PALANG['pLogin_password_incorrect'] = 'Nesprávne heslo!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Vstup do užívateľskej sekcie.';
$PALANG['pMenu_main'] = 'Main'; # XXX
@@ -339,7 +338,7 @@ $PALANG['pUsersVacation_welcome'] = 'Automatická odpoveď';
$PALANG['pUsersVacation_welcome_text'] = 'Už máate nastavenú automatickú odpoveď!';
$PALANG['pUsersVacation_subject'] = 'Predmet';
$PALANG['pUsersVacation_subject_text'] = 'Dovolenka';
-$PALANG['pUsersVacation_body'] = 'Obsah';
+$PALANG['pUsersVacation_body'] = 'Obsah'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << od .
S neodkladnými zprávami kontaktujte .
diff --git a/languages/sl.lang b/languages/sl.lang
index c301dbc8..ec9d2578 100644
--- a/languages/sl.lang
+++ b/languages/sl.lang
@@ -22,8 +22,7 @@ $PALANG['pLogin_welcome'] = 'Administratorji se prijavite tukaj.';
$PALANG['pLogin_username'] = 'Uporabniško ime (e-poštni naslov)';
$PALANG['pLogin_password'] = 'Geslo';
$PALANG['pLogin_button'] = 'Prijavi';
-$PALANG['pLogin_username_incorrect'] = 'Uporabniško ime ni pravilno. Prijaviti se morate z vašim e-poštnim naslovom!';
-$PALANG['pLogin_password_incorrect'] = 'Geslo ni pravilno!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Uporabniki kliknite tukaj, če želite nastaviti odsotnost ali spremeniti geslo.';
$PALANG['pMenu_main'] = 'Main'; # XXX
@@ -339,7 +338,7 @@ $PALANG['pUsersVacation_welcome'] = 'Tukaj lahko nastavite obvestilo o odsotnost
$PALANG['pUsersVacation_welcome_text'] = 'Obvestilo o odsotnosti imate že nastavljeno!';
$PALANG['pUsersVacation_subject'] = 'Zadeva';
$PALANG['pUsersVacation_subject_text'] = 'Odsotnost';
-$PALANG['pUsersVacation_body'] = 'Besedilo';
+$PALANG['pUsersVacation_body'] = 'Besedilo'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << do sem odsoten.
Za nujne zadeve prosim kontaktirajte .
diff --git a/languages/sv.lang b/languages/sv.lang
index 4538ec03..108941b7 100644
--- a/languages/sv.lang
+++ b/languages/sv.lang
@@ -24,8 +24,7 @@ $PALANG['pLogin_welcome'] = 'Mail administratörer loggar in här för att sköt
$PALANG['pLogin_username'] = 'Login (epost)';
$PALANG['pLogin_password'] = 'Lösenord';
$PALANG['pLogin_button'] = 'Login';
-$PALANG['pLogin_username_incorrect'] = 'Ditt login är ej korrekt. Logga in med din epostadress!';
-$PALANG['pLogin_password_incorrect'] = 'Du angav fel lösenord!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Användare klickar här för att logga in på användardelen.';
$PALANG['pMenu_main'] = 'Huvudmeny';
@@ -341,7 +340,7 @@ $PALANG['pUsersVacation_welcome'] = 'Autosvar.';
$PALANG['pUsersVacation_welcome_text'] = 'Du har redan ett autosvar meddelande definierat!';
$PALANG['pUsersVacation_subject'] = 'Ärende';
$PALANG['pUsersVacation_subject_text'] = 'Out of Office';
-$PALANG['pUsersVacation_body'] = 'Text';
+$PALANG['pUsersVacation_body'] = 'Text'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << till .
För brådskande ärenden kan ni kontakta .
diff --git a/languages/tr.lang b/languages/tr.lang
index 6b61c8d8..a684c57a 100644
--- a/languages/tr.lang
+++ b/languages/tr.lang
@@ -22,8 +22,7 @@ $PALANG['pLogin_welcome'] = 'Posta Yöneticileri buradan domainlerinizi yönetme
$PALANG['pLogin_username'] = 'Kullanýcý adý (eposta)';
$PALANG['pLogin_password'] = 'Þifre';
$PALANG['pLogin_button'] = 'Giriþ';
-$PALANG['pLogin_username_incorrect'] = 'Kullanýcý adnýnýz doðru deðil. E-posta adresinizi kontrol ediniz.';
-$PALANG['pLogin_password_incorrect'] = 'Þifreniz doðru deðil!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = 'Kullanýcý iþlemlerine girmek için burayý kullanýnýz.';
$PALANG['pMenu_main'] = 'Main'; # XXX
@@ -339,7 +338,7 @@ $PALANG['pUsersVacation_welcome'] = 'Otomatik Cevaplama.';
$PALANG['pUsersVacation_welcome_text'] = 'Zaten bir otomatik cevaplamanýz bulunmakta!';
$PALANG['pUsersVacation_subject'] = 'konu';
$PALANG['pUsersVacation_subject_text'] = 'Ofis dýþýnda';
-$PALANG['pUsersVacation_body'] = 'Metin';
+$PALANG['pUsersVacation_body'] = 'Metin'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << tarihinden den ine burada bulunmayacaðým.
Acil durumlarda lütfen a baþvurunuz.
diff --git a/languages/tw.lang b/languages/tw.lang
index 1107c666..424e1c53 100644
--- a/languages/tw.lang
+++ b/languages/tw.lang
@@ -22,8 +22,7 @@ $PALANG['pLogin_welcome'] = '郵件管理員請從這裡登錄以管理你的網
$PALANG['pLogin_username'] = '帳號 (郵件地址)';
$PALANG['pLogin_password'] = '密碼';
$PALANG['pLogin_button'] = '登錄';
-$PALANG['pLogin_username_incorrect'] = '登錄失敗, 請確認你是使用你的郵件地址登錄!';
-$PALANG['pLogin_password_incorrect'] = '密碼錯誤!';
+$PALANG['pLogin_failed'] = 'Your email address or password are not correct.'; # XXX
$PALANG['pLogin_login_users'] = '普通用戶點擊這裡進入用戶控制面板.';
$PALANG['pMenu_main'] = 'Main'; # XXX
@@ -339,7 +338,7 @@ $PALANG['pUsersVacation_welcome'] = '自動回復.';
$PALANG['pUsersVacation_welcome_text'] = '你已經設置了自動回復!';
$PALANG['pUsersVacation_subject'] = '主題';
$PALANG['pUsersVacation_subject_text'] = '我現在無法回信';
-$PALANG['pUsersVacation_body'] = '內容';
+$PALANG['pUsersVacation_body'] = '內容'; # XXX text changed to 'Message'
$PALANG['pUsersVacation_body_text'] = << 到 這段時間內暫時無法回信.
如果你有急事請與 聯繫.
diff --git a/login.php b/login.php
index 607f7e66..db6eb277 100644
--- a/login.php
+++ b/login.php
@@ -71,14 +71,14 @@ if ($_SERVER['REQUEST_METHOD'] == "POST")
if ($result['rows'] != 1)
{
$error = 1;
- $tMessage = $PALANG['pLogin_failed'];
+ $tMessage = '' . $PALANG['pLogin_failed'] . '';
$tUsername = $fUsername;
}
}
else
{
$error = 1;
- $tMessage = $PALANG['pLogin_failed'];
+ $tMessage = '' . $PALANG['pLogin_failed'] . '';
}
if ($error != 1)