Add title to remove dialog of 'RBAC' entity

To improve translation quality the title of Remove dialog
should be specified explicitly in the spec and should be an
entire sentence.

Fixes: https://pagure.io/freeipa/issue/7699
Reviewed-By: Serhii Tsymbaliuk <stsymbal@redhat.com>
This commit is contained in:
Stanislav Levin authored and Serhii Tsymbaliuk committed 2018-09-18 13:51:51 +02:00
1 parent d5979fb24f
commit 855e138a66
2 files changed
+35 -5

No files matched your search

+20 -5
View File
@@ -298,7 +298,10 @@ return {
widget_name: 'target'
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.acipermission.remove',
},
};};
/**
@@ -369,7 +372,10 @@ return {
name: 'description'
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.aciprivilege.remove',
},
};};
var make_role_spec = function() {
@@ -417,7 +423,10 @@ return {
name: 'description'
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.acirole.remove',
},
};};
var make_selfservice_spec = function() {
@@ -457,7 +466,10 @@ return {
name: 'attrs'
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.aciselfservice.remove',
},
};};
@@ -534,7 +546,10 @@ return {
object_type: 'user'
}
]
}
},
deleter_dialog: {
title: '@i18n:objects.acidelegation.remove',
},
};};
aci.attributes_widget = function(spec) {
+15
View File
@@ -407,6 +407,21 @@ class i18n_messages(Command):
"aci": {
"attribute": _("Attribute"),
},
"acidelegation": {
"remove": _("Remove delegations"),
},
"acipermission": {
"remove": _("Remove permissions"),
},
"aciprivilege": {
"remove": _("Remove privileges"),
},
"acirole": {
"remove": _("Remove roles"),
},
"aciselfservice": {
"remove": _("Remove self service permissions"),
},
"automember": {
"add_condition": _("Add Condition into ${pkey}"),
"add_rule": _("Add Rule"),