Fix typo in Translation

This commit is contained in:
Cédric Krier
2013-09-17 17:38:45 +02:00
parent c52889a1d2
commit ba42bc2f89
+3 -3
View File
@@ -985,9 +985,9 @@ class TranslationSet(Wizard):
return
cursor = Transaction().cursor
translation = Transaction.__table__()
translation = Translation.__table__()
for report in reports:
cursor.extend(*translation.select(
cursor.execute(*translation.select(
translation.id, translation.name, translation.src,
where=(translation.lang == 'en_US')
& (translation.type == 'odt')
@@ -1095,7 +1095,7 @@ class TranslationSet(Wizard):
if not views:
return
cursor = Transaction().cursor
translation = Translation.__table__
translation = Translation.__table__()
for view in views:
cursor.execute(*translation.select(
translation.id, translation.name, translation.src,