Add python 3 support
This commit is contained in:
parent
e463831151
commit
b4c0a50b97
|
@ -5,10 +5,10 @@ from trytond.model import fields
|
|||
from trytond.pool import PoolMeta
|
||||
|
||||
__all__ = ['Configuration']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
class Configuration:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'translate.configuration'
|
||||
apertium_unknown_words = fields.Boolean('Unknown Words',
|
||||
help='Dissable Apertium unknown words')
|
||||
|
|
|
@ -5,7 +5,6 @@ import subprocess
|
|||
from trytond.pool import Pool, PoolMeta
|
||||
|
||||
__all__ = ['TranslateWizardStart', 'TranslateWizardTranslation']
|
||||
__metaclass__ = PoolMeta
|
||||
|
||||
|
||||
def apertium_output(cmd, stdin=''):
|
||||
|
@ -17,6 +16,7 @@ def apertium_output(cmd, stdin=''):
|
|||
|
||||
|
||||
class TranslateWizardStart:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'translate.wizard.start'
|
||||
|
||||
@classmethod
|
||||
|
@ -31,6 +31,7 @@ class TranslateWizardStart:
|
|||
|
||||
|
||||
class TranslateWizardTranslation:
|
||||
__metaclass__ = PoolMeta
|
||||
__name__ = 'translate.wizard.translation'
|
||||
|
||||
@classmethod
|
||||
|
|
Loading…
Reference in New Issue