lib/valvat/active_model.rb in valvat-0.3.4 vs lib/valvat/active_model.rb in valvat-0.3.5
- old
+ new
@@ -37,8 +37,6 @@
end
end
end
end
-%w(en de).each do |locale|
- I18n.load_path << "#{File.dirname(__FILE__)}/locales/#{locale}.yml"
-end
+I18n.load_path += Dir["#{File.dirname(__FILE__)}/locales/*.yml"]