diff --git a/lib/ice_cube/i18n.rb b/lib/ice_cube/i18n.rb index 59ebfd63..274a73b6 100644 --- a/lib/ice_cube/i18n.rb +++ b/lib/ice_cube/i18n.rb @@ -3,6 +3,7 @@ module IceCube LOCALES_PATH = File.expand_path(File.join("..", "..", "config", "locales"), __dir__) + # rubocop:disable Naming/ConstantName I18n = begin require "i18n" ::I18n.load_path += Dir[File.join(LOCALES_PATH, "*.yml")] @@ -10,4 +11,5 @@ module IceCube rescue LoadError NullI18n end + # rubocop:enable Naming/ConstantName end