r657 - in zope-pts/trunk: . debian

Fabio Tranchitella kobold at alioth.debian.org
Fri Feb 9 15:43:50 CET 2007


Author: kobold
Date: 2007-02-09 15:43:50 +0100 (Fri, 09 Feb 2007)
New Revision: 657

Modified:
   zope-pts/trunk/HISTORY.txt
   zope-pts/trunk/PlacelessTranslationService.py
   zope-pts/trunk/debian/changelog
   zope-pts/trunk/version.txt
Log:
New upstream release.


Modified: zope-pts/trunk/HISTORY.txt
===================================================================
--- zope-pts/trunk/HISTORY.txt	2007-02-09 14:42:24 UTC (rev 656)
+++ zope-pts/trunk/HISTORY.txt	2007-02-09 14:43:50 UTC (rev 657)
@@ -1,3 +1,11 @@
+1.3.4 - Released December 13, 2006
+
+    Changed translate method of PTS to return Unicode by default. This was
+    needed for Plone 2.5 in order to get a sensible behaviour with the
+    FiveTranslationService. This release is probably not compatible with
+    Plone 2.1.
+    [hannosch] 
+
 1.3.3 - Released September 29, 2006
 
     Provided some more nice fallback in the interpolate function for situations

Modified: zope-pts/trunk/PlacelessTranslationService.py
===================================================================
--- zope-pts/trunk/PlacelessTranslationService.py	2007-02-09 14:42:24 UTC (rev 656)
+++ zope-pts/trunk/PlacelessTranslationService.py	2007-02-09 14:43:50 UTC (rev 657)
@@ -1,6 +1,6 @@
 """Placeless Translation Service for providing I18n to file-based code.
 
-$Id: PlacelessTranslationService.py 31165 2006-09-29 00:42:03Z hannosch $
+$Id: PlacelessTranslationService.py 34111 2006-11-25 20:24:58Z hannosch $
 """
 
 import sys, os, re, fnmatch
@@ -146,7 +146,7 @@
     # -3 for alpha, -2 for beta, -1 for release candidate
     # use an internal of > 99 to recreate the PTS at every startup
     # (development mode)
-    _class_version = (1, 3, 3, 0)
+    _class_version = (1, 3, 4, 0)
     all_meta_types = ()
 
     manage_options = Folder.manage_options + (
@@ -516,7 +516,7 @@
 
     security.declareProtected(view, 'translate')
     def translate(self, domain, msgid, mapping=None, context=None,
-                  target_language=None, default=None, as_unicode=False):
+                  target_language=None, default=None, as_unicode=True):
         """
         translate a message using the default encoding
         """

Modified: zope-pts/trunk/debian/changelog
===================================================================
--- zope-pts/trunk/debian/changelog	2007-02-09 14:42:24 UTC (rev 656)
+++ zope-pts/trunk/debian/changelog	2007-02-09 14:43:50 UTC (rev 657)
@@ -1,3 +1,9 @@
+zope-pts (1.3.4-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Fabio Tranchitella <kobold at debian.org>  Fri,  9 Feb 2007 15:43:39 +0100
+
 zope-pts (1.3.3-1) unstable; urgency=low
 
   * New upstream release.

Modified: zope-pts/trunk/version.txt
===================================================================
--- zope-pts/trunk/version.txt	2007-02-09 14:42:24 UTC (rev 656)
+++ zope-pts/trunk/version.txt	2007-02-09 14:43:50 UTC (rev 657)
@@ -1 +1 @@
-1.3.3
+1.3.4




More information about the pkg-zope-commits mailing list