Increase schema complexity for awesome maps, fix Czech translation for calendar

This commit is contained in:
Disassembler 2022-09-19 18:39:31 +02:00
parent 6631a0daab
commit 10356c17d2
No known key found for this signature in database
GPG Key ID: 524BD33A0EE29499
2 changed files with 7 additions and 1 deletions

View File

@ -322,3 +322,9 @@ Rails.application.config.i18n.default_locale = Decidim.default_locale
# Inform Decidim about the assets folder
Decidim.register_assets_path File.expand_path("app/packs", Rails.application.root)
# Requred by decidim_awesome maps
Rails.application.config.to_prepare do
Decidim::Api::Schema.max_complexity = 5000
Decidim::Api::Schema.max_depth = 50
end

View File

@ -44,6 +44,6 @@ cs:
ical: Stáhnout iCAL
activerecord:
models:
decidim/calendar:
decidim/event_calendar:
one: Kalendář
other: Kalendáře