[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/rotterdam/ remove zope.app.i18n dep

Bernd Dorn bernd.dorn at lovelysystems.com
Tue Mar 27 05:18:11 EDT 2007


Log message for revision 73696:
  remove zope.app.i18n dep

Changed:
  A   Zope3/trunk/src/zope/app/rotterdam/i18n.py
  U   Zope3/trunk/src/zope/app/rotterdam/xmlobject.py

-=-
Added: Zope3/trunk/src/zope/app/rotterdam/i18n.py
===================================================================
--- Zope3/trunk/src/zope/app/rotterdam/i18n.py	2007-03-27 09:13:15 UTC (rev 73695)
+++ Zope3/trunk/src/zope/app/rotterdam/i18n.py	2007-03-27 09:18:10 UTC (rev 73696)
@@ -0,0 +1,22 @@
+##############################################################################
+#
+# Copyright (c) 2003 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
+# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
+# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
+# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
+# FOR A PARTICULAR PURPOSE.
+#
+##############################################################################
+"""Customization of zope.i18n for the Zope application server
+
+$Id$
+"""
+__docformat__ = 'restructuredtext'
+
+# import this as _ to create i18n messages in the zope domain
+from zope.i18nmessageid import MessageFactory
+ZopeMessageFactory = MessageFactory('zope')


Property changes on: Zope3/trunk/src/zope/app/rotterdam/i18n.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Modified: Zope3/trunk/src/zope/app/rotterdam/xmlobject.py
===================================================================
--- Zope3/trunk/src/zope/app/rotterdam/xmlobject.py	2007-03-27 09:13:15 UTC (rev 73695)
+++ Zope3/trunk/src/zope/app/rotterdam/xmlobject.py	2007-03-27 09:18:10 UTC (rev 73696)
@@ -27,7 +27,7 @@
 from zope.publisher.browser import BrowserView
 
 from zope.app.container.interfaces import IReadContainer
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.rotterdam.i18n import ZopeMessageFactory as _
 
 titleTemplate = _('Contains $${num} item(s)')
 loadingMsg = _('Loading...')



More information about the Zope3-Checkins mailing list