summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/entity.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/entity.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/entity.js')
-rw-r--r--install/ui/src/freeipa/entity.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/ui/src/freeipa/entity.js b/install/ui/src/freeipa/entity.js
index 6a6a60351..27b56074d 100644
--- a/install/ui/src/freeipa/entity.js
+++ b/install/ui/src/freeipa/entity.js
@@ -210,7 +210,7 @@ IPA.entity_builder = function() {
}
if (facet_group.label == undefined) {
- facet_group.label = IPA.messages.facet_groups[facet_group.name];
+ facet_group.label = text.get('@i18n:facet_groups.'+facet_group.name);
}
entity.add_facet_group(facet_group);
@@ -398,7 +398,7 @@ IPA.entity_builder = function() {
spec.name = spec.name || 'add';
if (!spec.title) {
- var title = IPA.messages.dialogs.add_title;
+ var title = text.get('@i18n:dialogs.add_title');
var label = entity.metadata.label_singular;
spec.title = title.replace('${entity}', label);
}