Commit 704a49fe authored by Alexandre Boeglin's avatar Alexandre Boeglin

getCompactTranslatedTitle: fix naming consistency: "getTranslatedCompactTitle"...

getCompactTranslatedTitle: fix naming consistency: "getTranslatedCompactTitle" -> "getCompactTranslatedTitle"

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19836 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 42d3e5db
......@@ -2414,7 +2414,7 @@ class Base( CopyContainer,
def getCompactTranslatedTitle(self):
"""
Returns the first non-null value from the following:
- "getTranslatedCompactTitle" type based method
- "getCompactTranslatedTitle" type based method
- "getCompactTitle" type based method
- translated short title
- short title
......@@ -2423,7 +2423,7 @@ class Base( CopyContainer,
- title
- id
"""
method = self._getTypeBasedMethod('getTranslatedCompactTitle')
method = self._getTypeBasedMethod('getCompactTranslatedTitle')
if method is not None:
r = method()
if r: return r
......
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