better description and field labels for french banks

This commit is contained in:
Romain Bignon 2013-12-14 18:22:31 +01:00
commit c1f8c08196
29 changed files with 106 additions and 105 deletions

View file

@ -34,14 +34,14 @@ class CreditCooperatifBackend(BaseBackend, ICapBank):
MAINTAINER = u'Kevin Pouget'
EMAIL = 'weboob@kevin.pouget.me'
VERSION = '0.h'
DESCRIPTION = u'Crédit Coopératif French bank website'
DESCRIPTION = u'Crédit Coopératif'
LICENSE = 'AGPLv3+'
auth_type = {'particular': "Interface Particuliers",
'weak' : "Code confidentiel (pro)",
'strong': "Sesame (pro)"}
CONFIG = BackendConfig(Value('auth_type', label='Authentication type', choices=auth_type, default="particular"),
ValueBackendPassword('login', label='Account ID', masked=False),
ValueBackendPassword('password', label='Password or one time pin'))
CONFIG = BackendConfig(Value('auth_type', label='Type de compte', choices=auth_type, default="particular"),
ValueBackendPassword('login', label='Code utilisateur', masked=False),
ValueBackendPassword('password', label='Code confidentiel ou code PIN'))
def create_default_browser(self):
if self.config['auth_type'].get() == 'particular':