Add title to 'Remove' dialog for 'association_table' widget of 'Automember' entity

To improve translation quality the title of 'Remove' dialog,
which is initialized within details table of the entity, should be
specified explicitly in the spec and should be an entire sentence.

Fixes: https://pagure.io/freeipa/issue/7704
Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin authored and Serhii Tsymbaliuk committed 2018-09-26 13:56:53 +02:00
1 parent c2e6e010b9
commit 8657b57a04
2 files changed
+14 -2

No files matched your search

+8 -2
View File
@@ -295,7 +295,10 @@ IPA.automember.rule_details_facet = function(spec) {
required: true
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.automember.remove_inc_conditions',
},
}
]
},
@@ -325,7 +328,10 @@ IPA.automember.rule_details_facet = function(spec) {
required: true
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.automember.remove_exc_conditions',
},
}
]
}
+6
View File
@@ -476,6 +476,12 @@ class i18n_messages(Command):
"hostgrouprules": _("Host group rules"),
"inclusive": _("Inclusive"),
"remove": _("Remove auto membership rules"),
"remove_exc_conditions": _(
"Remove exclusive conditions from rule '${primary_key}'"
),
"remove_inc_conditions": _(
"Remove inclusive conditions from rule '${primary_key}'"
),
"usergrouprule": _("User group rule"),
"usergrouprules": _("User group rules"),
},