summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorPavel Vomacka <pvomacka@redhat.com>2016-01-25 13:23:20 +0100
committerPetr Vobornik <pvoborni@redhat.com>2016-01-27 14:14:56 +0100
commitd5674b1490939551a0040a4d88ebc6f9437e74d9 (patch)
tree1bf918c97e77f69a6a6aabeb428308a22727415d /ipalib
parent8f6fb7b4eaa74e9478f946a3be862e2d02158f6d (diff)
downloadfreeipa-d5674b1490939551a0040a4d88ebc6f9437e74d9.tar.gz
freeipa-d5674b1490939551a0040a4d88ebc6f9437e74d9.tar.xz
freeipa-d5674b1490939551a0040a4d88ebc6f9437e74d9.zip
Add tool tips for Revert, Refresh, Undo, and Undo All
Add tool tips for buttons in detail view. New tooltips: Reload - Reload current settings from the server. Revert - Undo all unsaved changes. Undo - Undo this change. Undo all - Undo all changes in this field. https://fedorahosted.org/freeipa/ticket/5428 Reviewed-By: Petr Vobornik <pvoborni@redhat.com>
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/internal.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index a75772673..7156d4f47 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -220,12 +220,14 @@ class i18n_messages(Command):
"issue": _("Issue"),
"ok": _("OK"),
"refresh": _("Refresh"),
+ "refresh_title": _("Reload current settings from the server."),
"remove": _("Delete"),
"reset": _("Reset"),
"reset_password_and_login": _("Reset Password and Login"),
"restore": _("Restore"),
"retry": _("Retry"),
"revert": _("Revert"),
+ "revert_title": ("Undo all unsaved changes."),
"revoke": _("Revoke"),
"save": _("Save"),
"set": _("Set"),
@@ -830,7 +832,9 @@ class i18n_messages(Command):
"page": _("Page"),
"prev": _("Prev"),
"undo": _("Undo"),
+ "undo_title": _("Undo this change."),
"undo_all": _("Undo All"),
+ "undo_all_title": _("Undo all changes in this field."),
"validation": {
"error": _("Text does not match field pattern"),
"datetime": _("Must be an UTC date/time value (e.g., \"2014-01-20 17:58:01Z\")"),
@@ -858,5 +862,3 @@ class i18n_messages(Command):
def output_for_cli(self, textui, result, *args, **options):
print(json.dumps(result, default=json_serialize))
-
-