diff --git a/babel-django.cfg b/babel-django.cfg index e78d6c0..9a8ac3b 100644 --- a/babel-django.cfg +++ b/babel-django.cfg @@ -1,5 +1,2 @@ -[extractors] -django = django_babel.extract:extract_django - [python: **.py] [django: **/templates/**.html] diff --git a/babel-djangojs.cfg b/babel-djangojs.cfg index a8273b6..b92caf6 100644 --- a/babel-djangojs.cfg +++ b/babel-djangojs.cfg @@ -1,14 +1,2 @@ -[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] diff --git a/requirements.txt b/requirements.txt index ed67dab..6e17401 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,10 +8,8 @@ # # PBR should always appear first pbr!=2.1.0,>=2.0.0 # Apache-2.0 -Babel!=2.4.0,>=2.3.4 # BSD Django<2,>=1.11;python_version<'3.0' # BSD -Django<2.1,>=1.11;python_version>='3.0' # BSD -django-babel>=0.6.2 # BSD +Django<3.0,>=1.11;python_version>='3.0' # BSD django-compressor>=2.0 # MIT django-pyscss>=2.0.2 # BSD License (2 clause) python-karborclient>=0.6.0 # Apache-2.0