[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/applicationcontrol/
remove zope.app.i18n dep
Bernd Dorn
bernd.dorn at lovelysystems.com
Sun Mar 25 04:17:25 EDT 2007
Log message for revision 73536:
remove zope.app.i18n dep
Changed:
U Zope3/trunk/src/zope/app/applicationcontrol/browser/runtimeinfo.py
U Zope3/trunk/src/zope/app/applicationcontrol/browser/servercontrol.py
U Zope3/trunk/src/zope/app/applicationcontrol/browser/translationdomaincontrol.py
U Zope3/trunk/src/zope/app/applicationcontrol/browser/zodbcontrol.py
A Zope3/trunk/src/zope/app/applicationcontrol/i18n.py
U Zope3/trunk/src/zope/app/applicationcontrol/runtimeinfo.py
-=-
Modified: Zope3/trunk/src/zope/app/applicationcontrol/browser/runtimeinfo.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/browser/runtimeinfo.py 2007-03-25 08:04:06 UTC (rev 73535)
+++ Zope3/trunk/src/zope/app/applicationcontrol/browser/runtimeinfo.py 2007-03-25 08:17:24 UTC (rev 73536)
@@ -19,7 +19,7 @@
from zope.app.applicationcontrol.interfaces import IRuntimeInfo
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.applicationcontrol.i18n import ZopeMessageFactory as _
class RuntimeInfoView(object):
Modified: Zope3/trunk/src/zope/app/applicationcontrol/browser/servercontrol.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/browser/servercontrol.py 2007-03-25 08:04:06 UTC (rev 73535)
+++ Zope3/trunk/src/zope/app/applicationcontrol/browser/servercontrol.py 2007-03-25 08:17:24 UTC (rev 73536)
@@ -20,7 +20,7 @@
from zope.app import zapi
from zope.app.applicationcontrol.interfaces import IServerControl
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.applicationcontrol.i18n import ZopeMessageFactory as _
class ServerControlView(object):
Modified: Zope3/trunk/src/zope/app/applicationcontrol/browser/translationdomaincontrol.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/browser/translationdomaincontrol.py 2007-03-25 08:04:06 UTC (rev 73535)
+++ Zope3/trunk/src/zope/app/applicationcontrol/browser/translationdomaincontrol.py 2007-03-25 08:17:24 UTC (rev 73536)
@@ -19,7 +19,7 @@
from zope.i18n.interfaces import ITranslationDomain
from zope.app import zapi
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.applicationcontrol.i18n import ZopeMessageFactory as _
class TranslationDomainControlView(object):
Modified: Zope3/trunk/src/zope/app/applicationcontrol/browser/zodbcontrol.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/browser/zodbcontrol.py 2007-03-25 08:04:06 UTC (rev 73535)
+++ Zope3/trunk/src/zope/app/applicationcontrol/browser/zodbcontrol.py 2007-03-25 08:17:24 UTC (rev 73536)
@@ -18,7 +18,7 @@
__docformat__ = 'restructuredtext'
from ZODB.FileStorage.FileStorage import FileStorageError
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.applicationcontrol.i18n import ZopeMessageFactory as _
from zope.size import byteDisplay
from ZODB.interfaces import IDatabase
from zope import component
Added: Zope3/trunk/src/zope/app/applicationcontrol/i18n.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/i18n.py 2007-03-25 08:04:06 UTC (rev 73535)
+++ Zope3/trunk/src/zope/app/applicationcontrol/i18n.py 2007-03-25 08:17:24 UTC (rev 73536)
@@ -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/applicationcontrol/i18n.py
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Modified: Zope3/trunk/src/zope/app/applicationcontrol/runtimeinfo.py
===================================================================
--- Zope3/trunk/src/zope/app/applicationcontrol/runtimeinfo.py 2007-03-25 08:04:06 UTC (rev 73535)
+++ Zope3/trunk/src/zope/app/applicationcontrol/runtimeinfo.py 2007-03-25 08:17:24 UTC (rev 73536)
@@ -31,7 +31,7 @@
from zope.component import getUtility, ComponentLookupError
from zope.interface import implements
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.applicationcontrol.i18n import ZopeMessageFactory as _
from zope.app.applicationcontrol.interfaces import IRuntimeInfo
from zope.app.applicationcontrol.interfaces import IApplicationControl
More information about the Zope3-Checkins
mailing list