From b128e66e4127b8cd98a38cc9aae3e88662e1c577 Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Thu, 31 Jan 2019 16:23:38 +0100 Subject: [PATCH] tipi: use english labels for parameters (#30272) --- eopayment/tipi.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/eopayment/tipi.py b/eopayment/tipi.py index 33fae00..7461521 100644 --- a/eopayment/tipi.py +++ b/eopayment/tipi.py @@ -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, },