[Zope3-checkins] CVS: Zope3/src/zope/app/i18n - configure.zcml:1.5

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Mar 2 12:49:13 EST 2004


Update of /cvs-repository/Zope3/src/zope/app/i18n
In directory cvs.zope.org:/tmp/cvs-serv28305/src/zope/app/i18n

Modified Files:
	configure.zcml 
Log Message:


Completed making the language negotiator a utility. Register negotiator as
utility.




=== Zope3/src/zope/app/i18n/configure.zcml 1.4 => 1.5 ===
--- Zope3/src/zope/app/i18n/configure.zcml:1.4	Fri Aug 22 16:02:15 2003
+++ Zope3/src/zope/app/i18n/configure.zcml	Tue Mar  2 12:49:12 2004
@@ -1,15 +1,11 @@
 <configure
    xmlns="http://namespaces.zope.org/zope"
-   xmlns:service="http://namespaces.zope.org/service"
-   xmlns:gts="http://namespaces.zope.org/gts"
    package="zope.i18n"
    >
 
 <!-- Setup language negotiation -->
-<serviceType id="LanguageNegotiation" 
-             interface="zope.i18n.interfaces.INegotiator" />
-
-<service serviceType="LanguageNegotiation" 
+<utility 
+    provides="zope.i18n.interfaces.INegotiator"
     component="zope.i18n.negotiator.negotiator" />
 
 <adapter factory="zope.publisher.browser.BrowserLanguages"




More information about the Zope3-Checkins mailing list