[Zope3-checkins] CVS: Zope3/src/zope/app/services/translation - translationservice.py:1.3.4.1
Guido van Rossum
guido@python.org
Wed, 26 Feb 2003 16:44:13 -0500
Update of /cvs-repository/Zope3/src/zope/app/services/translation
In directory cvs.zope.org:/tmp/cvs-serv1550/src/zope/app/services/translation
Modified Files:
Tag: use-config-branch
translationservice.py
Log Message:
Fix a few failing tests, for Tim.
=== Zope3/src/zope/app/services/translation/translationservice.py 1.3 => 1.3.4.1 ===
--- Zope3/src/zope/app/services/translation/translationservice.py:1.3 Mon Dec 30 21:52:05 2002
+++ Zope3/src/zope/app/services/translation/translationservice.py Wed Feb 26 16:43:42 2003
@@ -27,6 +27,8 @@
from zope.app.container.btree import BTreeContainer
from zope.app.interfaces.container import IContainer
+from zope.app.interfaces.services.interfaces import ISimpleService
+
from zope.i18n.negotiator import negotiator
from zope.i18n.domain import Domain
from zope.i18n.interfaces import IMessageCatalog
@@ -40,7 +42,7 @@
class TranslationService(BTreeContainer, SimpleTranslationService):
- __implements__ = ILocalTranslationService
+ __implements__ = ILocalTranslationService, ISimpleService
def __init__(self, default_domain='global'):
super(TranslationService, self).__init__()