diff --git a/config/locales/de.yml b/config/locales/de.yml index ce6d22a42..d64acb365 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -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 @@ -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 diff --git a/config/locales/en.yml b/config/locales/en.yml index cef36707b..cb56acd41 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -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 @@ -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 diff --git a/config/locales/fr.yml b/config/locales/fr.yml index e8784de68..5b164ece0 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -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 @@ -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) diff --git a/config/locales/it.yml b/config/locales/it.yml index 5c6a35135..a73a130b5 100644 --- a/config/locales/it.yml +++ b/config/locales/it.yml @@ -36,7 +36,7 @@ it: languages: one: Lingua other: Le lingue - location: Luogo + location: Posizione marital_status: Stato civile name: Nome nationality: Nazionalità @@ -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 @@ -160,6 +156,12 @@ it: no_results: Nessun risultato search_results: Risultati della ricerca 'true': Sì + helpers: + cancel: Annullamento + submit: + add: "%{model} aggiungere" + delete: Cancellare + edit: "%{model} modifica" marital_statuses: divorced: divorziato married: sposato diff --git a/spec/features/people_spec.rb b/spec/features/people_spec.rb index 702cee1e1..a86c71ebc 100644 --- a/spec/features/people_spec.rb +++ b/spec/features/people_spec.rb @@ -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