r628 - zope-pts/branches/upstream/current
Fabio Tranchitella
kobold at alioth.debian.org
Fri Feb 9 14:54:16 CET 2007
Author: kobold
Date: 2007-02-09 14:54:16 +0100 (Fri, 09 Feb 2007)
New Revision: 628
Modified:
zope-pts/branches/upstream/current/HISTORY.txt
zope-pts/branches/upstream/current/PlacelessTranslationService.py
zope-pts/branches/upstream/current/version.txt
Log:
[svn-upgrade] Integrating new upstream version, zope-pts (1.3.4)
Modified: zope-pts/branches/upstream/current/HISTORY.txt
===================================================================
--- zope-pts/branches/upstream/current/HISTORY.txt 2007-02-09 13:52:57 UTC (rev 627)
+++ zope-pts/branches/upstream/current/HISTORY.txt 2007-02-09 13:54:16 UTC (rev 628)
@@ -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/branches/upstream/current/PlacelessTranslationService.py
===================================================================
--- zope-pts/branches/upstream/current/PlacelessTranslationService.py 2007-02-09 13:52:57 UTC (rev 627)
+++ zope-pts/branches/upstream/current/PlacelessTranslationService.py 2007-02-09 13:54:16 UTC (rev 628)
@@ -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/branches/upstream/current/version.txt
===================================================================
--- zope-pts/branches/upstream/current/version.txt 2007-02-09 13:52:57 UTC (rev 627)
+++ zope-pts/branches/upstream/current/version.txt 2007-02-09 13:54:16 UTC (rev 628)
@@ -1 +1 @@
-1.3.3
+1.3.4
More information about the pkg-zope-commits
mailing list