Skip to content

Commit

Permalink
fix i18n tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Jul 22, 2024
1 parent e7c80a4 commit fc7fa1e
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 16 deletions.
10 changes: 5 additions & 5 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ de:
level: Level
skill: Skill
person:
birthdate: Geburtsdatum
competence_notes: Notizen Member
department: Organisationseinheit
dual_citizen: Doppelbürger
email: Email
languages:
one: Sprache
other: Sprachen
location: Ort
marital_status: Zivilstand
name: Name
nationality: Nationalität
person_roles:
one: Funktion
other: Funktionen
picture: Bild
title: Abschluss
department: Organisationseinheit
birthdate: Geburtsdatum
nationality: Nationalität
marital_status: Zivilstand
shortname: Kurzname
title: Abschluss
project:
description: Beschreibung
role: Rolle und Aufgaben
Expand Down
10 changes: 5 additions & 5 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ en:
level: Level
skill: Skill
person:
birthdate: Birthdate
competence_notes: Notes Member
department: Department
dual_citizen: Dual citizens
email: Email
languages:
one: Language
other: Languages
location: Place
marital_status: Marital status
name: Name
nationality: Nationality
person_roles:
one: Function
other: Functions
picture: Image
title: Conclusion
department: Department
birthdate: Birthdate
nationality: Nationality
marital_status: Marital status
shortname: Short name
title: Conclusion
project:
description: Description
role: Role and tasks
Expand Down
10 changes: 5 additions & 5 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ fr:
level: Niveau
skill: Compétence
person:
birthdate: Date de naissance
competence_notes: Notes Member
department: Département
dual_citizen: Double nationalité
email: Email
languages:
one: Langue
other: Langues
location: Lieu
marital_status: Statut marital
name: Nom
nationality: Nationalité
person_roles:
one: Fonction
other: Fonctions
picture: Image
title: Conclusion
department: Département
birthdate: Date de naissance
nationality: Nationalité
marital_status: Statut marital
shortname: Nom court
title: Conclusion
project:
description: Description
role: Rôle et tâches
Expand Down
5 changes: 5 additions & 0 deletions config/locales/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,23 @@ it:
level: Livello
skill: Abilità
person:
birthdate: Data di nascita
competence_notes: Note Membro
department: Unità organizzativa
dual_citizen: Doppi cittadini
email: E-mail
languages:
one: Lingua
other: Le lingue
location: Luogo
marital_status: Stato civile
name: Nome
nationality: Nazionalità
person_roles:
one: Funzione
other: Funzioni
picture: Immagine
shortname: Nome breve
title: Conclusione
project:
description: Descrizione del
Expand Down
2 changes: 1 addition & 1 deletion spec/serializer/error_serializer_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
expect(json[:errors].first[:id]).to eq(:company)
expect(json[:errors].first[:title]).to eq('Company muss ausgefüllt werden')
expect(json[:errors].second[:id]).to eq(:birthdate)
expect(json[:errors].second[:title]).to eq('Birthdate muss ausgefüllt werden')
expect(json[:errors].second[:title]).to eq('Geburtstag muss ausgefüllt werden')
end
end
end

0 comments on commit fc7fa1e

Please sign in to comment.