diff --git a/config/i18n-tasks.yml b/config/i18n-tasks.yml index 85c5832b..69945f89 100644 --- a/config/i18n-tasks.yml +++ b/config/i18n-tasks.yml @@ -322,5 +322,9 @@ ignore_unused: - decidim.assemblies.show.future_assembly_participatory_processes_mini - decidim.assemblies.show.past_assembly_participatory_processes - decidim.assemblies.show.past_assembly_participatory_processes_mini + - activemodel.attributes.user.additional_tos + - activemodel.attributes.user.living_area + - activemodel.attributes.user.month + - activemodel.attributes.user.year diff --git a/config/locales/en.yml b/config/locales/en.yml index f3c0f5a9..6558a9d7 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -66,6 +66,11 @@ en: email: Email name: Name role: Role + user: + additional_tos: Additional Terms of use + living_area: Living area + month: Month + year: Year errors: models: participatory_process: diff --git a/config/locales/fr.yml b/config/locales/fr.yml index 75fcfd40..65fc2e1f 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -66,6 +66,11 @@ fr: email: Email name: Nom role: Rôle + user: + additional_tos: Traitement des données + living_area: Lieu de résidence + month: Mois de naissance + year: Année de naissance errors: models: participatory_process: diff --git a/config/secrets.yml b/config/secrets.yml index 51cf6643..61831eda 100644 --- a/config/secrets.yml +++ b/config/secrets.yml @@ -13,6 +13,7 @@ default: &default asset_host: <%= ENV["ASSET_HOST"] %> decidim: + currency: <%= ENV["CURRENCY"] || "€" %> rack_attack: enabled: <%= ENV["ENABLE_RACK_ATTACK"] %> fail2ban: diff --git a/spec/lib/tasks/decidim_app/k8s/dump_db_tasks_spec.rb b/spec/lib/tasks/decidim_app/k8s/dump_db_tasks_spec.rb index d4a47338..8e54062f 100644 --- a/spec/lib/tasks/decidim_app/k8s/dump_db_tasks_spec.rb +++ b/spec/lib/tasks/decidim_app/k8s/dump_db_tasks_spec.rb @@ -8,7 +8,7 @@ end it "invokes the configuration exporter" do - expect(DecidimApp::K8s::ConfigurationExporter).to receive(:dump_db).and_return(true) + expect(DecidimApp::K8s::ConfigurationExporter).to receive(:dump_db).at_least(:once).and_return(true) task.execute end