summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/search.js
diff options
context:
space:
mode:
authorPetr Vobornik <pvoborni@redhat.com>2013-04-04 14:13:34 +0200
committerPetr Vobornik <pvoborni@redhat.com>2013-05-06 16:22:22 +0200
commitd5c0945890a4f2d360465ac2201ed2928f64dd23 (patch)
treef1fb80432266839bf50c08d054cc18d7ce13c2a7 /install/ui/src/freeipa/search.js
parent8ee752c284241bd7ca87de31125716329a110eb5 (diff)
downloadfreeipa-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/search.js')
-rw-r--r--install/ui/src/freeipa/search.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/search.js b/install/ui/src/freeipa/search.js
index 7fba2be9c..d71b01273 100644
--- a/install/ui/src/freeipa/search.js
+++ b/install/ui/src/freeipa/search.js
@@ -146,7 +146,7 @@ IPA.search_facet = function(spec, no_init) {
var title;
if (!values.length) {
- title = IPA.messages.dialogs.remove_empty;
+ title = text.get('@i18n:dialogs.remove_empty');
alert(title);
return null;
}
@@ -162,7 +162,7 @@ IPA.search_facet = function(spec, no_init) {
dialog.facet = that;
dialog.pkey_prefix = that.managed_entity_pkey_prefix();
- title = IPA.messages.dialogs.remove_title;
+ title = text.get('@i18n:dialogs.remove_title');
var label = that.managed_entity.metadata.label;
dialog.title = title.replace('${entity}', label);