summaryrefslogtreecommitdiffstats
path: root/install/ui/widget.js
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2011-09-30 11:49:00 -0500
committerMartin Kosek <mkosek@redhat.com>2011-10-03 15:13:53 +0200
commitaf8350c327f0e68775c7d2a50c7d42fd7a5919f0 (patch)
treed2a140fb01b213f8f5241ee67bf22f5ba623f152 /install/ui/widget.js
parent46c16ed6ec14af3b4ee5b76c4353d9cc12d35a11 (diff)
downloadfreeipa-af8350c327f0e68775c7d2a50c7d42fd7a5919f0.tar.gz
freeipa-af8350c327f0e68775c7d2a50c7d42fd7a5919f0.tar.xz
freeipa-af8350c327f0e68775c7d2a50c7d42fd7a5919f0.zip
I18n clean-up.
The hard-coded 'undo' and 'undo all' labels have been moved into internal.py to allow translation. Ticket #1897
Diffstat (limited to 'install/ui/widget.js')
-rw-r--r--install/ui/widget.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/widget.js b/install/ui/widget.js
index be8df4fb9..f46d79e72 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();
}