summaryrefslogtreecommitdiffstats
path: root/ipalib
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-08-19 10:20:40 -0500
committerEndi S. Dewata <edewata@redhat.com>2011-08-23 16:11:42 +0000
commitfca0f4dd6576f82376a7d98cfc95641c75cd68cb (patch)
tree51aee3c15a7e84219031b2980123569af6d81ff7 /ipalib
parenta797f907ee43bb73fb649f200a27183c44a885a0 (diff)
downloadfreeipa-fca0f4dd6576f82376a7d98cfc95641c75cd68cb.tar.gz
freeipa-fca0f4dd6576f82376a7d98cfc95641c75cd68cb.tar.xz
freeipa-fca0f4dd6576f82376a7d98cfc95641c75cd68cb.zip
Updated add and delete association dialog titles.
The association table widget and facet have been modified to accept titles for the add and delete dialogs. The table and facet definitions have been modified to specify the appropriate titles. Some unused code have been removed. Ticket #1629
Diffstat (limited to 'ipalib')
-rw-r--r--ipalib/plugins/internal.py22
1 files changed, 20 insertions, 2 deletions
diff --git a/ipalib/plugins/internal.py b/ipalib/plugins/internal.py
index 7fae78e24..785dc1680 100644
--- a/ipalib/plugins/internal.py
+++ b/ipalib/plugins/internal.py
@@ -400,12 +400,30 @@ class i18n_messages(Command):
"automount":_("Automount")
},
"association": {
- "add":_("Add ${other_entity} into ${entity} ${primary_key}"),
+ "add": {
+ "ipasudorunas":_("Add RunAs ${other_entity} into ${entity} ${primary_key}"),
+ "ipasudorunasgroup":_("Add RunAs Groups into ${entity} ${primary_key}"),
+ "member":_("Add ${other_entity} into ${entity} ${primary_key}"),
+ "memberallowcmd":_("Add Allow ${other_entity} into ${entity} ${primary_key}"),
+ "memberdenycmd":_("Add Deny ${other_entity} into ${entity} ${primary_key}"),
+ "memberof":_("Add ${entity} ${primary_key} into ${other_entity}"),
+ "managedby":_("Add ${other_entity} Managing ${entity} ${primary_key}"),
+ "sourcehost":_("Add Source ${other_entity} into ${entity} ${primary_key}"),
+ },
"direct_enrollment":_("Direct Enrollment"),
"indirect_enrollment":_("Indirect Enrollment"),
"no_entries":_("No entries."),
"paging":_("Showing ${start} to ${end} of ${total} entries."),
- "remove":_("Remove ${other_entity} from ${entity} ${primary_key}"),
+ "remove": {
+ "ipasudorunas":_("Remove RunAs ${other_entity} from ${entity} ${primary_key}"),
+ "ipasudorunasgroup":_("Remove RunAs Groups from ${entity} ${primary_key}"),
+ "member":_("Remove ${other_entity} from ${entity} ${primary_key}"),
+ "memberallowcmd":_("Remove Allow ${other_entity} from ${entity} ${primary_key}"),
+ "memberdenycmd":_("Remove Deny ${other_entity} from ${entity} ${primary_key}"),
+ "memberof":_("Remove ${entity} ${primary_key} from ${other_entity}"),
+ "managedby":_("Remove ${other_entity} Managing ${entity} ${primary_key}"),
+ "sourcehost":_("Remove Source ${other_entity} from ${entity} ${primary_key}"),
+ },
"show_results":_("Show Results"),
},
"widget": {