Add missing translation of help attributes for issue739
This commit is contained in:
1 parent
247d2e9253
commit
4d80c08b07
2 files changed
+2
-2
No files matched your search
@@ -181,7 +181,7 @@ class View(OSV):
|
||||
|
||||
def _translate_view(self, element):
|
||||
strings = []
|
||||
for attr in ('string', 'sum', 'confirm'):
|
||||
for attr in ('string', 'sum', 'confirm', 'help'):
|
||||
if element.get(attr):
|
||||
string = element.get(attr)
|
||||
if string:
|
||||
|
||||
+1
-1
@@ -2144,7 +2144,7 @@ class ORM(object):
|
||||
|
||||
# translate view
|
||||
if ('language' in context) and not result:
|
||||
for attr in ('string', 'sum', 'confirm'):
|
||||
for attr in ('string', 'sum', 'confirm', 'help'):
|
||||
if element.get(attr):
|
||||
trans = translation_obj._get_source(cursor,
|
||||
self._name, 'view', context['language'],
|
||||
|
||||
Reference in new issue
Block a user