Skip to content

Commit

Permalink
Merge pull request #149 from OpenSourcePolitics/develop
Browse files Browse the repository at this point in the history
Fix currency settings
  • Loading branch information
moustachu authored Sep 14, 2023
2 parents 5bf2e83 + 4c58f25 commit ef5b2fd
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 1 deletion.
4 changes: 4 additions & 0 deletions config/i18n-tasks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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


5 changes: 5 additions & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
5 changes: 5 additions & 0 deletions config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 1 addition & 0 deletions config/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
default: &default
asset_host: <%= ENV["ASSET_HOST"] %>
decidim:
currency: <%= ENV["CURRENCY"] || "€" %>
rack_attack:
enabled: <%= ENV["ENABLE_RACK_ATTACK"] %>
fail2ban:
Expand Down
2 changes: 1 addition & 1 deletion spec/lib/tasks/decidim_app/k8s/dump_db_tasks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef5b2fd

Please sign in to comment.