summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2019-01-31 15:23:38 (GMT)
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2019-02-01 09:48:34 (GMT)
commitb128e66e4127b8cd98a38cc9aae3e88662e1c577 (patch)
treef948f607f57ff0f942fcba55d07bd5b77f8bc722
parent354815c50275fc9d5d329c2e4048812ea5069e69 (diff)
downloadeopayment-b128e66e4127b8cd98a38cc9aae3e88662e1c577.zip
eopayment-b128e66e4127b8cd98a38cc9aae3e88662e1c577.tar.gz
eopayment-b128e66e4127b8cd98a38cc9aae3e88662e1c577.tar.bz2
tipi: use english labels for parameters (#30272)
-rw-r--r--eopayment/tipi.py10
1 files 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,
},