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 |