Merge pull request #9648 from demarches-simplifiees/add-rnf-service
Ajout d'un nouveau référentiel : le Répertoire National des Fondations (RNF)
This commit is contained in:
commit
0968f02a26
31 changed files with 378 additions and 14 deletions
|
@ -7,6 +7,7 @@ API_GEO_URL = ENV.fetch("API_GEO_URL", "https://geo.api.gouv.fr")
|
|||
API_PARTICULIER_URL = ENV.fetch("API_PARTICULIER_URL", "https://particulier.api.gouv.fr/api")
|
||||
API_TCHAP_URL = ENV.fetch("API_TCHAP_URL", "https://matrix.agent.tchap.gouv.fr/_matrix/identity/api/v1")
|
||||
API_COJO_URL = ENV.fetch("API_COJO_URL", nil)
|
||||
API_RNF_URL = ENV.fetch("API_RNF_URL", "https://rnf.dso.numerique-interieur.com")
|
||||
HELPSCOUT_API_URL = ENV.fetch("HELPSCOUT_API_URL", "https://api.helpscout.net/v2")
|
||||
SENDINBLUE_API_URL = ENV.fetch("SENDINBLUE_API_URL", "https://in-automate.sendinblue.com/api/v2")
|
||||
SENDINBLUE_API_V3_URL = ENV.fetch("SENDINBLUE_API_V3_URL", "https://api.sendinblue.com/v3")
|
||||
|
|
|
@ -14,6 +14,7 @@ ActiveSupport::Inflector.inflections(:en) do |inflect|
|
|||
inflect.acronym 'IP'
|
||||
inflect.acronym 'JSON'
|
||||
inflect.acronym 'RNA'
|
||||
inflect.acronym 'RNF'
|
||||
inflect.acronym 'URL'
|
||||
inflect.acronym 'SVA'
|
||||
inflect.acronym 'SVR'
|
||||
|
|
24
config/locales/models/champs/rnf_champ/en.yml
Normal file
24
config/locales/models/champs/rnf_champ/en.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
en:
|
||||
activemodel:
|
||||
attributes:
|
||||
rnf_champ:
|
||||
rnf_id: RNF id
|
||||
data:
|
||||
title: Foundation name
|
||||
email: Email
|
||||
phone: Phone
|
||||
createdAt: Created at
|
||||
updatedAt: Updated at
|
||||
dissolvedAt: Dissolved at
|
||||
address: Address
|
||||
status: Status
|
||||
cityCode: City code
|
||||
postalCode: Postal code
|
||||
department: Department
|
||||
paste: Copy the RNF to the clipboard
|
||||
paste_success: The RNF has been copied to the clipboard
|
||||
activerecord:
|
||||
attributes:
|
||||
champs/rnf_champ:
|
||||
hints:
|
||||
value: "Expected format : 075-FDD-00003-01"
|
24
config/locales/models/champs/rnf_champ/fr.yml
Normal file
24
config/locales/models/champs/rnf_champ/fr.yml
Normal file
|
@ -0,0 +1,24 @@
|
|||
fr:
|
||||
activemodel:
|
||||
attributes:
|
||||
rnf_champ:
|
||||
rnf_id: Numéro RNF
|
||||
data:
|
||||
title: Nom de la fondation
|
||||
email: Email
|
||||
phone: Téléphone
|
||||
createdAt: Créée le
|
||||
updatedAt: Mise à jour le
|
||||
dissolvedAt: Dissoute le
|
||||
address: Adresse
|
||||
status: Statut
|
||||
cityCode: Code INSEE
|
||||
postalCode: Code postal
|
||||
department: Département
|
||||
paste: Copier le RNF dans le presse-papier
|
||||
paste_success: Le RNF a été copié dans le presse-papier
|
||||
activerecord:
|
||||
attributes:
|
||||
champs/rnf_champ:
|
||||
hints:
|
||||
value: "Format attendu : 075-FDD-00003-01"
|
|
@ -48,6 +48,7 @@ en:
|
|||
yes_no_false: 'no'
|
||||
annuaire_education: 'Schooling directory'
|
||||
rna: 'RNA'
|
||||
rnf: 'RNF'
|
||||
carte: 'Card'
|
||||
cnaf: 'Data from Caisse nationale des allocations familiales'
|
||||
dgfip: 'Data from Direction générale des Finances publiques'
|
||||
|
|
|
@ -47,7 +47,8 @@ fr:
|
|||
yes_no_true: 'oui'
|
||||
yes_no_false: 'non'
|
||||
annuaire_education: 'Annuaire de l’éducation'
|
||||
rna: 'RNA'
|
||||
rna: 'RNA (Répertoire national des associations)'
|
||||
rnf: 'RNF (Répertoire national des fondations)'
|
||||
carte: 'Carte'
|
||||
cnaf: 'Données de la Caisse nationale des allocations familiales'
|
||||
dgfip: 'Données de la Direction générale des Finances publiques'
|
||||
|
|
|
@ -30,6 +30,9 @@ en:
|
|||
data_fetched: "This RNA number is linked to %{title}"
|
||||
not_found: "No association found"
|
||||
network_error: "A network error has prevented the association associated with this RNA to be fetched"
|
||||
rnf:
|
||||
show:
|
||||
not_found: "RNF %{rnf} (no foundation found)"
|
||||
dgfip:
|
||||
show:
|
||||
not_filled: not filled
|
||||
|
|
|
@ -32,6 +32,9 @@ fr:
|
|||
data_fetched: "Ce RNA correspond à %{title}"
|
||||
not_found: "Aucun établissement trouvé"
|
||||
network_error: "Une erreur réseau a empêché l’association liée à ce RNA d’être trouvée"
|
||||
rnf:
|
||||
show:
|
||||
not_found: "RNF %{rnf} (aucune fondation trouvée)"
|
||||
dgfip:
|
||||
show:
|
||||
not_filled: non renseigné
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue