[Zope3-checkins] SVN: Zope3/branches/3.2/src/zope/app/locales/extract.py Backported revision 40653 from the trunk:

Dmitry Vasiliev dima at hlabs.spb.ru
Fri Dec 16 14:55:18 EST 2005


Log message for revision 40826:
  Backported revision 40653 from the trunk:
  
  Need 'devmode' feature to extract some more message ids
  

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

-=-
Modified: Zope3/branches/3.2/src/zope/app/locales/extract.py
===================================================================
--- Zope3/branches/3.2/src/zope/app/locales/extract.py	2005-12-16 19:00:44 UTC (rev 40825)
+++ Zope3/branches/3.2/src/zope/app/locales/extract.py	2005-12-16 19:55:18 UTC (rev 40826)
@@ -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