Completed login page translation

This commit is contained in:
Pierre 2018-05-10 10:39:10 +02:00
parent 877d9b40f5
commit 28097368e1
4 changed files with 49 additions and 19 deletions

View File

@ -5,6 +5,10 @@
*/ */
ComunicWeb.common.langs.en = { ComunicWeb.common.langs.en = {
/**
* Common
*/
//Really really common messages //Really really common messages
_loading: "Loading...", _loading: "Loading...",
_send: "Send", _send: "Send",
@ -14,15 +18,10 @@ ComunicWeb.common.langs.en = {
"__fatal_error": "Fatal error", "__fatal_error": "Fatal error",
"__fatal_error_explanation": "A fatal error occured : <i>%p</i>. Please try to refresh the page...", "__fatal_error_explanation": "A fatal error occured : <i>%p</i>. Please try to refresh the page...",
//Login form
_login_page_top_msg: "Login to your Comunic account.", /**
_login_page_remember_me: "Remember me", * Components
_login_page_email_placeholder: "Email", */
_login_page_password_placeholder: "Password",
_login_page_submit: "Sign In",
_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 form
_menu_bar_login_btn: "Login", _menu_bar_login_btn: "Login",
@ -54,4 +53,19 @@ ComunicWeb.common.langs.en = {
_err_drag_image_post: "Please do not drag images directly in the message !", _err_drag_image_post: "Please do not drag images directly in the message !",
/**
* Pages
*/
//Login form
_login_page_top_msg: "Login to your Comunic account.",
_login_page_remember_me: "Remember me",
_login_page_email_placeholder: "Email",
_login_page_password_placeholder: "Password",
_login_page_submit: "Sign In",
_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 !",
_login_page_create_account_lnk: "Create an account",
} }

View File

@ -5,6 +5,10 @@
*/ */
ComunicWeb.common.langs.fr = { ComunicWeb.common.langs.fr = {
/**
* Common
*/
//Really really common messages //Really really common messages
_loading: "Chargement...", _loading: "Chargement...",
_send: "Envoyer", _send: "Envoyer",
@ -13,15 +17,10 @@ ComunicWeb.common.langs.fr = {
"__fatal_error": "Erreur fatale", "__fatal_error": "Erreur fatale",
"__fatal_error_explanation": "Une erreur fatale a survenue : <i>%p</i>. Veuillez réessayer de recharger la page...", "__fatal_error_explanation": "Une erreur fatale a survenue : <i>%p</i>. Veuillez réessayer de recharger la page...",
//Login form
_login_page_top_msg: "Connectez-vous à votre compte Comunic.", /**
_login_page_remember_me: "Se souvenir de moi", * Components
_login_page_email_placeholder: "Email", */
_login_page_password_placeholder: "Mot de passe",
_login_page_submit: "Connexion",
_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 form
_menu_bar_login_btn: "Connexion", _menu_bar_login_btn: "Connexion",
@ -52,4 +51,20 @@ ComunicWeb.common.langs.fr = {
_input_survey_answers_hint: "Saisissez vos réponses une par une. Appuyer sur entrée après avoir saisi une réponse pour la confirmer.", _input_survey_answers_hint: "Saisissez vos réponses une par une. Appuyer sur entrée après avoir saisi une réponse pour la confirmer.",
_err_drag_image_post: "Veuillez ne pas glisser d'images dans les messages !", _err_drag_image_post: "Veuillez ne pas glisser d'images dans les messages !",
/**
* Pages
*/
//Login form
_login_page_top_msg: "Connectez-vous à votre compte Comunic.",
_login_page_remember_me: "Se souvenir de moi",
_login_page_email_placeholder: "Email",
_login_page_password_placeholder: "Mot de passe",
_login_page_submit: "Connexion",
_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...",
_login_page_create_account_lnk: "Cr&eacute;er un compte",
} }

View File

@ -39,6 +39,7 @@ ComunicWeb.pages.login = {
"email": lang("_login_page_email_placeholder"), "email": lang("_login_page_email_placeholder"),
"password": lang("_login_page_password_placeholder"), "password": lang("_login_page_password_placeholder"),
"sign_in": lang("_login_page_submit"), "sign_in": lang("_login_page_submit"),
"create_account": lang("_login_page_create_account_lnk")
}; };
//Preparing next actions //Preparing next actions

View File

@ -40,7 +40,7 @@
</form> </form>
<!-- Create an account --> <!-- Create an account -->
<a target="create_account">Create an account</a> <a target="create_account">{create_account}</a>
</div> </div>
<!-- /.login-box-body --> <!-- /.login-box-body -->