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:
		
							parent
							
								
									5fedf90f18
								
							
						
					
					
						commit
						37b8e0fe15
					
				@ -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]
 | 
			
		||||
 | 
			
		||||
@ -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.
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user