From 4ec9501ca09c0511df9bf09584d1ef98e52daeb2 Mon Sep 17 00:00:00 2001 From: Laura Jaime Date: Tue, 16 Apr 2024 17:29:31 +0200 Subject: [PATCH] Add missing translations of surveys --- config/locales/ca.yml | 10 ++++++++++ config/locales/es.yml | 10 ++++++++++ spec/features/remove_overrides_spec.rb | 1 + 3 files changed, 21 insertions(+) create mode 100644 config/locales/ca.yml create mode 100644 config/locales/es.yml diff --git a/config/locales/ca.yml b/config/locales/ca.yml new file mode 100644 index 0000000..995a653 --- /dev/null +++ b/config/locales/ca.yml @@ -0,0 +1,10 @@ +--- +ca: + # Remove when create the translations in Decidim + decidim: + surveys: + survey_confirmation_mailer: + confirmation: + body: Has respost correctament el qüestionari %{questionnaire_title} dins de %{participatory_space} + subject: Confirmació de resposta al qüestionari %{questionnaire_title} + export_name: Repostes del qüestionari diff --git a/config/locales/es.yml b/config/locales/es.yml new file mode 100644 index 0000000..88a18c2 --- /dev/null +++ b/config/locales/es.yml @@ -0,0 +1,10 @@ +--- +es: + # Remove when create the translations in Decidim + decidim: + surveys: + survey_confirmation_mailer: + confirmation: + body: Has contestado correctamente al cuestionario %{questionnaire_title} dentro de %{participatory_space} + subject: Confirmación de respuesta al cuestionario %{questionnaire_title} + export_name: Respuestas del cuestionario diff --git a/spec/features/remove_overrides_spec.rb b/spec/features/remove_overrides_spec.rb index 20f8e3e..31a3a09 100644 --- a/spec/features/remove_overrides_spec.rb +++ b/spec/features/remove_overrides_spec.rb @@ -5,6 +5,7 @@ RSpec.describe "Overrides" do it "remove overrides after upgrading to v0.28" do # - Check header and application overrides views to set Google Tag Manager (see #22 and "Add Google Tag Manager to admin backoffice" in the README) + # - Remove `survey_confirmation_mailer` translations when Decidim has them expect(Decidim.version).to be < "0.28" end end