##// END OF EJS Templates
i18n: added JS extractors to work with the standard extract_messages command.
marcink -
r326:e7c866de stable
parent child Browse files
Show More
@@ -17,7 +17,10 b' output_file = rhodecode/i18n/rhodecode.p'
17 msgid-bugs-address = marcin@rhodecode.com
17 msgid-bugs-address = marcin@rhodecode.com
18 copyright-holder = RhodeCode GmbH
18 copyright-holder = RhodeCode GmbH
19 no-wrap = true
19 no-wrap = true
20 keywords = lazy_ugettext
20 keywords =
21 lazy_ugettext
22 _ngettext
23 _gettext
21
24
22 [init_catalog]
25 [init_catalog]
23 domain = rhodecode
26 domain = rhodecode
@@ -204,6 +204,7 b' setup('
204 message_extractors={
204 message_extractors={
205 'rhodecode': [
205 'rhodecode': [
206 ('**.py', 'python', None),
206 ('**.py', 'python', None),
207 ('**.js', 'javascript', None),
207 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
208 ('templates/**.mako', 'mako', {'input_encoding': 'utf-8'}),
208 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
209 ('templates/**.html', 'mako', {'input_encoding': 'utf-8'}),
209 ('public/**', 'ignore', None),
210 ('public/**', 'ignore', None),
General Comments 0
You need to be logged in to leave comments. Login now