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

Bernd Dorn bernd.dorn at lovelysystems.com
Mon Mar 26 12:27:10 EDT 2007


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

Changed:
  A   Zope3/trunk/src/zope/app/publisher/i18n.py
  U   Zope3/trunk/src/zope/app/publisher/interfaces/browser.py

-=-
Added: Zope3/trunk/src/zope/app/publisher/i18n.py
===================================================================
--- Zope3/trunk/src/zope/app/publisher/i18n.py	2007-03-26 16:22:07 UTC (rev 73637)
+++ Zope3/trunk/src/zope/app/publisher/i18n.py	2007-03-26 16:27:10 UTC (rev 73638)
@@ -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/publisher/i18n.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Modified: Zope3/trunk/src/zope/app/publisher/interfaces/browser.py
===================================================================
--- Zope3/trunk/src/zope/app/publisher/interfaces/browser.py	2007-03-26 16:22:07 UTC (rev 73637)
+++ Zope3/trunk/src/zope/app/publisher/interfaces/browser.py	2007-03-26 16:27:10 UTC (rev 73638)
@@ -15,7 +15,7 @@
 
 $Id$
 """
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.publisher.i18n import ZopeMessageFactory as _
 from zope.interface import Interface, directlyProvides
 from zope.interface.interfaces import IInterface
 from zope.schema import TextLine, Text, URI, Int



More information about the Zope3-Checkins mailing list