Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
Zope
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
Zope
Commits
c5c7e979
Commit
c5c7e979
authored
Oct 30, 2005
by
Philipp von Weitershausen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
support Zope 3.1's new immutable i18n Message implementation
parent
542f3144
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
lib/python/TAL/TALInterpreter.py
lib/python/TAL/TALInterpreter.py
+7
-2
No files found.
lib/python/TAL/TALInterpreter.py
View file @
c5c7e979
...
...
@@ -24,7 +24,12 @@ from StringIO import StringIO
from
DocumentTemplate.DT_Util
import
ustr
from
ZODB.POSException
import
ConflictError
from
zope.i18nmessageid
import
MessageID
# BBB 2005/10/10 -- MessageIDs are to be removed for Zope 3.3
import
zope.deprecation
zope
.
deprecation
.
__show__
.
off
()
from
zope.i18nmessageid
import
Message
,
MessageID
zope
.
deprecation
.
__show__
.
on
()
from
TALDefs
import
attrEscape
,
TAL_VERSION
,
METALError
from
TALDefs
import
isCurrentVersion
from
TALDefs
import
getProgramVersion
,
getProgramMode
...
...
@@ -32,7 +37,7 @@ from TALGenerator import TALGenerator
from
TranslationContext
import
TranslationContext
# This will become (MessageID, Message) when we use Zope 3.1 as a base:
I18nMessageTypes
=
MessageID
I18nMessageTypes
=
Message
,
Message
ID
# TODO: In Python 2.4 we can use frozenset() instead of dict.fromkeys()
BOOLEAN_HTML_ATTRS
=
dict
.
fromkeys
([
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment