Changeset 2754 in products
- Timestamp:
- Aug 16, 2010 11:40:15 AM (14 years ago)
- Location:
- quintagroup.plonecomments/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
quintagroup.plonecomments/trunk
- Property svn:mergeinfo changed from /quintagroup.plonecomments/branches/jquery:2230,2240-2241,2313,2321 to /quintagroup.plonecomments/branches/jquery:2230,2240-2241,2313,2321,2753
-
quintagroup.plonecomments/trunk/quintagroup/plonecomments/locales
- Property svn:mergeinfo changed from /quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/locales:2079-2087,2230,2240-2241,2313,2321 to /quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/locales:2079-2087,2230,2240-2241,2313,2321,2753
-
quintagroup.plonecomments/trunk/quintagroup/plonecomments/skins/quintagroup_plonecomments/discussion_edit_form.cpt
- Property svn:mergeinfo changed from /quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/skins/quintagroup_plonecomments/discussion_edit_form.cpt:2079-2087,2230,2240-2241,2313,2321 to /quintagroup.plonecomments/branches/jquery/quintagroup/plonecomments/skins/quintagroup_plonecomments/discussion_edit_form.cpt:2079-2087,2230,2240-2241,2313,2321,2753
-
quintagroup.plonecomments/trunk/quintagroup/plonecomments/utils.py
r1736 r2754 4 4 _ = MessageFactory("quintagroup.plonecomments") 5 5 from Products.CMFCore.utils import getToolByName 6 from Products.CMFPlone.utils import safe_unicode 6 7 from config import warning 7 8 … … 121 122 subject = translate(_(u"approve_user_notification_subject", 122 123 default=u"Your comment on ${title} is now published", 123 mapping={u"title" : getParent(context).Title()}),124 mapping={u"title": safe_unicode(getParent(context).title_or_id())}), 124 125 context=context.REQUEST) 125 126 if user_email: … … 136 137 subject = translate(_(u"rejected_user_notification_subject", 137 138 default=u"Your comment on ${title} was not approved", 138 mapping={u"title" : getParent(context).Title()}),139 mapping={u"title": safe_unicode(getParent(context).title_or_id())}), 139 140 context=context.REQUEST) 140 141 if user_email: … … 152 153 subject = translate(_(u"reply_user_notification_subject", 153 154 default=u"Someone replied to your comment on ${title}", 154 mapping={u"title" : getParent(context).Title()}),155 mapping={u"title": safe_unicode(getParent(context).title_or_id())}), 155 156 context=context.REQUEST) 156 157 di_parrent = getDIParent(reply) … … 217 218 'comment_text':comment.text} 218 219 subject = translate(_(u"report_abuse_subject", 219 default=u"[${organization_name}] A comment on ${title} has been reported for abuse.", 220 mapping={u"organization_name" : organization_name, u"title" : getParent(context).Title()}), 220 default=u"[${organization_name}] A comment on ${title} has " 221 u"been reported for abuse.", 222 mapping={u"organization_name": organization_name, 223 u"title": 224 safe_unicode(getParent(context).title_or_id())}), 221 225 context=context.REQUEST) 222 226 else:
Note: See TracChangeset
for help on using the changeset viewer.