Skip to content

Commit

Permalink
[WIP] Traductions need to be rework at the end.
Browse files Browse the repository at this point in the history
  • Loading branch information
D4rkHeart committed Nov 5, 2024
1 parent 2e30b2e commit dd9559d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
12 changes: 11 additions & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,14 @@ en:
function: main function
errors:
models:
education:
attributes:
school:
blank: "should be provided"
year_begin:
blank: "can't be blank"
year_end:
blank: "can't be blank"
award:
attributes:
issuer:
Expand All @@ -261,7 +269,7 @@ en:
blank: "should be provided"
year_end:
blank: "should be present"
year_start:
year_begin:
blank: "should be present"
name:
attributes:
Expand Down Expand Up @@ -289,6 +297,8 @@ en:
tag:
blank: "can't be blank"
inclusion: "is not included in the list"
messages:
record_invalid : "Sciper must unique"
activemodel:
errors:
models:
Expand Down
14 changes: 12 additions & 2 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,17 @@ fr:
work_experience: "Parcours professionnel"
activerecord:
errors:
messages:
record_invalid : "Sciper must unique"
models:
education:
attributes:
school:
blank: "ne peut pas être vide"
year_begin:
blank: "ne peut pas être vide"
year_end:
blank: "ne peut pas être vide"
experience:
attributes:
base:
Expand Down Expand Up @@ -222,8 +232,8 @@ fr:
blank: "ne peut pas être vide"
inclusion: "n'est pas inclus dans la liste"
errors:
messages:
not_in_official: "N'est pas inclus dans le nom officiel"
messages:
not_in_official: "Doit être composé de(s) prénom(s) inclus dans le prénom officiel."

activemodel:
errors:
Expand Down

0 comments on commit dd9559d

Please sign in to comment.