[Zope-Checkins] CVS: Zope3/lib/python/Zope/I18n/tests - testIWriteTranslationService.py:1.4 testGettextExportImport.py:NONE testMessageCatalog.py:NONE testTranslationService.py:NONE

Stephan Richter srichter@cbu.edu
Thu, 11 Jul 2002 03:12:47 -0400


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

Modified Files:
	testIWriteTranslationService.py 
Removed Files:
	testGettextExportImport.py testMessageCatalog.py 
	testTranslationService.py 
Log Message:
I moved the OFS-specific parts of the Translation Service to 
Zope.App.OFS.Services, which is the way all the other local/placeful 
service impolementations do it.


=== Zope3/lib/python/Zope/I18n/tests/testIWriteTranslationService.py 1.3 => 1.4 ===
 from Zope.ComponentArchitecture.tests.PlacelessSetup import PlacelessSetup
 from Zope.App.ComponentArchitecture.metaConfigure import \
      provideService, managerHandler
-from Zope.App.ComponentArchitecture.metaConfigure import handler
 
 from Zope.I18n.Negotiator import negotiator
 from Zope.I18n.INegotiator import INegotiator
 from Zope.I18n.IUserPreferredLanguages import IUserPreferredLanguages
 from Zope.I18n.ITranslationService import ITranslationService
 from Zope.I18n.IDomain import IDomain
-from Zope.I18n.MessageCatalog import MessageCatalog 
 
 class Environment:
 
@@ -64,9 +62,6 @@
         # Setup the negotiator service registry entry
         managerHandler('defineService', 'LanguageNegotiation', INegotiator) 
         provideService('LanguageNegotiation', negotiator, 'Zope.Public')
-
-        handler('Factories', 'provideFactory', 'Message Catalog',
-                MessageCatalog)
 
 
     def _getDomains(self, service):

=== Removed File Zope3/lib/python/Zope/I18n/tests/testGettextExportImport.py ===

=== Removed File Zope3/lib/python/Zope/I18n/tests/testMessageCatalog.py ===

=== Removed File Zope3/lib/python/Zope/I18n/tests/testTranslationService.py ===