This commit is contained in:
parent
4258520491
commit
8f21df1dc7
|
@ -23,6 +23,7 @@ import requests
|
|||
from django.core.cache import cache
|
||||
from django.db import models
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
from django.utils.translation import pgettext_lazy
|
||||
|
||||
from passerelle.base.models import BaseResource
|
||||
from passerelle.utils.api import endpoint
|
||||
|
@ -103,8 +104,8 @@ class R2P(BaseResource):
|
|||
max_length=256,
|
||||
default='https://gw.dgfip.finances.gouv.fr',
|
||||
)
|
||||
oauth_username = models.CharField(_('DGFIP API Username'), max_length=128)
|
||||
oauth_password = models.CharField(_('DGFIP API Password'), max_length=128)
|
||||
oauth_username = models.CharField(pgettext_lazy('r2p', 'DGFIP API Username'), max_length=128)
|
||||
oauth_password = models.CharField(pgettext_lazy('r2p', 'DGFIP API Password'), max_length=128)
|
||||
|
||||
category = _('Business Process Connectors')
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: Passerelle 0\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2024-02-01 11:26+0100\n"
|
||||
"POT-Creation-Date: 2024-02-01 12:00+0100\n"
|
||||
"PO-Revision-Date: 2023-11-22 21:24+0100\n"
|
||||
"Last-Translator: Frederic Peters <fpeters@entrouvert.com>\n"
|
||||
"Language: fr\n"
|
||||
|
@ -342,12 +342,10 @@ msgid "DGFIP API base URL"
|
|||
msgstr "URL de base de l’API Impôt Particulier"
|
||||
|
||||
#: apps/api_impot_particulier/models.py apps/franceconnect_data/models.py
|
||||
#: apps/r2p/models.py
|
||||
msgid "DGFIP API Username"
|
||||
msgstr "Identifiant pour l’API Impôt Particulier (client_id)"
|
||||
|
||||
#: apps/api_impot_particulier/models.py apps/franceconnect_data/models.py
|
||||
#: apps/r2p/models.py
|
||||
msgid "DGFIP API Password"
|
||||
msgstr "Mot de passe pour l’API Impôt Particulier (client_secret)"
|
||||
|
||||
|
@ -4328,6 +4326,16 @@ msgstr "Adresse : numéro"
|
|||
msgid "invalid spi"
|
||||
msgstr "SPI invalide"
|
||||
|
||||
#: apps/r2p/models.py
|
||||
msgctxt "r2p"
|
||||
msgid "DGFIP API Username"
|
||||
msgstr "Identifiant pour l’API DGFIP (client_id)"
|
||||
|
||||
#: apps/r2p/models.py
|
||||
msgctxt "r2p"
|
||||
msgid "DGFIP API Password"
|
||||
msgstr "Mot de passe pour l’API DGFIP (client_secret)"
|
||||
|
||||
#: apps/r2p/models.py
|
||||
msgid "API Recherche des personnes physiques"
|
||||
msgstr "API Recherche des personnes physiques"
|
||||
|
|
Loading…
Reference in New Issue