From 58241a68ddef753714fd6f79c46386633d05319d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Calonne?= <aurel@nexedi.com> Date: Thu, 23 Feb 2006 19:54:17 +0000 Subject: [PATCH] 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 --- product/ERP5Type/Base.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/product/ERP5Type/Base.py b/product/ERP5Type/Base.py index 9a8db958a3..e674f117da 100755 --- a/product/ERP5Type/Base.py +++ b/product/ERP5Type/Base.py @@ -1654,12 +1654,6 @@ class Base( CopyContainer, PortalContent, ActiveObject, ERP5PropertyManager ): security.declareProtected( Permissions.View, 'Title' ) 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 security.declareProtected(Permissions.View, 'getIntId') def getIntId(self): -- 2.30.9