changeset 2874:148240936936

fix #474 python setup.py extract_messages - omits /themes/basic/templates/*.html files
author RogerHaase <haaserd@gmail.com>
date Tue, 06 Jan 2015 13:36:04 -0700
parents 04f6ef180588
children 0e12aca30631
files setup.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/setup.py	Tue Jan 06 13:18:21 2015 -0700
+++ b/setup.py	Tue Jan 06 13:36:04 2015 -0700
@@ -132,9 +132,9 @@
     message_extractors={
         '': [
             ('MoinMoin/templates/**.html', 'jinja2', None),
-            ('MoinMoin/templates/**.js', 'javascript', None),
+            ('MoinMoin/templates/dictionary.js', 'javascript', None),  # all JS translatable strings must be defined here for jQuery i18n plugin
             ('MoinMoin/apps/**/templates/**.html', 'jinja2', None),
-            ('MoinMoin/apps/**/templates/**.js', 'javascript', None),
+            ('MoinMoin/themes/**/templates/**.html', 'jinja2', None),
             ('MoinMoin/**/_tests/**', 'ignore', None),
             ('MoinMoin/static/**', 'ignore', None),
             ('MoinMoin/**.py', 'python', None),