Added missing i18n in action list and action panel
This patch adds strings to internal.py which were not translated in action list/panel patches. https://fedorahosted.org/freeipa/ticket/2248
This commit is contained in:
1 parent
888797ffac
commit
496fbbd919
5 files changed
+7
-3
No files matched your search
+1
-1
@@ -1795,7 +1795,7 @@ IPA.action_list_widget = function(spec) {
|
||||
{
|
||||
type: 'button',
|
||||
name: 'apply',
|
||||
label: "Apply" //TODO: translate
|
||||
label: IPA.messages.actions.apply
|
||||
}
|
||||
];
|
||||
|
||||
|
||||
@@ -14,10 +14,12 @@
|
||||
}
|
||||
},
|
||||
"actions": {
|
||||
"apply": "Apply",
|
||||
"confirm": "Are you sure you want to proceed with the action.",
|
||||
"delete_confirm": "Are you sure you want to delete ${object}",
|
||||
"disable_confirm": "Are you sure you want to disable ${object}",
|
||||
"enable_confirm": "Are you sure you want to enable ${object}"
|
||||
"enable_confirm": "Are you sure you want to enable ${object}",
|
||||
"title": "Actions"
|
||||
},
|
||||
"association": {
|
||||
"add": {
|
||||
|
||||
@@ -106,7 +106,6 @@ IPA.user.entity = function(spec) {
|
||||
action_panel: {
|
||||
factory: IPA.action_panel,
|
||||
name: 'account_actions',
|
||||
label: 'Actions', //TODO: translate
|
||||
actions: ['reset_password']
|
||||
},
|
||||
fields: [
|
||||
|
||||
@@ -3162,6 +3162,7 @@ IPA.sshkey_widget = function(spec) {
|
||||
IPA.action_panel = function(spec) {
|
||||
|
||||
spec = spec || {};
|
||||
spec.label = spec.label || IPA.messages.actions.title;
|
||||
|
||||
var that = IPA.widget(spec);
|
||||
|
||||
|
||||
@@ -149,10 +149,12 @@ class i18n_messages(Command):
|
||||
},
|
||||
},
|
||||
"actions": {
|
||||
"apply": _("Apply"),
|
||||
"confirm": _("Are you sure you want to proceed with the action."),
|
||||
"delete_confirm": _("Are you sure you want to delete ${object}"),
|
||||
"disable_confirm": _("Are you sure you want to disable ${object}"),
|
||||
"enable_confirm": _("Are you sure you want to enable ${object}"),
|
||||
"title": _("Actions"),
|
||||
},
|
||||
"association": {
|
||||
"add": {
|
||||
|
||||
Reference in new issue
Block a user