lib/openstax_kitchen.rb in openstax_kitchen-3.0.0 vs lib/openstax_kitchen.rb in openstax_kitchen-3.1.0

- old
+ new

@@ -49,10 +49,10 @@ require_all('kitchen', '*element.rb') require 'kitchen/element_factory' require_all('kitchen/directions') -I18n.load_path << file_glob('/locales/*.yml') +I18n.backend.load_translations(file_glob('/locales/*.yml')) I18n.available_locales.each do |available_locale| I18n.backend.store_translations(available_locale, Kitchen::TRANSLITERATIONS) end