ironic-ui/babel-djangojs.cfg
Andreas Jaeger 9f9298e0bc Fix translation setup
Setup project according to
http://docs.openstack.org/infra/manual/creators.html#django-projects
* Fix paths in babel*cfg
* Remove wrong entries in setup.cfg

Right now the translation scrips do not work the configuration and
extract no translation strings. After this change, strings are properly
extracted.

Change-Id: I2c7dcd6bfea3e86a7507bd20888f944dfd00be03
2016-03-13 08:00:06 +00:00

15 lines
577 B
INI

[extractors]
# We use a custom extractor to find translatable strings in AngularJS
# templates. The extractor is included in horizon.utils for now.
# See http://babel.pocoo.org/docs/messages/#referencing-extraction-methods for
# details on how this works.
angular = horizon.utils.babel_extract_angular:extract_angular
[javascript: **.js]
# We need to look into all static folders for HTML files.
# The **/static ensures that we also search within
# /openstack_dashboard/dashboards/XYZ/static which will ensure
# that plugins are also translated.
[angular: **/static/**.html]