fix(RNA) Add translation of missing error message
This commit is contained in:
parent
a3c3db5434
commit
d1c9da0a0a
3 changed files with 5 additions and 4 deletions
|
@ -1,7 +1,6 @@
|
|||
- case error
|
||||
- when :invalid
|
||||
%p.fr-error-text
|
||||
Le numéro RNA doit commencer par un W majuscule suivi de 9 chiffres ou lettres
|
||||
%p.fr-error-text= t('.invalid_number')
|
||||
- when :not_found
|
||||
%p.fr-error-text= t('.not_found')
|
||||
- when :network_error
|
||||
|
|
|
@ -28,9 +28,10 @@ en:
|
|||
not_filled: not filled
|
||||
not_found: "RNA number %{rna} (no association found)"
|
||||
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"
|
||||
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:
|
||||
show:
|
||||
not_found: "RNF %{rnf} (no foundation found)"
|
||||
|
|
|
@ -30,9 +30,10 @@ fr:
|
|||
not_filled: non renseigné
|
||||
not_found: "RNA %{rna} (aucun établissement trouvé)"
|
||||
association:
|
||||
data_fetched: "Ce RNA correspond à %{title}, %{address}"
|
||||
data_fetched: "Ce RNA correspond à : %{title}, %{address}"
|
||||
not_found: "Aucun établissement trouvé"
|
||||
network_error: "Une erreur réseau a empêché l’association 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:
|
||||
show:
|
||||
not_found: "RNF %{rnf} (aucune fondation trouvée)"
|
||||
|
|
Loading…
Reference in a new issue