Skip to content

Commit

Permalink
fix translations
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Jul 31, 2024
1 parent b8e9a1e commit 5eb5571
Show file tree
Hide file tree
Showing 7 changed files with 81 additions and 96 deletions.
38 changes: 13 additions & 25 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ de:
export: Exportieren
remove: Entfernen
save_new: Speichern & Neu
submit:
add: "%{model} hinzufügen"
delete: Löschen
edit: "%{model} bearbeiten"
navbar:
cv_search: CV Suche
profile: Profil
Expand All @@ -156,12 +160,6 @@ de:
no_results: Keine Resultate
search_results: Suchergebnisse
'true': Ja
helpers:
cancel: Abbrechen
submit:
add: "%{model} hinzufügen"
delete: Löschen
edit: "%{model} bearbeiten"
marital_statuses:
divorced: geschieden
married: verheiratet
Expand All @@ -179,8 +177,11 @@ de:
skills_by_level: Skills nach Level
trainee: Trainee
global:
confirm_delete: Willst du diese Person wirklich löschen?
link:
add: Neues Profil
delete: Person löschen
more_actions: Weitere Aktionen
index:
choose_create_person: Wähle eine Person aus oder erfasse ein neues Profil
welcome: Willkommen bei
Expand All @@ -207,6 +208,12 @@ de:
edit_form:
rate: Bewerten
unrate: Nicht bewerten
global:
confirm_delete: Willst du diese Person wirklich löschen?
link:
add: Neues Profil
delete: Person löschen
more_actions: Weitere Aktionen
index:
new_skills_to_rate: Neue Skills zur Bewertung
scroll_to_menu:
Expand All @@ -223,25 +230,6 @@ de:
profile:
updated_at: Zuletzt bearbeitet
skills:
search_skills: Skills ebenfalls durchsuchen
advanced_trainings: Weiterbildungen
educations: Ausbildungen
activities: Stationen
projects: Projekte
name: Name
location: Wohnort
title: Abschluss
competence_notes: Kompetenzen
roles: Funktionen
department: Organisationseinheit
skills: Skills
people:
show:
confirm_delete: Willst du diese Person wirklich löschen?
more_actions: Weitere Aktionen
link:
delete: Person löschen

global:
table:
category: Kategorie
Expand Down
87 changes: 33 additions & 54 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ en:
other: Further training
birthdate: Date of birth
competence_notes: Notes Member
department: Organizational unit
department: Department
dual_citizen: Dual citizens
educations:
one: Education
other: Trainings
other: Educations
email: Email
languages:
one: Language
Expand All @@ -54,7 +54,7 @@ en:
skills:
one: Skill
other: Skills
title: Conclusion
title: Degree
project:
description: Description
role: Role and tasks
Expand All @@ -72,6 +72,19 @@ en:
department:
one: Department
other: Departments
education:
one: Education
other: Educations
people_skill:
one: Skill
other: Skills
project: Project
role:
one: Role
other: Roles
skill:
one: Skill
other: Skills
admin:
global:
link:
Expand Down Expand Up @@ -100,7 +113,7 @@ en:
devise:
admin: "(Admin)"
admin_panel: Admin area
devise: Motto
devise: Devise
mockdata: Mockdata
no_omniauth_providers: An error has occurred, there are no Omniauth providers available, please contact the administrator.
sign_in: Log in
Expand All @@ -120,6 +133,10 @@ en:
export: Export
remove: Remove
save_new: Save & New
submit:
add: "%{model} add"
delete: Delete
edit: "%{model} edit"
navbar:
cv_search: CV search
profile: Profile
Expand All @@ -136,23 +153,16 @@ en:
level: Level
professional: Professional
senior: Senior
trainee: Apprentice
trainee: Trainee
unweighted: Not rated
search:
found_in: Found in
no_results: No results
search_results: Search results
'true': 'Yes'
helpers:
cancel: Cancel
submit:
add: "%{model} add"
delete: Delete
edit: "%{model} edit"
marital_statuses:
single: single
divorced: divorced
married: married
widowed: widowed
registered_partnership: registered partnership
single: single
widowed: widowed
Expand All @@ -167,8 +177,11 @@ en:
skills_by_level: Skills by level
trainee: Trainee
global:
confirm_delete: Do you really want to delete this person?
link:
add: New profile
delete: Delete person
more_actions: More actions
index:
choose_create_person: Select a person or create a new profile
welcome: Welcome to
Expand All @@ -195,8 +208,14 @@ en:
edit_form:
rate: Rate
unrate: Do not rate
global:
confirm_delete: Do you really want to delete this person?
link:
add: New profile
delete: Delete person
more_actions: More actions
index:
new_skills_to_rate: New skills for evaluation
new_skills_to_rate: New skills to rate
scroll_to_menu:
link:
add: Add skill
Expand All @@ -206,46 +225,6 @@ en:
add: Add skill (max. 5)
people_skills/filter_form:
global:
divorced: divorced
people-skills:
levels:
level: Experience
unweighted: Unweighted
trainee: Trainee
junior: Junior
professional: Professional
senior: Senior
expert: Expert
interest: Interest
certificate: Certificate
core-competence: Core Competence
date_range_picker:
from: From
to: To
today: Today

people-skills:
level:
trainee: Trainee
junior: Junior
professional: Professional
senior: Senior
expert: Expert
interest: Interest
certificate: Certificate
core-competence: Core Competence
filter:
all: ALl
rated: Rated
unrated: Unrated
date_range_picker:
from: From
to: To
today: Today
people:
show:
confirm_delete: Are you sure you want to delete this person?
more_actions: More actions
link:
add: Add skill (max. 5)
profile:
Expand Down
19 changes: 13 additions & 6 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,10 @@ fr:
export: Exporter
remove: Supprimer
save_new: Enregistrer & Nouveau
submit:
add: "%{model} ajouter"
delete: Supprimer
edit: "%{model} éditer"
navbar:
cv_search: Recherche de CV
profile: Profil
Expand All @@ -156,12 +160,6 @@ fr:
no_results: Pas de résultats
search_results: Résultats de la recherche
'true': Oui
helpers:
cancel: Annuler
submit:
add: "%{model} ajouter"
delete: Supprimer
edit: "%{model} éditer"
marital_statuses:
divorced: divorcé(e)
married: marié(e)
Expand All @@ -179,8 +177,11 @@ fr:
skills_by_level: Compétences par niveau
trainee: Stagiaire
global:
confirm_delete: Veux-tu vraiment supprimer cette personne ?
link:
add: Nouveau profil
delete: Supprimer une personne
more_actions: Autres actions
index:
choose_create_person: Sélectionne une personne ou saisis un nouveau profil
welcome: Bienvenue chez
Expand All @@ -207,6 +208,12 @@ fr:
edit_form:
rate: Évaluer
unrate: Ne pas évaluer
global:
confirm_delete: Veux-tu vraiment supprimer cette personne ?
link:
add: Nouveau profil
delete: Supprimer une personne
more_actions: Autres actions
index:
new_skills_to_rate: Nouvelles compétences pour l'évaluation
scroll_to_menu:
Expand Down
21 changes: 14 additions & 7 deletions config/locales/it.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ it:
languages:
one: Lingua
other: Le lingue
location: Posizione
location: Luogo
marital_status: Stato civile
name: Nome
nationality: Nazionalità
Expand Down Expand Up @@ -133,6 +133,10 @@ it:
export: Esportazione
remove: Rimuovere
save_new: Risparmi e novità
submit:
add: "%{model} aggiungere"
delete: Cancellare
edit: "%{model} modifica"
navbar:
cv_search: Ricerca di CV
profile: Profilo
Expand All @@ -156,12 +160,6 @@ it:
no_results: Nessun risultato
search_results: Risultati della ricerca
'true':
helpers:
cancel: Annullamento
submit:
add: "%{model} aggiungere"
delete: Cancellare
edit: "%{model} modifica"
marital_statuses:
divorced: divorziato
married: sposato
Expand All @@ -179,8 +177,11 @@ it:
skills_by_level: Competenze per livello
trainee: Apprendista
global:
confirm_delete: Volete davvero cancellare questa persona?
link:
add: Nuovo profilo
delete: Cancellare una persona
more_actions: Ulteriori azioni
index:
choose_create_person: Selezionare una persona o creare un nuovo profilo
welcome: Benvenuti a
Expand All @@ -207,6 +208,12 @@ it:
edit_form:
rate: Tasso
unrate: Non valutare
global:
confirm_delete: Volete davvero cancellare questa persona?
link:
add: Nuovo profilo
delete: Cancellare una persona
more_actions: Ulteriori azioni
index:
new_skills_to_rate: Nuove competenze per la valutazione
scroll_to_menu:
Expand Down
4 changes: 3 additions & 1 deletion spec/features/activities_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,9 @@
role = activity.role
open_edit_form(activity)
within("turbo-frame#activity_#{activity.id}") do
click_link("Löschen")
accept_confirm do
click_link("Löschen")
end
end
expect(page).not_to have_content(role)
end
Expand Down
4 changes: 2 additions & 2 deletions spec/features/people_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -319,9 +319,9 @@ def add_language(language)

it 'should delete person' do
visit person_path(longmax)
click_button(I18n.t("people.show.more_actions"))
click_button(t("people.show.more_actions"))
accept_confirm do
click_link(I18n.t("people.show.link.delete"), href: person_path(longmax))
click_link(t("people.show.link.delete"), href: person_path(longmax))
end
expect(page).to have_selector('.alert', text: I18n.t("crud.destroy.flash.success", model: longmax))
end
Expand Down
4 changes: 3 additions & 1 deletion spec/features/projects_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,9 @@
role = project.role
open_edit_form(project)
within("turbo-frame##{dom_id project}") do
click_link("Löschen")
accept_confirm do
click_link("Löschen")
end
end
expect(page).not_to have_content(role)
end
Expand Down

0 comments on commit 5eb5571

Please sign in to comment.