diff options
author | Petr Vobornik <pvoborni@redhat.com> | 2013-04-04 14:13:34 +0200 |
---|---|---|
committer | Petr Vobornik <pvoborni@redhat.com> | 2013-05-06 16:22:22 +0200 |
commit | d5c0945890a4f2d360465ac2201ed2928f64dd23 (patch) | |
tree | f1fb80432266839bf50c08d054cc18d7ce13c2a7 /install/ui/src/freeipa/entitle.js | |
parent | 8ee752c284241bd7ca87de31125716329a110eb5 (diff) | |
download | freeipa-d5c0945890a4f2d360465ac2201ed2928f64dd23.tar.gz freeipa-d5c0945890a4f2d360465ac2201ed2928f64dd23.tar.xz freeipa-d5c0945890a4f2d360465ac2201ed2928f64dd23.zip |
Replace remaining IPA.messages with text.get calls
https://fedorahosted.org/freeipa/ticket/3235
Diffstat (limited to 'install/ui/src/freeipa/entitle.js')
-rw-r--r-- | install/ui/src/freeipa/entitle.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/install/ui/src/freeipa/entitle.js b/install/ui/src/freeipa/entitle.js index 743bc5a0c..6800eed6a 100644 --- a/install/ui/src/freeipa/entitle.js +++ b/install/ui/src/freeipa/entitle.js @@ -351,7 +351,7 @@ IPA.entitle.details_facet = function(spec) { that.refresh = function() { var summary = $('span[name=summary]', that.container).empty(); - summary.append(IPA.messages.objects.entitle.loading); + summary.append(text.get('@i18n:objects.entitle.loading')); function on_success(data, text_status, xhr) { if (that.entity.status == IPA.entitle.unregistered) { @@ -498,7 +498,7 @@ IPA.entitle.certificate_column = function(spec) { $('<a/>', { href: '#download', - html: IPA.messages.objects.entitle.download, + html: text.get('@i18n:objects.entitle.download'), click: function() { var dialog = IPA.cert.download_dialog({ title: '@i18n:objects.entitle.download_certificate', @@ -700,13 +700,13 @@ IPA.entitle.download_widget = function(spec) { that.create = function(container) { that.link = $('<a/>', { 'href': '#download', - 'html': IPA.messages.objects.entitle.download, + 'html': text.get('@i18n:objects.entitle.download'), 'click': function() { that.entity.get_accounts( function(data, text_status, xhr) { var userpkcs12 = data.result.result[0].userpkcs12; if (!userpkcs12) { - alert(IPA.messages.objects.entitle.no_certificate); + alert(text.get('@i18n:objects.entitle.no_certificate')); return; } |