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:
Petr Vobornik committed 2012-06-04 10:45:08 +02:00
1 parent 888797ffac
commit 496fbbd919
5 files changed
+7 -3

No files matched your search

+1 -1
View File
@@ -1795,7 +1795,7 @@ IPA.action_list_widget = function(spec) {
{
type: 'button',
name: 'apply',
label: "Apply" //TODO: translate
label: IPA.messages.actions.apply
}
];
+3 -1
View File
@@ -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": {
-1
View File
@@ -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: [
+1
View File
@@ -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);
+2
View File
@@ -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": {