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