[Zope3-checkins] CVS: Zope3/src/zope/configuration - fields.py:1.4

Jim Fulton jim@zope.com
Thu, 31 Jul 2003 10:56:53 -0400


Update of /cvs-repository/Zope3/src/zope/configuration
In directory cvs.zope.org:/tmp/cvs-serv11018/src/zope/configuration

Modified Files:
	fields.py 
Log Message:
Change the name of the i18n_domain attribute to i18n_domain.


=== Zope3/src/zope/configuration/fields.py 1.3 => 1.4 ===
--- Zope3/src/zope/configuration/fields.py:1.3	Tue Jul 29 13:13:17 2003
+++ Zope3/src/zope/configuration/fields.py	Thu Jul 31 10:56:47 2003
@@ -242,7 +242,7 @@
 
     With the domain specified:
 
-    >>> context.domain = 'testing'
+    >>> context.i18n_domain = 'testing'
 
     We can get a message id:
 
@@ -268,7 +268,7 @@
     __factories = {}
 
     def fromUnicode(self, u):
-        domain = getattr(self.context, 'domain', '')
+        domain = getattr(self.context, 'i18n_domain', '')
         if not domain:
             raise ConfigurationError(
                 "You must specify a an i18n translation domain")