[fix] Fix small grammatical error.

This commit is contained in:
Hnk Reno 2014-06-21 12:31:02 +02:00 committed by opi
parent 8f07aeade5
commit 8eba1864a6
4 changed files with 9 additions and 9 deletions

View file

@ -464,7 +464,7 @@ function do_edit ()
end end
return redirect(portal_url.."password.html") return redirect(portal_url.."password.html")
-- Edit user informations -- Edit user information
elseif string.ends(ngx.var.uri, "edit.html") then elseif string.ends(ngx.var.uri, "edit.html") then
if args.givenName and args.sn and args.mail then if args.givenName and args.sn and args.mail then
@ -561,7 +561,7 @@ function do_edit ()
cache:delete(user.."-mail|"..v) cache:delete(user.."-mail|"..v)
end end
set_headers(user) -- Ugly trick to reload cache set_headers(user) -- Ugly trick to reload cache
flash("win", t("informations_updated")) flash("win", t("information_updated"))
return redirect(portal_url.."info.html") return redirect(portal_url.."info.html")
else else
flash("fail", t("user_saving_fail")) flash("fail", t("user_saving_fail"))

View file

@ -1,6 +1,6 @@
{ {
"portal": "YunoHost Portal", "portal": "YunoHost Portal",
"informations": "Deine Informationen", "information": "Deine Informationen",
"username": "Benutzername", "username": "Benutzername",
"password": "Passwort", "password": "Passwort",
"fullname": "Vollständiger Name", "fullname": "Vollständiger Name",
@ -27,7 +27,7 @@
"invalid_domain": "Ungültige Domain in", "invalid_domain": "Ungültige Domain in",
"invalid_mailforward": "Ungültige E-Mail Weiterleitungsadresse", "invalid_mailforward": "Ungültige E-Mail Weiterleitungsadresse",
"mail_already_used": "E-Mail Adresse wird bereits verwendet:", "mail_already_used": "E-Mail Adresse wird bereits verwendet:",
"informations_updated": "Informationen wurden aktualisiert", "information_updated": "Informationen wurden aktualisiert",
"user_saving_fail": "Beim ändern der Benutzerinformationen ist ein Fehler aufgetreten", "user_saving_fail": "Beim ändern der Benutzerinformationen ist ein Fehler aufgetreten",
"missing_required_fields": "Benötigte Felder fehlen", "missing_required_fields": "Benötigte Felder fehlen",
"wrong_username_password": "Falscher Benutzername oder Passwort", "wrong_username_password": "Falscher Benutzername oder Passwort",

View file

@ -1,6 +1,6 @@
{ {
"portal": "YunoHost Portal", "portal": "YunoHost Portal",
"informations": "Your informations", "information": "Your information",
"username": "Username", "username": "Username",
"password": "Password", "password": "Password",
"fullname": "Fullname", "fullname": "Fullname",
@ -27,7 +27,7 @@
"invalid_domain": "Invalid domain in", "invalid_domain": "Invalid domain in",
"invalid_mailforward": "Invalid mail forward address", "invalid_mailforward": "Invalid mail forward address",
"mail_already_used": "Mail address already used:", "mail_already_used": "Mail address already used:",
"informations_updated": "Informations updated", "information_updated": "Information updated",
"user_saving_fail": "An error occurred on user's modification saving", "user_saving_fail": "An error occurred on user's modification saving",
"missing_required_fields": "Required fields are missing", "missing_required_fields": "Required fields are missing",
"wrong_username_password": "Wrong username or password", "wrong_username_password": "Wrong username or password",

View file

@ -1,6 +1,6 @@
{ {
"portal": "Portail YunoHost", "portal": "Portail YunoHost",
"informations": "Vos informations", "information": "Vos informations",
"username": "Nom d'utilisateur", "username": "Nom d'utilisateur",
"password": "Mot de passe", "password": "Mot de passe",
"fullname": "Nom complet", "fullname": "Nom complet",
@ -27,7 +27,7 @@
"invalid_domain": "Nom de domaine invalide dans", "invalid_domain": "Nom de domaine invalide dans",
"invalid_mailforward": "Adresse email de transfert invalide", "invalid_mailforward": "Adresse email de transfert invalide",
"mail_already_used": "Adresse déjà utilisée :", "mail_already_used": "Adresse déjà utilisée :",
"informations_updated": "Informations mises à jour", "information_updated": "Informations mises à jour",
"user_saving_fail": "Une erreur s'est produite lors de la modification des informations", "user_saving_fail": "Une erreur s'est produite lors de la modification des informations",
"missing_required_fields": "Champs requis manquants", "missing_required_fields": "Champs requis manquants",
"wrong_username_password": "Nom d'utilisateur ou mot de passe incorrect", "wrong_username_password": "Nom d'utilisateur ou mot de passe incorrect",