mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
I18n update for dialog box buttons.
https://fedorahosted.org/freeipa/ticket/899
This commit is contained in:
committed by
Adam Young
parent
397da3f781
commit
39a00b496c
@@ -445,14 +445,9 @@ IPA.adder_dialog = function (spec) {
|
||||
};
|
||||
|
||||
that.open = function(container) {
|
||||
that.buttons = {
|
||||
'Enroll': function() {
|
||||
that.execute();
|
||||
},
|
||||
'Cancel': function() {
|
||||
that.close();
|
||||
}
|
||||
};
|
||||
|
||||
that.buttons[IPA.messages.buttons.enroll] = that.execute;
|
||||
that.buttons[IPA.messages.buttons.cancel] = that.close;
|
||||
|
||||
that.dialog_open(container);
|
||||
};
|
||||
@@ -544,10 +539,9 @@ IPA.deleter_dialog = function (spec) {
|
||||
};
|
||||
|
||||
that.open = function(container) {
|
||||
that.buttons = {
|
||||
'Delete': that.execute,
|
||||
'Cancel': that.close
|
||||
};
|
||||
|
||||
that.buttons[IPA.messages.buttons.remove] = that.execute;
|
||||
that.buttons[IPA.messages.buttons.cancel] = that.close;
|
||||
|
||||
that.dialog_open(container);
|
||||
};
|
||||
|
Reference in New Issue
Block a user