diff --git a/app/views/application/_edit_interest_stars.html.haml b/app/views/application/_edit_interest_stars.html.haml index c2f664420..7ec345f81 100644 --- a/app/views/application/_edit_interest_stars.html.haml +++ b/app/views/application/_edit_interest_stars.html.haml @@ -1,4 +1,4 @@ -%label.form-label.text-gray= t "people_skills.interest" +%label.form-label.text-gray= ti "people_skills.interest" .rate = ff.radio_button :interest, 5, { checked: ff.object.interest == 5, id: "star5#{ff.object.skill.id}", "data-action": "change->people-skills#rateSkill" } %label{for: "star5#{ff.object.skill.id}", title: "text", id: "star-label5#{ff.object.skill.id}", class: "star5"} 5 stars diff --git a/app/views/application/_show_interest_stars.html.haml b/app/views/application/_show_interest_stars.html.haml index af1f45d7f..b557fd6ad 100644 --- a/app/views/application/_show_interest_stars.html.haml +++ b/app/views/application/_show_interest_stars.html.haml @@ -1,4 +1,4 @@ -%label.form-label.text-gray= t "people_skills.interest" +%label.form-label.text-gray= ti "people_skills.interest" .rate.rate-show %input{type: "radio", value: 5, id: "star5#{person_skill.id}", checked: person_skill.interest == 5, disabled: true}/ diff --git a/app/views/people_skills/_search_form.html.haml b/app/views/people_skills/_search_form.html.haml index 12c35904a..a23f4aaba 100644 --- a/app/views/people_skills/_search_form.html.haml +++ b/app/views/people_skills/_search_form.html.haml @@ -8,7 +8,7 @@ "data-skills-level-target": "switch", onchange: "this.form.submit()" %div.w-25.d-flex.flex-column.align-items-center %span.fs-6.text-gray - = t "people_skills.interest" + = ti "people_skills.interest" .rate - 5.downto(1) do |index| = form.radio_button "interest[#{row_number}]", index, id: "row#{row_number}_star#{index}", checked: index == filter_params.interest_of_row(row_number), onClick: "this.form.submit()" diff --git a/config/locales/de.yml b/config/locales/de.yml index ee1453eaf..32d059a87 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -19,10 +19,19 @@ de: level: Level skill: Skill person: + activities: + one: Station + other: Stationen + advanced_trainings: + one: Weiterbildung + other: Weiterbildungen birthdate: Geburtsdatum competence_notes: Notizen Member department: Organisationseinheit dual_citizen: Doppelbürger + educations: + one: Ausbildung + other: Ausbildungen email: Email languages: one: Sprache @@ -35,26 +44,17 @@ de: one: Funktion other: Funktionen 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: + roles: one: Funktion other: Funktionen + shortname: Kurzname skills: one: Skill other: Skills + title: Abschluss project: description: Beschreibung role: Rolle und Aufgaben @@ -102,13 +102,6 @@ de: profile-not-found: Profil konnte nicht gefunden werden. valid_percent_range: muss zwischen 0 und 200 liegen. global: - filter: - all: Alle - new: Neue - rated: Bewertet - unrated: Nicht bewertet - default: Default - search: '%{target} suchen' date: from: Von month: Monat @@ -127,6 +120,13 @@ de: sign_in_with: Mit %{provider} anmelden sign_out: Abmelden 'false': Nein + filter: + all: Alle + default: Default + new: Neue + rated: Bewertet + search: "%{target} suchen" + unrated: Nicht bewertet link: cancel: Abbrechen export: Exportieren @@ -212,6 +212,22 @@ de: search: new_profile: Neues Profil updated_at: Zuletzt bearbeitet + people-skills: + certificate: Certificato + core-competence: Competenza di base + filter: + all: Tutti + rated: Valutazione + unrated: Non valutato + interest: Interesse per + levels: + expert: Esperto + junior: Junior + level: Esperienza + professional: Professionale + senior: Senior + trainee: Apprendista + unweighted: Non valutato people_skills: global: link: @@ -229,5 +245,11 @@ de: radar: Radar skill: Skill subcategory: Subkategorie + header: + all: Tutti + category: Categoria + default: Predefinito + new: Nuovo + search: Capacità di ricerca show: title: 'Skill: %{title} (%{amount} Members)' diff --git a/config/locales/en.yml b/config/locales/en.yml index f65f11a01..82d27263c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -19,10 +19,19 @@ en: level: Level skill: Skill person: + activities: + one: Station + other: Stations + advanced_trainings: + one: Further training + other: Further training birthdate: Birthdate competence_notes: Notes Member department: Department dual_citizen: Dual citizens + educations: + one: Education + other: Trainings email: Email languages: one: Language @@ -35,7 +44,16 @@ en: one: Function other: Functions picture: Image + projects: + one: Project + other: Projects + roles: + one: Function + other: Functions shortname: Short name + skills: + one: Skill + other: Skills title: Degree project: description: Description @@ -102,6 +120,13 @@ en: sign_in_with: 'Log in with %{provider} ' sign_out: Log out 'false': 'No' + filter: + all: All + default: Default + new: New + rated: Rated + search: "%{target} search" + unrated: Not rated link: cancel: Cancel export: Export @@ -114,6 +139,9 @@ en: skillset: Skillset new: New people_skills: + certificate: Certificate + core-competence: Core competence + interest: Interest levels: expert: Expert junior: Junior diff --git a/config/locales/fr.yml b/config/locales/fr.yml index b397887f2..9bfe11c50 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -19,10 +19,19 @@ fr: level: Niveau skill: Compétence person: + activities: + one: Station + other: Stations + advanced_trainings: + one: Formation continue + other: Formations continues birthdate: Date de naissance competence_notes: Notes Member department: Département dual_citizen: Double nationalité + educations: + one: Formation + other: Formations email: Email languages: one: Langue @@ -35,7 +44,16 @@ fr: one: Fonction other: Fonctions picture: Image + projects: + one: Projet + other: Projets + roles: + one: Fonction + other: Fonctions shortname: Nom court + skills: + one: Compétence + other: Compétences title: Conclusion project: description: Description @@ -102,6 +120,13 @@ fr: sign_in_with: 'S''inscrire avec %{provider} ' sign_out: Se désinscrire 'false': Non + filter: + all: Tous les + default: Défaut + new: Nouveau + rated: Évalué + search: "%{target} cherchent" + unrated: Non évalué link: cancel: Annuler export: Exporter @@ -114,6 +139,9 @@ fr: skillset: Kit de compétences new: Nouveau people_skills: + certificate: Certificat + core-competence: Compétence clé + interest: Intérêt levels: expert: Expert junior: Junior diff --git a/config/locales/it.yml b/config/locales/it.yml index b88e6f7b6..e642c8001 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -19,10 +19,19 @@ it: level: Livello skill: Abilità person: + activities: + one: Stazione + other: Stazioni + advanced_trainings: + one: Formazione continua + other: Formazione continua birthdate: Data di nascita competence_notes: Note Membro department: Unità organizzativa dual_citizen: Doppi cittadini + educations: + one: Istruzione + other: Programmi di formazione email: E-mail languages: one: Lingua @@ -35,7 +44,16 @@ it: one: Funzione other: Funzioni picture: Immagine + projects: + one: Progetto + other: Progetti + roles: + one: Funzione + other: Funzioni shortname: Nome breve + skills: + one: Abilità + other: Competenze title: Conclusione project: description: Descrizione del @@ -102,6 +120,13 @@ it: sign_in_with: "%{provider} Accedere con" sign_out: Disconnettersi 'false': 'No' + filter: + all: Tutti + default: Predefinito + new: Nuovo + rated: Valutazione + search: "%{target} ricerca" + unrated: Non valutato link: cancel: Annullamento export: Esportazione @@ -114,6 +139,9 @@ it: skillset: Competenze new: Nuovo people_skills: + certificate: Certificato + core-competence: Competenza di base + interest: Interesse per levels: expert: Esperto junior: Junior diff --git a/spec/domain/people_search_spec.rb b/spec/domain/people_search_spec.rb index 12aae0891..f707ef3d2 100644 --- a/spec/domain/people_search_spec.rb +++ b/spec/domain/people_search_spec.rb @@ -7,7 +7,7 @@ search_term = 'duckduck' people = PeopleSearch.new(search_term).entries person = people[0] - expect(person[:found_in]).to eq('Projects') + expect(person[:found_in]).to eq('Projekte') end it 'finds in which person attribute the search term has been found' do diff --git a/spec/features/edit_people_skills_spec.rb b/spec/features/edit_people_skills_spec.rb index e232e179d..ce5b6a206 100644 --- a/spec/features/edit_people_skills_spec.rb +++ b/spec/features/edit_people_skills_spec.rb @@ -134,7 +134,7 @@ def not_rated_default_skills(person) expect(page).to have_content(person_skill.skill.title) end - expect(page).to have_content('Trainee', count: not_rated_default_skills.count) + expect(page).to have_content('Azubi', count: not_rated_default_skills.count) expect(not_rated_default_skills.pluck(:interest).all?(&:zero?)).to be(true)