lib/daddy/itamae.rb in daddy-0.5.10 vs lib/daddy/itamae.rb in daddy-0.5.11

- old
+ new

@@ -34,10 +34,10 @@ end end require 'i18n' I18n.available_locales = [:en, :ja] -I18n.default_locale = ENV['LANG'].start_with?('ja_') ? :ja : en +I18n.default_locale = ENV['LANG'].start_with?('ja_') ? :ja : :en I18n.load_path += Dir.glob(File.expand_path('../../../itamae/locale/*.yml', __FILE__)) Dir[File.join(File.dirname(__FILE__), 'itamae', '*.rb')].each do |f| require f end