[Zope-Checkins] CVS: Zope3/lib/python/Zope/I18n - IMessageCatalog.py:1.1.2.4

Jim Fulton jim@zope.com
Sat, 19 Jan 2002 13:06:49 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/I18n
In directory cvs.zope.org:/tmp/cvs-serv12712

Modified Files:
      Tag: Zope-3x-branch
	IMessageCatalog.py 
Log Message:
Removed domain argument. Now there is one view per catalog.

This means that an object that supports translation for multiple
domains will need to supply multiple (virtual) message catalogs.


=== Zope3/lib/python/Zope/I18n/IMessageCatalog.py 1.1.2.3 => 1.1.2.4 ===
     """
 
-    def translateSequence(source_sequence, domain,
+    def translateSequence(source_sequence,
                           context=None,
                           destination_language_tag=None):
         """Translate a source sequence that represents text with interpolation
@@ -35,12 +35,6 @@
         The source sequence is a sequence of text and IVariable
         object. The IVariable objects define interpolation names for
         data to be interpolated during or after translation.
-
-        The domain is used to specify which translation to use.
-        Different products will often use a specific domain naming
-        translations supplied with the product.  A catalog could
-        support multiple domains, for example to support multiple
-        source languages.
 
         Optional arguments: