From f492e61f46abb0899d26d03f1599dd9f0f01a6f3 Mon Sep 17 00:00:00 2001 From: Petr Vobornik Date: Thu, 4 Apr 2013 14:18:37 +0200 Subject: Replace IPA.get_message with text.get https://fedorahosted.org/freeipa/ticket/3235 --- install/ui/src/freeipa/ipa.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/install/ui/src/freeipa/ipa.js b/install/ui/src/freeipa/ipa.js index 52650475..891e928e 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 " + "configured" + -- cgit