i18n: added JS extractors to work with the standard extract_messages command.
This commit is contained in:
parent
605b26b460
commit
2fa4556f4a
2 changed files with 5 additions and 1 deletions
|
|
@ -17,7 +17,10 @@ output_file = rhodecode/i18n/rhodecode.pot
|
||||||
msgid-bugs-address = marcin@rhodecode.com
|
msgid-bugs-address = marcin@rhodecode.com
|
||||||
copyright-holder = RhodeCode GmbH
|
copyright-holder = RhodeCode GmbH
|
||||||
no-wrap = true
|
no-wrap = true
|
||||||
keywords = lazy_ugettext
|
keywords =
|
||||||
|
lazy_ugettext
|
||||||
|
_ngettext
|
||||||
|
_gettext
|
||||||
|
|
||||||
[init_catalog]
|
[init_catalog]
|
||||||
domain = rhodecode
|
domain = rhodecode
|
||||||
|
|
|
||||||
1
setup.py
1
setup.py
|
|
@ -204,6 +204,7 @@ setup(
|
||||||
message_extractors={
|
message_extractors={
|
||||||
'rhodecode': [
|
'rhodecode': [
|
||||||
('**.py', 'python', None),
|
('**.py', 'python', None),
|
||||||
|
('**.js', 'javascript', None),
|
||||||
('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
|
('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
|
||||||
('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
|
('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
|
||||||
('public/**', 'ignore', None),
|
('public/**', 'ignore', None),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue