diff options
author | Ana Krivokapic <akrivoka@redhat.com> | 2013-05-15 17:33:21 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-17 12:31:14 +0200 |
commit | 8d07054e1b2ff8680c225e7cd847eb885e7246a4 (patch) | |
tree | c49188aabdeffe3ba493e972a349290ae9ba2d92 /ipalib/plugins/internal.py | |
parent | 5b58348cd316dd817672cb81358ed557c28e09d3 (diff) | |
download | freeipa-8d07054e1b2ff8680c225e7cd847eb885e7246a4.tar.gz freeipa-8d07054e1b2ff8680c225e7cd847eb885e7246a4.tar.xz freeipa-8d07054e1b2ff8680c225e7cd847eb885e7246a4.zip |
Do not display success message on failure in web UI
https://fedorahosted.org/freeipa/ticket/3591
Diffstat (limited to 'ipalib/plugins/internal.py')
-rw-r--r-- | ipalib/plugins/internal.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py index d50ffb543..ca631c1e6 100644 --- a/ipalib/plugins/internal.py +++ b/ipalib/plugins/internal.py @@ -165,7 +165,7 @@ class i18n_messages(Command): "memberdenycmd": _("Add Deny ${other_entity} into ${entity} ${primary_key}"), "memberof": _("Add ${entity} ${primary_key} into ${other_entity}"), }, - "added": _("Items added"), + "added": _("${count} item(s) added"), "direct_membership": _("Direct Membership"), "indirect_membership": _("Indirect Membership"), "no_entries": _("No entries."), @@ -179,7 +179,7 @@ class i18n_messages(Command): "memberdenycmd": _("Remove Deny ${other_entity} from ${entity} ${primary_key}"), "memberof": _("Remove ${entity} ${primary_key} from ${other_entity}"), }, - "removed": _("Items removed"), + "removed": _("${count} item(s) removed"), "show_results": _("Show Results"), }, "buttons": { @@ -601,7 +601,7 @@ class i18n_messages(Command): "host": _("Access this host"), "ipaenabledflag": _("Rule status"), "option_added": _("Option added"), - "option_removed": _("Option(s) removed"), + "option_removed": _("${count} option(s) removed"), "options": _("Options"), "runas": _("As Whom"), "specified_commands": _("Specified Commands and Groups"), @@ -657,11 +657,11 @@ class i18n_messages(Command): }, "search": { "delete_confirm": _("Are you sure you want to delete selected entries?"), - "deleted": _("Selected entries were deleted."), + "deleted": _("${count} item(s) deleted"), "disable_confirm": _("Are you sure you want to disable selected entries?"), - "disabled": _("${count} items were disabled"), + "disabled": _("${count} item(s) disabled"), "enable_confirm": _("Are you sure you want to enable selected entries?"), - "enabled": _("${count} items were enabled"), + "enabled": _("${count} item(s) enabled"), "partial_delete": _("Some entries were not deleted"), "quick_links": _("Quick Links"), "select_all": _("Select All"), |