summaryrefslogtreecommitdiffstats
path: root/install/ui/src/freeipa/details.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/details.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/details.js')
-rw-r--r--install/ui/src/freeipa/details.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/install/ui/src/freeipa/details.js b/install/ui/src/freeipa/details.js
index 71e7567cb..336290168 100644
--- a/install/ui/src/freeipa/details.js
+++ b/install/ui/src/freeipa/details.js
@@ -124,7 +124,7 @@ IPA.section_builder = function(spec) {
section_spec.facet = that.container;
if (!section_spec.label && section_spec.name && that.container.entity) {
- var obj_messages = IPA.messages.objects[that.container.entity.name];
+ var obj_messages = text.get('@i18n:objects.'+that.container.entity.name);
section_spec.label = obj_messages[section_spec.name];
}
@@ -470,7 +470,7 @@ IPA.details_facet = function(spec, no_init) {
};
that.nofify_update_success = function() {
- var msg = IPA.messages.details.updated;
+ var msg = text.get('@i18n:details.updated');
var key = that.get_pkey();
msg = msg.replace('${entity}', that.entity.metadata.label_singular);
msg = msg.replace('${primary_key}', key);
@@ -1183,7 +1183,7 @@ IPA.enabled_summary_cond = function() {
return {
pos: ['enabled'],
neg: [],
- description: IPA.messages.status.enabled,
+ description: text.get('@i18n:status.enabled'),
state: ['enabled']
};
};
@@ -1192,7 +1192,7 @@ IPA.disabled_summary_cond = function() {
return {
pos: [],
neg: ['enabled'],
- description: IPA.messages.status.disabled,
+ description: text.get('@i18n:status.disabled'),
state: ['disabled']
};
};