[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/authentication/
remove zope.app.i18n dep
Bernd Dorn
bernd.dorn at lovelysystems.com
Sun Mar 25 05:05:23 EDT 2007
Log message for revision 73548:
remove zope.app.i18n dep
Changed:
U Zope3/trunk/src/zope/app/authentication/browser/register.py
U Zope3/trunk/src/zope/app/authentication/browser/schemasearch.py
U Zope3/trunk/src/zope/app/authentication/groupfolder.py
A Zope3/trunk/src/zope/app/authentication/i18n.py
U Zope3/trunk/src/zope/app/authentication/idpicker.py
U Zope3/trunk/src/zope/app/authentication/interfaces.py
U Zope3/trunk/src/zope/app/authentication/principalfolder.py
U Zope3/trunk/src/zope/app/authentication/vocabulary.py
-=-
Modified: Zope3/trunk/src/zope/app/authentication/browser/register.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/browser/register.py 2007-03-25 09:03:04 UTC (rev 73547)
+++ Zope3/trunk/src/zope/app/authentication/browser/register.py 2007-03-25 09:05:22 UTC (rev 73548)
@@ -16,7 +16,7 @@
$Id$
"""
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.authentication.i18n import ZopeMessageFactory as _
import zope.app.component.browser.registration
import zope.app.security.interfaces
Modified: Zope3/trunk/src/zope/app/authentication/browser/schemasearch.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/browser/schemasearch.py 2007-03-25 09:03:04 UTC (rev 73547)
+++ Zope3/trunk/src/zope/app/authentication/browser/schemasearch.py 2007-03-25 09:05:22 UTC (rev 73548)
@@ -24,7 +24,7 @@
from zope.app.form.utility import setUpWidgets, getWidgetsData
from zope.app.form.interfaces import IInputWidget
from zope.app.form.browser.interfaces import ISourceQueryView
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.authentication.i18n import ZopeMessageFactory as _
search_label = _('search-button', 'Search')
Modified: Zope3/trunk/src/zope/app/authentication/groupfolder.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/groupfolder.py 2007-03-25 09:03:04 UTC (rev 73547)
+++ Zope3/trunk/src/zope/app/authentication/groupfolder.py 2007-03-25 09:05:22 UTC (rev 73548)
@@ -28,7 +28,7 @@
from zope.app.container.btree import BTreeContainer
import zope.app.container.constraints
import zope.app.container.interfaces
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.authentication.i18n import ZopeMessageFactory as _
import zope.app.security.vocabulary
from zope.app.security.interfaces import IAuthenticatedGroup, IEveryoneGroup
from zope.app.authentication import principalfolder, interfaces
Added: Zope3/trunk/src/zope/app/authentication/i18n.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/i18n.py 2007-03-25 09:03:04 UTC (rev 73547)
+++ Zope3/trunk/src/zope/app/authentication/i18n.py 2007-03-25 09:05:22 UTC (rev 73548)
@@ -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/authentication/i18n.py
___________________________________________________________________
Name: svn:keywords
+ Id
Name: svn:eol-style
+ native
Modified: Zope3/trunk/src/zope/app/authentication/idpicker.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/idpicker.py 2007-03-25 09:03:04 UTC (rev 73547)
+++ Zope3/trunk/src/zope/app/authentication/idpicker.py 2007-03-25 09:05:22 UTC (rev 73548)
@@ -20,7 +20,7 @@
import re
from zope.exceptions.interfaces import UserError
from zope.app.container.contained import NameChooser
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.authentication.i18n import ZopeMessageFactory as _
ok = re.compile('[!-~]+$').match
class IdPicker(NameChooser):
Modified: Zope3/trunk/src/zope/app/authentication/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/interfaces.py 2007-03-25 09:03:04 UTC (rev 73547)
+++ Zope3/trunk/src/zope/app/authentication/interfaces.py 2007-03-25 09:05:22 UTC (rev 73548)
@@ -20,7 +20,7 @@
import zope.interface
import zope.schema
import zope.security.interfaces
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.authentication.i18n import ZopeMessageFactory as _
from zope.app.security.interfaces import ILogout
from zope.app.container.constraints import contains, containers
from zope.app.container.interfaces import IContainer
Modified: Zope3/trunk/src/zope/app/authentication/principalfolder.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/principalfolder.py 2007-03-25 09:03:04 UTC (rev 73547)
+++ Zope3/trunk/src/zope/app/authentication/principalfolder.py 2007-03-25 09:05:22 UTC (rev 73548)
@@ -29,7 +29,7 @@
from zope.app.container.contained import Contained
from zope.app.container.constraints import contains, containers
from zope.app.container.btree import BTreeContainer
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.authentication.i18n import ZopeMessageFactory as _
from zope.app.security.interfaces import IAuthentication
from zope.app.authentication import interfaces
Modified: Zope3/trunk/src/zope/app/authentication/vocabulary.py
===================================================================
--- Zope3/trunk/src/zope/app/authentication/vocabulary.py 2007-03-25 09:03:04 UTC (rev 73547)
+++ Zope3/trunk/src/zope/app/authentication/vocabulary.py 2007-03-25 09:05:22 UTC (rev 73548)
@@ -24,7 +24,7 @@
from zope.schema import vocabulary
from zope.schema.interfaces import IVocabularyFactory
-from zope.app.i18n import ZopeMessageFactory as _
+from zope.app.authentication.i18n import ZopeMessageFactory as _
from zope.app.authentication import interfaces
More information about the Zope3-Checkins
mailing list