# HG changeset patch # User Marcin Kuzminski # Date 2016-07-03 22:02:14 # Node ID e7c866ded0993f193ecc22b418b0442aaddf9ad8 # Parent 9f2e29d4d6d6de6773bafccf301eb892260afc9b i18n: added JS extractors to work with the standard extract_messages command. 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),