From 3b37e29ac6e918027b06e574c2c793f6c521100c Mon Sep 17 00:00:00 2001 From: Pavel Vomacka Date: Wed, 30 Mar 2016 10:19:39 +0200 Subject: Add option to show OTP when adding host Add option to add host dialog which allows to show generated OTP. This patch also changed the way of informing user about success of adding host but only when the 'Generate OTP' option is checked. There is a new dialog with generated OTP. https://fedorahosted.org/freeipa/ticket/4602 Reviewed-By: Petr Vobornik --- ipalib/plugins/internal.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ipalib') diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index c28693a46..175063ba1 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -262,6 +262,7 @@ class i18n_messages(Command): "redirection": _("Redirection"), "remove_empty": _("Select entries to be removed."), "remove_title": _("Remove ${entity}"), + "result": _("Result"), "show_details": _("Show details"), "success": _("Success"), "validation_title": _("Validation error"), @@ -527,6 +528,8 @@ class i18n_messages(Command): "enrolled": _("Enrolled"), "enrollment": _("Enrollment"), "fqdn": _("Fully Qualified Host Name"), + "generate_otp": _("Generate OTP"), + "generated_otp": _("Generated OTP"), "keytab": _("Kerberos Key"), "keytab_missing": _("Kerberos Key Not Present"), "keytab_present": _("Kerberos Key Present, Host Provisioned"), -- cgit