From 62817a4f7215b37130cd3b29c78581744bb033fd Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 30 Sep 2011 11:49:00 -0500 Subject: I18n clean-up. The hard-coded 'undo' and 'undo all' labels have been moved into internal.py to allow translation. Ticket #1897 --- install/ui/widget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui/widget.js') diff --git a/install/ui/widget.js b/install/ui/widget.js index a26f689d..b25dc8f7 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(); } -- cgit