make version portlet title translatable
git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@3970 fd906abe-77d9-0310-91a1-e0d9ade77398
This commit is contained in:
		
							parent
							
								
									644c0bb195
								
							
						
					
					
						commit
						0410c6767a
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -152,7 +152,9 @@ class ResourceView(BaseView): | |||
|             versionable = IVersionable(self.context, None) | ||||
|             if versionable is not None and len(versionable.versions) > 1: | ||||
|                     cont.macros.register('portlet_right', 'versions', | ||||
|                             title=' '. join((_('Version'), versionable.versionId)), | ||||
|                             #title=' '. join((_('Version'), versionable.versionId)), | ||||
|                             title=_(u'Version ${versionId}', | ||||
|                                     mapping=dict(versionId=versionable.versionId)), | ||||
|                             subMacro=version_macros.macros['portlet_versions'], | ||||
|                             priority=25, info=self) | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 helmutm
						helmutm