mirror of
https://github.com/pierre42100/ComunicWeb
synced 2024-11-22 12:09:21 +00:00
Translated menu bar login form
This commit is contained in:
parent
8d2e5dcb35
commit
afd92d4e06
@ -29,7 +29,7 @@ ComunicWeb.components.menuBar.notAuthenticated = {
|
||||
//Add email input
|
||||
var emailInput = createElem("input", emailFormGroup);
|
||||
emailInput.className = "form-control";
|
||||
emailInput.placeholder = "Email address";
|
||||
emailInput.placeholder = lang("_menu_bar_login_email");
|
||||
emailInput.type = "email";
|
||||
emailInput.value = ComunicWeb.components.mailCaching.get();
|
||||
|
||||
@ -40,7 +40,7 @@ ComunicWeb.components.menuBar.notAuthenticated = {
|
||||
//Add password input
|
||||
var passwordInput = createElem("input", passwordFormGroup);
|
||||
passwordInput.className = "form-control";
|
||||
passwordInput.placeholder = "Password";
|
||||
passwordInput.placeholder = lang("_menu_bar_login_passwd");
|
||||
passwordInput.type = "password";
|
||||
|
||||
//Add submit button formGroup
|
||||
@ -50,7 +50,7 @@ ComunicWeb.components.menuBar.notAuthenticated = {
|
||||
//Add submit input
|
||||
var submitInput = createElem("input", submitFromGroup);
|
||||
submitInput.className = "form-control";
|
||||
submitInput.value = "Login";
|
||||
submitInput.value = lang("_menu_bar_login_btn");
|
||||
submitInput.type = "submit";
|
||||
|
||||
//Add submit form behaviour
|
||||
|
@ -18,4 +18,9 @@ ComunicWeb.common.langs.en = {
|
||||
_login_page_error_head: "Login failed",
|
||||
_login_page_error_message: "Please check your usermail and password !",
|
||||
_login_page_bad_input: "Please check what you've typed !",
|
||||
|
||||
//Menu bar - login form
|
||||
_menu_bar_login_btn: "Login",
|
||||
_menu_bar_login_passwd: "Password",
|
||||
_menu_bar_login_email: "Email address",
|
||||
}
|
@ -18,4 +18,9 @@ ComunicWeb.common.langs.fr = {
|
||||
_login_page_error_head: "La connexion a échouée",
|
||||
_login_page_error_message: "Veuillez vérifier votre identifiant et votre mot de passe !",
|
||||
_login_page_bad_input: "Veuillez vérifier votre saisie...",
|
||||
|
||||
//Menu bar - login form
|
||||
_menu_bar_login_btn: "Connexion",
|
||||
_menu_bar_login_passwd: "Mot de passe",
|
||||
_menu_bar_login_email: "Addresse mail",
|
||||
}
|
Loading…
Reference in New Issue
Block a user