Commit Graph

3 Commits

Author SHA1 Message Date
Akihiro Motoki cb94a0001d translation: drop babel extractor definitions
babel extractors are now registered via python entry points,
so there is no need to declare babel extractors in babel configs.

This change is important to make translation work in Django 2.2.
django-babel does not work with Django 2.2 and looks unmaintained
for over two years. The horizon team is thinking to switch the extractor
to enmerkar (a fork of django-babel) to make extraction of translation
string work again near future. It is important to drop the extractor
definition to make the transition smooth.

Change-Id: Ic6c2f140a0e916e3258267c336eea39fc09a336a
2019-12-27 01:58:34 +09:00
Akihiro Motoki e5eed1e89d Correct django template pattern in babel-django.cfg
Currently strings in Django templates cannot be translated
because the current recommended file pattern "templates/**.html"
does not match Django templates in subdirectories.
This needs to be "**/templates/**.html".

Translation is not enabled for blazar-dashboard but it is worth
fixed to avoid unnecessary problems when translation is enabled.

Change-Id: I74c741679c3f7bec28f053fc9704ff8d5bc5c536
Closes-Bug: #1747453
2018-02-14 01:00:14 +00:00
Hiroaki Kobayashi c4afe8b438 Add Horizon plugin for Blazar
This patch adds a Horizon plugin for Blazar. The following features are
currently supported:

* Show a list of leases
* Show details of a lease
* Update a lease
* Delete lease(s)

Change-Id: I24c14e697d4280fa29d84d11324fb881009f089b
Partially Implements: blueprint climate-dashboard
Co-Authored-By: Pablo Andres Fuente <pablo.a.fuente@intel.com>
2017-08-03 10:23:54 +00:00