Fix #2419342: Fix untranslated published/deleted status messages. import _ from p.a.d message factory instead of from the standard Plone message factory.

svn path=/plone.app.discussion/trunk/; revision=35092
This commit is contained in:
Timo Stollenwerk 2010-03-17 12:34:38 +00:00
parent 5fedf90f18
commit 37b8e0fe15
2 changed files with 4 additions and 2 deletions

View File

@ -4,6 +4,9 @@ Changelog
1.0b4 (unreleased)
------------------
* Fix #2419342: Fix untranslated published/deleted status messages.
[timo]
* Remove fixed width of the actions column of the moderation view. The
translated button titles can differ in size from the English titles.
[timo]

View File

@ -6,10 +6,9 @@ from Products.Five.browser.pagetemplatefile import ZopeTwoPageTemplateFile
from Products.CMFCore.utils import getToolByName
from Products.CMFPlone import PloneMessageFactory as _
from Products.statusmessages.interfaces import IStatusMessage
from plone.app.discussion.interfaces import _
from plone.app.discussion.interfaces import IComment
# Begin ugly hack. It works around a ContentProviderLookupError: plone.htmlhead error caused by Zope 2 permissions.