Restore global
This commit is contained in:
parent
6ea501b59f
commit
82dad857a8
@ -16,7 +16,7 @@ require "active_support/core_ext/object/blank"
|
||||
require "active_support/core_ext/string/filters"
|
||||
require "active_support/core_ext/object/try"
|
||||
require "active_support/core_ext/array/access"
|
||||
require "i18n"
|
||||
require "active_support/core_ext/string/inflections"
|
||||
require "active_support/core_ext/array/conversions"
|
||||
require "active_support/core_ext/hash/deep_merge"
|
||||
require "active_support/core_ext/file/atomic"
|
||||
@ -27,6 +27,12 @@ require "active_support/core_ext/string/indent"
|
||||
I18n.backend.available_locales # Initialize locales so they can be overwritten.
|
||||
I18n.backend.store_translations :en, support: { array: { last_word_connector: " and " } }
|
||||
|
||||
ActiveSupport::Inflector.inflections(:en) do |inflect|
|
||||
inflect.irregular "formula", "formulae"
|
||||
inflect.irregular "is", "are"
|
||||
inflect.irregular "it", "they"
|
||||
end
|
||||
|
||||
HOMEBREW_API_DEFAULT_DOMAIN = ENV.fetch("HOMEBREW_API_DEFAULT_DOMAIN").freeze
|
||||
HOMEBREW_BOTTLE_DEFAULT_DOMAIN = ENV.fetch("HOMEBREW_BOTTLE_DEFAULT_DOMAIN").freeze
|
||||
HOMEBREW_BREW_DEFAULT_GIT_REMOTE = ENV.fetch("HOMEBREW_BREW_DEFAULT_GIT_REMOTE").freeze
|
||||
|
Loading…
x
Reference in New Issue
Block a user