"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Cheetah/Macros/I18n.py" between
cheetah3-3.1.0.tar.gz and cheetah3-3.2.0.tar.gz

About: Cheetah3 is a template engine and code generation tool for e.g. for Web development or Java, SQL, LaTeX, form email ... (written in Python).

I18n.py  (cheetah3-3.1.0):I18n.py  (cheetah3-3.2.0)
skipping to change at line 51 skipping to change at line 51
http://www.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture /ZPTInternationalizationSupport http://www.zope.org/DevHome/Wikis/DevSite/Projects/ComponentArchitecture /ZPTInternationalizationSupport
Other notes: Other notes:
- There is no need to replicate the i18n:name attribute - There is no need to replicate the i18n:name attribute
from plone/PTL, as cheetah placeholders serve the same purpose. from plone/PTL, as cheetah placeholders serve the same purpose.
""" """
# print macros['i18n'] # print macros['i18n']
src = _(src) src = _(src)
if isShortForm and endPos < len(parser): if isShortForm and endPos < len(parser):
return src+EOLCharsInShortForm return src + EOLCharsInShortForm
else: else:
return src return src
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)