Skip to content

Commit

Permalink
Add missing translations of surveys
Browse files Browse the repository at this point in the history
  • Loading branch information
laurajaime committed Apr 17, 2024
1 parent fc5e2cf commit 4ec9501
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config/locales/ca.yml
Original file line number Diff line number Diff line change
@@ -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
10 changes: 10 additions & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
@@ -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
1 change: 1 addition & 0 deletions spec/features/remove_overrides_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 4ec9501

Please sign in to comment.