Added a fallback mechanism for Appy translations. Bugfix while reindexing multivalued Strings.
This commit is contained in:
parent
ead9f7c2de
commit
e5cef2b8a4
5 changed files with 36 additions and 11 deletions
|
@ -393,8 +393,7 @@ class ToolMixin(BaseMixin):
|
|||
if not self.translationMapping['portal_path']:
|
||||
self.translationMapping['portal_path'] = \
|
||||
self.portal_url.getPortalPath()
|
||||
appName = self.getProductConfig().PROJECTNAME
|
||||
return self.utranslate(label, self.translationMapping, domain=appName)
|
||||
return self.translate(label, mapping=self.translationMapping)
|
||||
|
||||
def getPublishedObject(self):
|
||||
'''Gets the currently published object, if its meta_class is among
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue