i18n: added JS extractors to work with the standard extract_messages command.
marcink -
r326:e7c866de stable
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -17,7 +17,10
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
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),
Comments 0
You need to be logged in to leave comments. Login now