[Zope-Checkins] CVS: Zope3/lib/python/Zope/I18n/Views/Browser - configure.zcml:1.1 browser.zcml:NONE

Steve Alexander steve@cat-box.net
Mon, 17 Jun 2002 15:34:11 -0400


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

Added Files:
	configure.zcml 
Removed Files:
	browser.zcml 
Log Message:
changed foo-meta.zcml in tests to meta.zcml
changed zcml filenames to configure.zcml where feasible, and removed
the file attribute of include directives where I could.


=== Added File Zope3/lib/python/Zope/I18n/Views/Browser/configure.zcml ===
<zopeConfigure
   xmlns='http://namespaces.zope.org/zope'
   xmlns:security='http://namespaces.zope.org/security'
   xmlns:zmi='http://namespaces.zope.org/zmi'
   xmlns:browser='http://namespaces.zope.org/browser'
>

  <browser:defaultView 
     for="Zope.I18n.ITranslationService."
     name="index.html"
     />

  <browser:view 
     permission="Zope.ManageServices" 
     for="Zope.I18n.ITranslationService."
     factory="Zope.I18n.Views.Browser.Translate.">

     <browser:page name="index.html" attribute="index" />
     <browser:page name="translateMessage.html" attribute="translateMessage" />

     <browser:page name="editMessages.html" attribute="editMessages" />
     <browser:page name="editMessage.html" attribute="editMessage" />

     <browser:page name="deleteMessages.html" attribute="deleteMessages" />

     <browser:page name="addLanguage.html" attribute="addLanguage" />
     <browser:page name="addDomain.html" attribute="addDomain" />

     <browser:page name="changeEditLanguages.html" 
                   attribute="changeEditLanguages" />
     <browser:page name="changeEditDomains.html" 
                   attribute="changeEditDomains" />
     <browser:page name="changeFilter.html" 
                   attribute="changeFilter" />

     <browser:page name="deleteLanguages.html" attribute="deleteLanguages" />
     <browser:page name="deleteDomains.html" attribute="deleteDomains" />

  </browser:view>

  <browser:view 
     permission="Zope.ManageServices" 
     for="Zope.I18n.ITranslationService."
     factory="Zope.I18n.Views.Browser.ExportImport.">

     <browser:page name="exportImportForm.html" attribute="exportImportForm" />

     <browser:page name="export.html" attribute="exportMessages" />
     <browser:page name="import.html" attribute="importMessages" />

  </browser:view>

  <browser:view 
     permission="Zope.ManageServices" 
     for="Zope.I18n.ITranslationService."
     factory="Zope.I18n.Views.Browser.Synchronize.">

     <browser:page name="synchronizeForm.html" attribute="synchronizeForm" />
     <browser:page name="synchronize.html" attribute="synchronize" />
     <browser:page name="synchronizeMessages.html" 
                   attribute="synchronizeMessages" />
     <browser:page name="saveSettings.html" attribute="saveSettings" />

  </browser:view>


  <zmi:tabs for="Zope.I18n.ITranslationService.">
    <zmi:tab label="Translate" action="@@index.html"/>
    <zmi:tab label="Import/Export" action="@@exportImportForm.html"/>
    <zmi:tab label="Synchronize" action="@@synchronizeForm.html"/>
  </zmi:tabs>

</zopeConfigure>

=== Removed File Zope3/lib/python/Zope/I18n/Views/Browser/browser.zcml ===