diff options
author | Pavel Vomacka <pvomacka@redhat.com> | 2016-03-30 10:19:39 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2016-06-02 18:38:32 +0200 |
commit | 3b37e29ac6e918027b06e574c2c793f6c521100c (patch) | |
tree | 5bfece037cea29c7a33e00b60d61a809c6dbc13d /ipalib/plugins/internal.py | |
parent | f077fab23fe9dc8a71562d1ba3c0d603d2957d3b (diff) | |
download | freeipa-3b37e29ac6e918027b06e574c2c793f6c521100c.tar.gz freeipa-3b37e29ac6e918027b06e574c2c793f6c521100c.tar.xz freeipa-3b37e29ac6e918027b06e574c2c793f6c521100c.zip |
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 <pvoborni@redhat.com>
Diffstat (limited to 'ipalib/plugins/internal.py')
-rw-r--r-- | ipalib/plugins/internal.py | 3 |
1 files changed, 3 insertions, 0 deletions
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"), |