[Zope3-checkins] CVS: Zope3/src/zope/app/i18n - __init__.py:1.3

Jim Fulton jim@zope.com
Tue, 25 Mar 2003 13:47:13 -0500


Update of /cvs-repository/Zope3/src/zope/app/i18n
In directory cvs.zope.org:/tmp/cvs-serv28077

Modified Files:
	__init__.py 
Log Message:
Provide a preconfigured message id factory for import as _.


=== Zope3/src/zope/app/i18n/__init__.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/i18n/__init__.py:1.2	Wed Dec 25 09:12:53 2002
+++ Zope3/src/zope/app/i18n/__init__.py	Tue Mar 25 13:47:13 2003
@@ -1,2 +1,22 @@
+##############################################################################
 #
-# This file is necessary to make this directory a package.
+# Copyright (c) 2003 Zope Corporation and Contributors.
+# All Rights Reserved.
+#
+# This software is subject to the provisions of the Zope Public License,
+# Version 2.0 (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$
+"""
+
+from zope.i18n import MessageIDFactory
+
+# Import _ to use to create message ids in the zope domain
+ZopeMessageIDFactory = MessageIDFactory('zope')