Commit 58241a68 authored by Aurel's avatar Aurel

remove getTranslatedTitle as it is now generated automatically with accessors


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@5826 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 060f44f7
...@@ -1654,12 +1654,6 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ): ...@@ -1654,12 +1654,6 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ):
security.declareProtected( Permissions.View, 'Title' ) security.declareProtected( Permissions.View, 'Title' )
Title = getTitleOrId Title = getTitleOrId
security.declareProtected(Permissions.View, 'getTranslatedTitle')
def getTranslatedTitle(self):
"""Returns the translated title. """
localizer = getToolByName(self, 'Localizer')
return localizer.erp5_content.gettext(unicode(self.getTitle(), 'utf8')).encode('utf8')
# This method allows to sort objects in list is a more reasonable way # This method allows to sort objects in list is a more reasonable way
security.declareProtected(Permissions.View, 'getIntId') security.declareProtected(Permissions.View, 'getIntId')
def getIntId(self): def getIntId(self):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment