fix(RNA) Add translation of missing error message

This commit is contained in:
Corinne Durrmeyer 2024-11-04 16:33:58 +01:00
parent a3c3db5434
commit d1c9da0a0a
No known key found for this signature in database
GPG key ID: DDC049DDA35585B6
3 changed files with 5 additions and 4 deletions

View file

@ -1,7 +1,6 @@
- case error - case error
- when :invalid - when :invalid
%p.fr-error-text %p.fr-error-text= t('.invalid_number')
Le numéro RNA doit commencer par un W majuscule suivi de 9 chiffres ou lettres
- when :not_found - when :not_found
%p.fr-error-text= t('.not_found') %p.fr-error-text= t('.not_found')
- when :network_error - when :network_error

View file

@ -28,9 +28,10 @@ en:
not_filled: not filled not_filled: not filled
not_found: "RNA number %{rna} (no association found)" not_found: "RNA number %{rna} (no association found)"
association: association:
data_fetched: "This RNA number is linked to %{title}, %{address}" data_fetched: "This RNA number is linked to: %{title}, %{address}"
not_found: "No association found" not_found: "No association found"
network_error: "A network error has prevented the association associated with this RNA to be fetched" network_error: "A network error has prevented the association associated with this RNA to be fetched"
invalid_number: "The RNA number must begin with a capital W followed by 9 digits or letters"
rnf: rnf:
show: show:
not_found: "RNF %{rnf} (no foundation found)" not_found: "RNF %{rnf} (no foundation found)"

View file

@ -30,9 +30,10 @@ fr:
not_filled: non renseigné not_filled: non renseigné
not_found: "RNA %{rna} (aucun établissement trouvé)" not_found: "RNA %{rna} (aucun établissement trouvé)"
association: association:
data_fetched: "Ce RNA correspond à %{title}, %{address}" data_fetched: "Ce RNA correspond à : %{title}, %{address}"
not_found: "Aucun établissement trouvé" not_found: "Aucun établissement trouvé"
network_error: "Une erreur réseau a empêché lassociation liée à ce RNA dêtre trouvée" network_error: "Une erreur réseau a empêché lassociation liée à ce RNA dêtre trouvée"
invalid_number: "Le numéro RNA doit commencer par un W majuscule suivi de 9 chiffres ou lettres"
rnf: rnf:
show: show:
not_found: "RNF %{rnf} (aucune fondation trouvée)" not_found: "RNF %{rnf} (aucune fondation trouvée)"