From 42300eb55b1d122f9e946f37e2adc218af913a3d Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Thu, 13 Dec 2012 11:42:06 -0500 Subject: Rename the "messages" Output of the i18n_messages command to "texts" This is to prevent a fatal name clash wih the new common "messages" Output. Since i18n_messages is an internal plugin, the change does not affect our public API. --- install/ui/src/freeipa/ipa.js | 2 +- install/ui/test/data/ipa_init.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'install/ui') diff --git a/install/ui/src/freeipa/ipa.js b/install/ui/src/freeipa/ipa.js index 1619cad55..0d5c0bbdc 100644 --- a/install/ui/src/freeipa/ipa.js +++ b/install/ui/src/freeipa/ipa.js @@ -110,7 +110,7 @@ var IPA = function() { batch.add_command(IPA.command({ method: 'i18n_messages', on_success: function(data, text_status, xhr) { - that.messages = data.messages; + that.messages = data.texts; } })); diff --git a/install/ui/test/data/ipa_init.json b/install/ui/test/data/ipa_init.json index 44484a9aa..c16bc992e 100644 --- a/install/ui/test/data/ipa_init.json +++ b/install/ui/test/data/ipa_init.json @@ -6,7 +6,7 @@ "results": [ { "error": null, - "messages": { + "texts": { "ajax": { "401": { "message": "Your session has expired. Please re-login." -- cgit