diff --git a/babel-django.cfg b/babel-django.cfg index d99f447..e7ee76a 100644 --- a/babel-django.cfg +++ b/babel-django.cfg @@ -1,5 +1,6 @@ [extractors] django = django_babel.extract:extract_django -[python: horizon_cisco_ui/**.py] -[django: horizon_cisco_ui/**/templates/**.html] +[python: **.py] +[django: templates/**.html] +[django: **/templates/**.csv] diff --git a/babel-djangojs.cfg b/babel-djangojs.cfg index 4702a7b..a8273b6 100644 --- a/babel-djangojs.cfg +++ b/babel-djangojs.cfg @@ -5,10 +5,10 @@ # details on how this works. angular = horizon.utils.babel_extract_angular:extract_angular -[javascript: horizon_cisco_ui/**.js] +[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: horizon_cisco_ui/**/static/**.html] +[angular: **/static/**.html] diff --git a/setup.cfg b/setup.cfg index dfc070e..22425f4 100644 --- a/setup.cfg +++ b/setup.cfg @@ -35,17 +35,3 @@ source-dir = doc/source [nosetests] verbosity=2 detailed-errors=1 - -[compile_catalog] -domain = horizon-cisco-ui -directory = horizon-cisco-ui/locale - -[update_catalog] -domain = horizon-cisco-ui -output_dir = horizon-cisco-ui/locale -input_file = horizon-cisco-ui/locale/horizon-cisco-ui.pot - -[extract_messages] -keywords = _ gettext ngettext l_ lazy_gettext -mapping_file = babel.cfg -output_file = horizon-cisco-ui/locale/horizon-cisco-ui.pot