mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-20 04:59:16 +00:00
Merge pull request #13961 from mkllnk/taler-checkout-stock-error
Taler checkout stock error
This commit is contained in:
@@ -20,6 +20,10 @@ module OpenFoodNetwork
|
||||
(selectable_locales + [default_locale, source_locale]).uniq
|
||||
end
|
||||
|
||||
def self.fallbacks
|
||||
[default_locale, source_locale].uniq
|
||||
end
|
||||
|
||||
# The default locale that is used when the user doesn't have a preference.
|
||||
def self.default_locale
|
||||
ENV["LOCALE"] || ENV["I18N_LOCALE"] || source_locale
|
||||
|
||||
Reference in New Issue
Block a user