Skip to content

Commit

Permalink
fix all tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Jul 31, 2024
1 parent 5eb5571 commit 66fb4c8
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 19 deletions.
10 changes: 6 additions & 4 deletions config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ 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 @@ -160,6 +156,12 @@ 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 Down
10 changes: 6 additions & 4 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ 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 @@ -160,6 +156,12 @@ en:
no_results: No results
search_results: Search results
'true': 'Yes'
helpers:
cancel: Cancel
submit:
add: "%{model} add"
delete: Delete
edit: "%{model} edit"
marital_statuses:
divorced: divorced
married: married
Expand Down
10 changes: 6 additions & 4 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@ 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 @@ -160,6 +156,12 @@ 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 Down
12 changes: 7 additions & 5 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: Luogo
location: Posizione
marital_status: Stato civile
name: Nome
nationality: Nazionalità
Expand Down Expand Up @@ -133,10 +133,6 @@ 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 @@ -160,6 +156,12 @@ 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 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(t("people.show.more_actions"))
click_button(t("people.global.more_actions"))
accept_confirm do
click_link(t("people.show.link.delete"), href: person_path(longmax))
click_link(t("people.global.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

0 comments on commit 66fb4c8

Please sign in to comment.