mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-06 02:51:34 +00:00
Consistent reference of the source locale
This commit is contained in:
@@ -10,7 +10,7 @@ module OpenFoodNetwork
|
||||
|
||||
# All locales that can be accessed by the application, including fallbacks.
|
||||
def self.available_locales
|
||||
(selectable_locales + [default_locale, 'en']).uniq
|
||||
(selectable_locales + [default_locale, source_locale]).uniq
|
||||
end
|
||||
|
||||
# The default locale that is used when the user doesn't have a preference.
|
||||
|
||||
Reference in New Issue
Block a user