mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FEATURE: English locale with international date formats
Makes en_US the new default locale
This commit is contained in:
@@ -16,7 +16,7 @@ end
|
||||
def supported_locales
|
||||
Dir.glob(expand_path('config/locales/client.*.yml'))
|
||||
.map { |x| x.split('.')[-2] }
|
||||
.select { |x| x != 'en' }
|
||||
.reject { |x| x.start_with?('en') }
|
||||
.sort - TranslationsManager::BROKEN_LOCALES
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user