summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-04 14:18:37 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:21 +0200
commitf492e61f46abb0899d26d03f1599dd9f0f01a6f3 (patch)
tree1549219dd6c92f8679f1ed638037262f5de0aa17
parent09296fc0b302d9a105aacad960c295991fa88a1d (diff)
downloadfreeipa-f492e61f46abb0899d26d03f1599dd9f0f01a6f3.tar.gz
freeipa-f492e61f46abb0899d26d03f1599dd9f0f01a6f3.tar.xz
freeipa-f492e61f46abb0899d26d03f1599dd9f0f01a6f3.zip
Replace IPA.get_message with text.get
https://fedorahosted.org/freeipa/ticket/3235
-rw-r--r--install/ui/src/freeipa/ipa.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/install/ui/src/freeipa/ipa.js b/install/ui/src/freeipa/ipa.js
index 526504755..891e928e6 100644
--- a/install/ui/src/freeipa/ipa.js
+++ b/install/ui/src/freeipa/ipa.js
@@ -1651,13 +1651,13 @@ IPA.unauthorized_dialog = function(spec) {
that.title = spec.title || IPA.get_message('login.login', "Login");
- that.message = spec.message || IPA.get_message('ajax.401.message',
+ that.message = text.get(spec.message || '@i18n:ajax.401.message',
"Your session has expired. Please re-login.");
- that.form_auth_msg = spec.form_auth_msg || IPA.get_message('login.form_auth',
+ that.form_auth_msg = text.get(spec.form_auth_msg || '@i18n:login.form_auth',
"To login with username and password, enter them in the fields below then click Login.");
- that.krb_auth_msg = spec.krb_auth_msg || IPA.get_message('login.krb_auth_msg',
+ that.krb_auth_msg = text.get(spec.krb_auth_msg || '@i18n:login.krb_auth_msg',
" To login with Kerberos, please make sure you" +
" have valid tickets (obtainable via kinit) and " +
"<a href='http://${host}/ipa/config/unauthorized.html'>configured</a>" +