yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #44681
[Bug 1523930] Re: Javascript message catalogs need to be retreived from plugins
Reviewed: https://review.openstack.org/255590
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=b56d278582b5df6da4a260f08656a668e166ab8b
Submitter: Jenkins
Branch: master
commit b56d278582b5df6da4a260f08656a668e166ab8b
Author: Thai Tran <tqtran@xxxxxxxxxx>
Date: Mon Jan 11 13:46:05 2016 -0800
Support javascript translation for plugin
It's not possible for plugins to contribute translations to the javascript
message catalog. Right now our files are hardcoded to allow only
contributions from horizon and openstack_dashboard. This patch fixes
the issue.
Change-Id: Idde2fc6ac0bf7f762a595cf139ed5184dad64540
Closes-Bug: #1523930
** Changed in: horizon
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1523930
Title:
Javascript message catalogs need to be retreived from plugins
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
It's not possible for plugins to contribute translations to the
javascript message catalog. Right now our files are hardcoded to allow
only contributions from horizon and openstack_dashboard applications
openstack_dashboard/templates/horizon/_script_i18n.html
I believe the solution will be to look through all of the applications, possibly filtering by a setting in the enabled file in order to dynamically build and use this page:
horizon/templates/horizon/_script_i18n.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1523930/+subscriptions
References