Skip to content

Commit

Permalink
[#10960] Use app_name in I18n files
Browse files Browse the repository at this point in the history
  • Loading branch information
mmagn committed Jan 17, 2025
1 parent 6c65f84 commit f78eaba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/locales/models/type_de_champ/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ en:
referentiel: 'External data to configure (advanced)'
default_libelle:
annuaire_education: Educational institution
dossier_link: File number submitted on Démarches Simplifiées
dossier_link: File number submitted on %{app_name}
epci: Public establishments for intercommunal cooperation (EPCI)
iban: IBAN
siret: SIRET number
Expand Down
2 changes: 1 addition & 1 deletion config/locales/models/type_de_champ/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ fr:
annuaire_education: Établissement
communes: Commune
departements: Département
dossier_link: Numéro de dossier déposé sur Démarches Simplifiées
dossier_link: Numéro de dossier déposé sur %{app_name}
epci: Établissements publics de coopération intercommunale (EPCI)
iban: IBAN
regions: Région
Expand Down
2 changes: 1 addition & 1 deletion spec/models/type_de_champ_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def never_valid
context "when the type champ is changed" do
before { type_de_champ.update(type_champ: :dossier_link) }

it { expect(type_de_champ.libelle).to eq("Numéro de dossier déposé sur Démarches Simplifiées") }
it { expect(type_de_champ.libelle).to eq("Numéro de dossier déposé sur %{app_name}") }

context "when the libelle is customized" do
let(:libelle) { "Customized libelle" }
Expand Down

0 comments on commit f78eaba

Please sign in to comment.