[Zope3-checkins] CVS: Zope3/src/zope/i18n -
gettextmessagecatalog.py:1.9 interfaces.py:1.17
Stephan Richter
srichter at cosmos.phy.tufts.edu
Tue Aug 12 16:11:18 EDT 2003
Update of /cvs-repository/Zope3/src/zope/i18n
In directory cvs.zope.org:/tmp/cvs-serv14981/i18n
Modified Files:
gettextmessagecatalog.py interfaces.py
Log Message:
Fixed tests that were broken by an earlier checkin.
=== Zope3/src/zope/i18n/gettextmessagecatalog.py 1.8 => 1.9 ===
--- Zope3/src/zope/i18n/gettextmessagecatalog.py:1.8 Tue Aug 12 11:55:10 2003
+++ Zope3/src/zope/i18n/gettextmessagecatalog.py Tue Aug 12 15:11:11 2003
@@ -17,7 +17,7 @@
"""
from pythonlib.gettext import GNUTranslations
-from zope.i18n.interfaces import IMessageCatalog
+from zope.i18n.interfaces import IGlobalMessageCatalog
from zope.interface import implements
@@ -29,7 +29,7 @@
class GettextMessageCatalog:
"""A message catalog based on GNU gettext and Python's gettext module."""
- implements(IMessageCatalog)
+ implements(IGlobalMessageCatalog)
def __init__(self, language, domain, path_to_file):
"""Initialize the message catalog"""
=== Zope3/src/zope/i18n/interfaces.py 1.16 => 1.17 ===
--- Zope3/src/zope/i18n/interfaces.py:1.16 Tue Aug 12 11:55:10 2003
+++ Zope3/src/zope/i18n/interfaces.py Tue Aug 12 15:11:11 2003
@@ -85,8 +85,12 @@
Also, there are no restrictions on the form of the identifier.
"""
+
+class IGlobalMessageCatalog(IMessageCatalog):
+
def reload():
"""Reload and parse .po file"""
+
class ITranslationService(Interface):
"""The Translation Service
More information about the Zope3-Checkins
mailing list