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

Bernd Dorn bernd.dorn at lovelysystems.com
Sun Mar 25 05:03:05 EDT 2007


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

Changed:
  U   Zope3/trunk/src/zope/app/container/browser/adding.py
  U   Zope3/trunk/src/zope/app/container/browser/contents.py
  U   Zope3/trunk/src/zope/app/container/browser/metaconfigure.py
  U   Zope3/trunk/src/zope/app/container/constraints.py
  U   Zope3/trunk/src/zope/app/container/contained.py
  U   Zope3/trunk/src/zope/app/container/dependency.py
  A   Zope3/trunk/src/zope/app/container/i18n.py
  U   Zope3/trunk/src/zope/app/container/size.py

-=-
Modified: Zope3/trunk/src/zope/app/container/browser/adding.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/adding.py	2007-03-25 08:54:20 UTC (rev 73546)
+++ Zope3/trunk/src/zope/app/container/browser/adding.py	2007-03-25 09:03:04 UTC (rev 73547)
@@ -37,7 +37,7 @@
 from zope.app.container.constraints import checkFactory, checkObject
 
 from zope.app import zapi
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.container.i18n import ZopeMessageFactory as _
 from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
 from zope.app.publisher.browser.menu import getMenu
 

Modified: Zope3/trunk/src/zope/app/container/browser/contents.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/contents.py	2007-03-25 08:54:20 UTC (rev 73546)
+++ Zope3/trunk/src/zope/app/container/browser/contents.py	2007-03-25 09:03:04 UTC (rev 73547)
@@ -34,7 +34,7 @@
 
 from zope.app import zapi
 from zope.app.pagetemplate.viewpagetemplatefile import ViewPageTemplateFile
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.container.i18n import ZopeMessageFactory as _
 
 from zope.app.container.browser.adding import Adding
 from zope.app.container.interfaces import IContainer, DuplicateIDError

Modified: Zope3/trunk/src/zope/app/container/browser/metaconfigure.py
===================================================================
--- Zope3/trunk/src/zope/app/container/browser/metaconfigure.py	2007-03-25 08:54:20 UTC (rev 73546)
+++ Zope3/trunk/src/zope/app/container/browser/metaconfigure.py	2007-03-25 09:03:04 UTC (rev 73547)
@@ -27,7 +27,7 @@
 from zope.app.container.browser.contents import Contents
 from zope.app.container.browser.adding import Adding
 from zope.app.component.back35 import LayerField
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.container.i18n import ZopeMessageFactory as _
 
 
 class IContainerViews(Interface):

Modified: Zope3/trunk/src/zope/app/container/constraints.py
===================================================================
--- Zope3/trunk/src/zope/app/container/constraints.py	2007-03-25 08:54:20 UTC (rev 73546)
+++ Zope3/trunk/src/zope/app/container/constraints.py	2007-03-25 09:03:04 UTC (rev 73547)
@@ -158,7 +158,7 @@
 import zope.schema
 from zope.interface import providedBy
 from zope.app.container.interfaces import InvalidItemType, InvalidContainerType
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.container.i18n import ZopeMessageFactory as _
 from zope.app.container.interfaces import IContainer
 
 def checkObject(container, name, object):

Modified: Zope3/trunk/src/zope/app/container/contained.py
===================================================================
--- Zope3/trunk/src/zope/app/container/contained.py	2007-03-25 08:54:20 UTC (rev 73546)
+++ Zope3/trunk/src/zope/app/container/contained.py	2007-03-25 09:03:04 UTC (rev 73547)
@@ -29,7 +29,7 @@
 from zope.security.checker import selectChecker, CombinedChecker
 from zope.lifecycleevent import ObjectModifiedEvent
 
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.container.i18n import ZopeMessageFactory as _
 from zope.app.container.interfaces import IContained
 from zope.app.container.interfaces import INameChooser
 from zope.app.container.interfaces import IObjectAddedEvent

Modified: Zope3/trunk/src/zope/app/container/dependency.py
===================================================================
--- Zope3/trunk/src/zope/app/container/dependency.py	2007-03-25 08:54:20 UTC (rev 73546)
+++ Zope3/trunk/src/zope/app/container/dependency.py	2007-03-25 09:03:04 UTC (rev 73547)
@@ -22,7 +22,7 @@
 
 from zope.app import zapi
 from zope.i18nmessageid import Message
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.container.i18n import ZopeMessageFactory as _
 from zope.app.dependable.interfaces import IDependable, DependencyError
 
 exception_msg = _("""

Added: Zope3/trunk/src/zope/app/container/i18n.py
===================================================================
--- Zope3/trunk/src/zope/app/container/i18n.py	2007-03-25 08:54:20 UTC (rev 73546)
+++ Zope3/trunk/src/zope/app/container/i18n.py	2007-03-25 09:03:04 UTC (rev 73547)
@@ -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/container/i18n.py
___________________________________________________________________
Name: svn:keywords
   + Id
Name: svn:eol-style
   + native

Modified: Zope3/trunk/src/zope/app/container/size.py
===================================================================
--- Zope3/trunk/src/zope/app/container/size.py	2007-03-25 08:54:20 UTC (rev 73546)
+++ Zope3/trunk/src/zope/app/container/size.py	2007-03-25 09:03:04 UTC (rev 73547)
@@ -18,7 +18,7 @@
 """
 __docformat__ = 'restructuredtext'
 
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.container.i18n import ZopeMessageFactory as _
 from zope.size.interfaces import ISized
 from zope.interface import implements
 



More information about the Zope3-Checkins mailing list