[Zope-Checkins] CVS: Packages/Zope/Startup - handlers.py:1.6.2.10 zopeschema.xml:1.7.2.15

Christian 'Tiran' Heimes heimes at faho.rwth-aachen.de
Mon Jul 26 13:38:38 EDT 2004


Update of /cvs-repository/Packages/Zope/Startup
In directory cvs.zope.org:/tmp/cvs-serv18892/lib/python/Zope/Startup

Modified Files:
      Tag: Zope-2_7-branch
	handlers.py zopeschema.xml 
Log Message:
Updated docutils including a fix for 1426:  System locale breaks reStructuredText horribly
Added rest-language-code to zope.conf schema. it's used instead of the locales


=== Packages/Zope/Startup/handlers.py 1.6.2.9 => 1.6.2.10 ===
--- Packages/Zope/Startup/handlers.py:1.6.2.9	Thu May 13 12:19:49 2004
+++ Packages/Zope/Startup/handlers.py	Mon Jul 26 13:38:08 2004
@@ -93,6 +93,10 @@
     value and _setenv('REST_DEFAULT_LEVEL' , value)
     return value
 
+def rest_language_code(value):
+    value and _setenv('REST_LANGUAGE_CODE' , value)
+    return value
+
 def publisher_profile_file(value):
     value is not None and _setenv('PROFILE_PUBLISHER', value)
     from ZPublisher.Publish import install_profiling


=== Packages/Zope/Startup/zopeschema.xml 1.7.2.14 => 1.7.2.15 ===
--- Packages/Zope/Startup/zopeschema.xml:1.7.2.14	Sat May 22 23:51:57 2004
+++ Packages/Zope/Startup/zopeschema.xml	Mon Jul 26 13:38:08 2004
@@ -478,6 +478,15 @@
     <metadefault>3</metadefault>
   </key>
 
+  <key name="rest-language-code" handler="rest_language_code" default="en">
+    <description>
+     Language code used for some internal translations inside of the docutils
+     package and for DTD bibliographic elements mapping. See
+     lib/python/docutils/languages/ for a list of supported language codes.
+    </description>
+    <metadefault>en</metadefault>
+  </key>
+
   <key name="publisher-profile-file" handler="publisher_profile_file">
     <description>
      Causing this directive to point to a file on the filesystem will



More information about the Zope-Checkins mailing list