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:38 +0200
commit62817a4f7215b37130cd3b29c78581744bb033fd (patch)
treeedcec90c729bb79b965ef18ad7cae81c91393bc3 /install/ui/widget.js
parent56d89d39cef552336deaa8852ae62fd88c270a9b (diff)
downloadfreeipa-62817a4f7215b37130cd3b29c78581744bb033fd.tar.gz
freeipa-62817a4f7215b37130cd3b29c78581744bb033fd.tar.xz
freeipa-62817a4f7215b37130cd3b29c78581744bb033fd.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 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();
}