summaryrefslogtreecommitdiffstats
path: root/install
diff options
context:
space:
mode:
Diffstat (limited to 'install')
-rw-r--r--install/ui/facet.js2
-rw-r--r--install/ui/test/data/ipa_init.json4
-rw-r--r--install/ui/user.js1
-rw-r--r--install/ui/widget.js1
4 files changed, 5 insertions, 3 deletions
diff --git a/install/ui/facet.js b/install/ui/facet.js
index 3c87dcfc..62950f6c 100644
--- a/install/ui/facet.js
+++ b/install/ui/facet.js
@@ -1795,7 +1795,7 @@ IPA.action_list_widget = function(spec) {
{
type: 'button',
name: 'apply',
- label: "Apply" //TODO: translate
+ label: IPA.messages.actions.apply
}
];
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json
index 01201f69..09d5a545 100644
--- a/install/ui/test/data/ipa_init.json
+++ b/install/ui/test/data/ipa_init.json
@@ -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": {
diff --git a/install/ui/user.js b/install/ui/user.js
index 24d3ba49..04fac6bc 100644
--- a/install/ui/user.js
+++ b/install/ui/user.js
@@ -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: [
diff --git a/install/ui/widget.js b/install/ui/widget.js
index 85bc7132..e7a837f9 100644
--- a/install/ui/widget.js
+++ b/install/ui/widget.js
@@ -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);