rails up to 7.0and ruby to 2.7.2

This commit is contained in:
viehlieb 2023-01-06 16:12:41 +01:00 committed by Philipp Rothmann
parent c67e9b5be8
commit 3d81dd6b57
23 changed files with 485 additions and 502 deletions

View file

@ -1,7 +1,7 @@
# remove all currency translations, so that we can set the default language and
# have it shown in all other languages too
::I18n.available_locales.each do |locale|
unless locale == ::I18n.default_locale
::I18n.backend.store_translations(locale, number: { currency: { format: { unit: nil } } })
I18n.available_locales.each do |locale|
unless locale == I18n.default_locale
I18n.backend.store_translations(locale, number: { currency: { format: { unit: nil } } })
end
end