Fix invalid locale error
This commit is contained in:
parent
999594dc07
commit
13b6825c2d
@ -5,6 +5,9 @@ require "cli/parser"
|
|||||||
require "erb"
|
require "erb"
|
||||||
require "i18n"
|
require "i18n"
|
||||||
|
|
||||||
|
I18n.backend.available_locales # Initialize locales so they can be overwritten.
|
||||||
|
I18n.backend.store_translations :en, support: { array: { last_word_connector: " and " } }
|
||||||
|
|
||||||
SOURCE_PATH = (HOMEBREW_LIBRARY_PATH/"manpages").freeze
|
SOURCE_PATH = (HOMEBREW_LIBRARY_PATH/"manpages").freeze
|
||||||
TARGET_MAN_PATH = (HOMEBREW_REPOSITORY/"manpages").freeze
|
TARGET_MAN_PATH = (HOMEBREW_REPOSITORY/"manpages").freeze
|
||||||
TARGET_DOC_PATH = (HOMEBREW_REPOSITORY/"docs").freeze
|
TARGET_DOC_PATH = (HOMEBREW_REPOSITORY/"docs").freeze
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user