[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/locales/extract.py Need 'devmode' feature to extract some more message ids

Dmitry Vasiliev dima at hlabs.spb.ru
Fri Dec 9 10:00:32 EST 2005


Log message for revision 40653:
  Need 'devmode' feature to extract some more message ids
  

Changed:
  U   Zope3/trunk/src/zope/app/locales/extract.py

-=-
Modified: Zope3/trunk/src/zope/app/locales/extract.py
===================================================================
--- Zope3/trunk/src/zope/app/locales/extract.py	2005-12-09 14:59:33 UTC (rev 40652)
+++ Zope3/trunk/src/zope/app/locales/extract.py	2005-12-09 15:00:32 UTC (rev 40653)
@@ -381,7 +381,7 @@
     if site_zcml is None:
         site_zcml = os.path.join(dirname(dirname(dirname(zope.__file__))),
                                  "site.zcml")
-    context = config(site_zcml, execute=False)
+    context = config(site_zcml, features=("devmode",), execute=False)
     return context.i18n_strings.get(domain, {})
 
 def tal_strings(dir, domain="zope", include_default_domain=False):



More information about the Zope3-Checkins mailing list