diff options
Diffstat (limited to 'install/ui')
-rw-r--r-- | install/ui/test/data/ipa_init.json | 2 | ||||
-rw-r--r-- | install/ui/widget.js | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index 96339a849..292e80df2 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -17054,6 +17054,8 @@ "optional": "Optional field: click to show", "page": "Page", "prev": "Prev", + "undo": "undo", + "undo_all": "undo all", "validation": { "error": "Text does not match field pattern", "integer": "Must be an integer", diff --git a/install/ui/widget.js b/install/ui/widget.js index a26f689d8..b25dc8f7f 100644 --- a/install/ui/widget.js +++ b/install/ui/widget.js @@ -305,7 +305,7 @@ IPA.widget = function(spec) { name: 'undo', style: 'display: none;', 'class': 'ui-state-highlight ui-corner-all undo', - html: 'undo' + html: IPA.messages.widget.undo }).appendTo(container); if(on_undo === undefined) { @@ -600,7 +600,7 @@ IPA.multivalued_text_widget = function(spec) { name: 'undo_all', style: 'display: none;', 'class': 'ui-state-highlight ui-corner-all undo', - html: 'undo all', + html: IPA.messages.widget.undo_all, click: function() { that.reset(); } |