diff --git a/setup.cfg b/setup.cfg --- a/setup.cfg +++ b/setup.cfg @@ -17,7 +17,10 @@ output_file = rhodecode/i18n/rhodecode.p msgid-bugs-address = marcin@rhodecode.com copyright-holder = RhodeCode GmbH no-wrap = true -keywords = lazy_ugettext +keywords = + lazy_ugettext + _ngettext + _gettext [init_catalog] domain = rhodecode diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -204,6 +204,7 @@ setup( message_extractors={ 'rhodecode': [ ('**.py', 'python', None), + ('**.js', 'javascript', None), ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}), ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}), ('public/**', 'ignore', None),