tipi: use english labels for parameters (#30272)
This commit is contained in:
parent
354815c502
commit
b128e66e41
|
@ -1,5 +1,3 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
|
||||
from decimal import Decimal, ROUND_DOWN
|
||||
from .common import (PaymentCommon, PaymentResponse, URL, PAID, DENIED,
|
||||
CANCELLED, ERROR, ResponseError)
|
||||
|
@ -28,16 +26,16 @@ class Payment(PaymentCommon):
|
|||
'parameters': [
|
||||
{
|
||||
'name': 'numcli',
|
||||
'caption': _(u'Numéro client'),
|
||||
'help_text': _(u'un numéro à 6 chiffres communiqué par l’administrateur TIPI'),
|
||||
'caption': _(u'Client number'),
|
||||
'help_text': _(u'6 digits number provided by DGFIP'),
|
||||
'validation': lambda s: str.isdigit(s) and (0 < int(s) < 1000000),
|
||||
'required': True,
|
||||
},
|
||||
{
|
||||
'name': 'service_url',
|
||||
'default': TIPI_URL,
|
||||
'caption': _(u'URL du service TIPI'),
|
||||
'help_text': _(u'ne pas modifier si vous ne savez pas'),
|
||||
'caption': _(u'TIPI service URL'),
|
||||
'help_text': _(u'do not modify if you do not know'),
|
||||
'validation': lambda x: x.startswith('http'),
|
||||
'required': True,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue