[Checkins] SVN: zope.app.locales/trunk/ - Added `configure.zcml` which registers the translations in the

Michael Howitz mh at gocept.com
Mon Dec 28 03:49:45 EST 2009


Log message for revision 107189:
  - Added `configure.zcml` which registers the translations in the
    package. So the package contains its configuration. (Till now it was
    done in `zope.app.zcmlfiles`.)
  
  

Changed:
  U   zope.app.locales/trunk/CHANGES.txt
  A   zope.app.locales/trunk/src/zope/app/locales/configure.zcml

-=-
Modified: zope.app.locales/trunk/CHANGES.txt
===================================================================
--- zope.app.locales/trunk/CHANGES.txt	2009-12-27 21:53:36 UTC (rev 107188)
+++ zope.app.locales/trunk/CHANGES.txt	2009-12-28 08:49:44 UTC (rev 107189)
@@ -5,7 +5,11 @@
 3.5.3 (unreleased)
 ------------------
 
+- Added `configure.zcml` which registers the translations in the
+  package. So the package contains its configuration. (Till now it was
+  done in `zope.app.zcmlfiles`.)
 
+
 3.5.2 (2009-12-22)
 ------------------
 

Added: zope.app.locales/trunk/src/zope/app/locales/configure.zcml
===================================================================
--- zope.app.locales/trunk/src/zope/app/locales/configure.zcml	                        (rev 0)
+++ zope.app.locales/trunk/src/zope/app/locales/configure.zcml	2009-12-28 08:49:44 UTC (rev 107189)
@@ -0,0 +1,7 @@
+<configure
+    xmlns:i18n="http://namespaces.zope.org/i18n"
+    i18n_domain="zope">
+
+  <i18n:registerTranslations directory="." />
+
+</configure>


Property changes on: zope.app.locales/trunk/src/zope/app/locales/configure.zcml
___________________________________________________________________
Added: svn:keywords
   + Id Rev Date
Added: svn:eol-style
   + native



More information about the checkins mailing list