More log in verbs

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Pavel Vomacka <pvomacka@redhat.com>
This commit is contained in:
Christian Heimes 2017-12-08 10:37:00 +01:00
parent dca9f84961
commit b32a4aef86
2 changed files with 15 additions and 7 deletions

View File

@ -116,7 +116,7 @@ define(['dojo/_base/declare',
this.login_btn_node = IPA.button({
name: 'login',
label: text.get('@i18n:login.login', "Login"),
label: text.get('@i18n:login.login', "Log in"),
'class': 'btn-primary btn-lg',
click: this.on_confirm.bind(this)
})[0];

View File

@ -154,7 +154,7 @@ class i18n_messages(Command):
messages = {
"ajax": {
"401": {
"message": _("Your session has expired. Please re-login."),
"message": _("Your session has expired. Please log in again."),
},
},
"actions": {
@ -340,13 +340,21 @@ class i18n_messages(Command):
"pad": _("PAD"),
},
"login": {
"form_auth": _("<i class=\"fa fa-info-circle\"></i> To login with <strong>username and password</strong>, enter them in the corresponding fields, then click Login."),
"form_auth": _(
"<i class=\"fa fa-info-circle\"></i> To log in with "
"<strong>username and password</strong>, enter them in the "
"corresponding fields, then click 'Log in'."),
"header": _("Logged In As"),
"krb_auth_msg": _("<i class=\"fa fa-info-circle\"></i> To login with <strong>Kerberos</strong>, please make sure you have valid tickets (obtainable via kinit) and <a href='http://${host}/ipa/config/unauthorized.html'>configured</a> the browser correctly, then click Login."),
"krb_auth_msg": _(
"<i class=\"fa fa-info-circle\"></i> To log in with "
"<strong>Kerberos</strong>, please make sure you have valid "
"tickets (obtainable via kinit) and <a href='http://${host}/"
"ipa/config/unauthorized.html'>configured</a> the browser "
"correctly, then click 'Log in'."),
"loading_md": _("Loading data"),
"login": _("Login"),
"logout": _("Logout"),
"logout_error": _("Logout error"),
"login": _("Log in"),
"logout": _("Log out"),
"logout_error": _("Log out error"),
"password": _("Password"),
"sync_otp_token": _("Sync OTP Token"),
"username": _("Username"),