mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-31 21:37:16 +00:00
Fix i18n available locales error
For some reason the locales defined in config/environment/test.rb are `en,es`, but in the used application.yml they were `en,es,en-GB`. This seems to trigger errors in the test environment ("en-GB is not a valid locale") if the two lists don't match..?
This commit is contained in:
@@ -13,7 +13,7 @@ DEFAULT_COUNTRY_CODE: AU
|
||||
# Locale for translation.
|
||||
LOCALE: en
|
||||
# For multilingual - ENV doesn't have array so pass it as string with commas
|
||||
AVAILABLE_LOCALES: en,es,en-GB
|
||||
AVAILABLE_LOCALES: en,es
|
||||
# Spree zone.
|
||||
CHECKOUT_ZONE: Australia
|
||||
# Find currency codes at http://en.wikipedia.org/wiki/ISO_4217.
|
||||
|
||||
Reference in New Issue
Block a user