Skip to content

Commit

Permalink
fix translations of cv search
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Jul 30, 2024
1 parent 0516cae commit b9a6ff1
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
18 changes: 18 additions & 0 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,24 @@ de:
picture: Bild
shortname: Kurzname
title: Abschluss
projects:
one: Projekt
other: Projekte
activities:
one: Station
other: Stationen
advanced_trainings:
one: Weiterbildung
other: Weiterbildungen
educations:
one: Ausbildung
other: Ausbildungen
roles:
one: Funktion
other: Funktionen
skills:
one: Skill
other: Skills
project:
description: Beschreibung
role: Rolle und Aufgaben
Expand Down
2 changes: 1 addition & 1 deletion spec/features/cv_search_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
expect(page).to have_content("Keine Resultate")
page.check('search_skills')
expect(page).not_to have_content("Keine Resultate")
check_search_results(Skill.model_name.human(count: 2))
check_search_results(Skill.model_name.human.pluralize)
link = person_people_skills_path(person, q: skill_title, rating: 1)
expect(page).to have_link(href: link)
end
Expand Down

0 comments on commit b9a6ff1

Please sign in to comment.