Fixed error message for invalid Kerberos ticket.

https://fedorahosted.org/freeipa/ticket/490
This commit is contained in:
Endi S. Dewata 2011-02-18 13:34:56 -06:00
parent 6ff8590699
commit 88870b1abe
3 changed files with 9 additions and 8 deletions

View File

@ -4,7 +4,7 @@
"result": { "result": {
"messages": { "messages": {
"ajax": { "ajax": {
"401": "Your kerberos ticket no longer valid.Please run KInit and then click 'retry'If this is your first time running the IPA Web UI<a href='/ipa/errors/ssbrowser.html'> Follow these directions</a> to configure your browser." "401": "Your kerberos ticket is no longer valid. Please run kinit and then click 'retry'. If this is your first time running the IPA Web UI <a href='/ipa/config/unauthorized.html'>follow these directions</a> to configure your browser."
}, },
"association": { "association": {
"add": "Add ${other_entity} into ${entity} ${primary_key}", "add": "Add ${other_entity} into ${entity} ${primary_key}",

View File

@ -9467,7 +9467,7 @@
{ {
"messages": { "messages": {
"ajax": { "ajax": {
"401": "Your kerberos ticket no longer valid.Please run KInit and then click 'retry'If this is your first time running the IPA Web UI<a href='/ipa/errors/ssbrowser.html'> Follow these directions</a> to configure your browser." "401": "Your kerberos ticket is no longer valid. Please run kinit and then click 'retry'. If this is your first time running the IPA Web UI <a href='/ipa/config/unauthorized.html'>follow these directions</a> to configure your browser."
}, },
"association": { "association": {
"add": "Add ${other_entity} into ${entity} ${primary_key}", "add": "Add ${other_entity} into ${entity} ${primary_key}",

View File

@ -1,6 +1,7 @@
# Authors: # Authors:
# Pavel Zuna <pzuna@redhat.com> # Pavel Zuna <pzuna@redhat.com>
# Adam YOung <ayoung@redhat.com> # Adam Young <ayoung@redhat.com>
# Endi S. Dewata <edewata@redhat.com>
# #
# Copyright (c) 2010 Red Hat # Copyright (c) 2010 Red Hat
# See file 'copying' for use and warranty information # See file 'copying' for use and warranty information
@ -373,11 +374,11 @@ class i18n_messages(Command):
"validation_error":_("Text does not match field pattern"), "validation_error":_("Text does not match field pattern"),
}, },
"ajax":{ "ajax":{
"401":_("Your kerberos ticket no longer valid."+ "401":_("Your kerberos ticket is no longer valid. "+
"Please run KInit and then click 'retry'"+ "Please run kinit and then click 'retry'. "+
"If this is your first time running the IPA Web UI"+ "If this is your first time running the IPA Web UI "+
"<a href='/ipa/errors/ssbrowser.html'> "+ "<a href='/ipa/config/unauthorized.html'>"+
"Follow these directions</a> to configure your browser.") "follow these directions</a> to configure your browser.")
}, },
"dirty":_("This page has unsaved changes. Please save or revert."), "dirty":_("This page has unsaved changes. Please save or revert."),
} }