[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/pagetemplate/ remove
zope.app.i18n dep
Bernd Dorn
bernd.dorn at lovelysystems.com
Mon Mar 26 07:54:13 EDT 2007
Log message for revision 73619:
remove zope.app.i18n dep
Changed:
U Zope3/trunk/src/zope/app/pagetemplate/engine.py
A Zope3/trunk/src/zope/app/pagetemplate/i18n.py
-=-
Modified: Zope3/trunk/src/zope/app/pagetemplate/engine.py
===================================================================
--- Zope3/trunk/src/zope/app/pagetemplate/engine.py 2007-03-26 11:18:56 UTC (rev 73618)
+++ Zope3/trunk/src/zope/app/pagetemplate/engine.py 2007-03-26 11:54:13 UTC (rev 73619)
@@ -37,7 +37,7 @@
from zope.tales.pythonexpr import PythonExpr
from zope.tales.tales import ExpressionEngine, Context
-from zope.app.i18n import ZopeMessageFactory as _
+from i18n import ZopeMessageFactory as _
class InlineCodeError(Exception):
pass
Added: Zope3/trunk/src/zope/app/pagetemplate/i18n.py
===================================================================
--- Zope3/trunk/src/zope/app/pagetemplate/i18n.py 2007-03-26 11:18:56 UTC (rev 73618)
+++ Zope3/trunk/src/zope/app/pagetemplate/i18n.py 2007-03-26 11:54:13 UTC (rev 73619)
@@ -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/pagetemplate/i18n.py
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
More information about the Zope3-Checkins
mailing list