Merge pull request #377 from bhollis/i18n

Append to I18n.load_path instead of replacing it
This commit is contained in:
Thomas Reynolds 2012-04-24 09:51:53 -07:00
commit 7580260706

View file

@ -12,7 +12,7 @@ module Middleman::CoreExtensions::I18n
# Needed for helpers as well
app.after_configuration do
::I18n.load_path = [Dir[File.join(root, locales_dir, "*.yml")]]
::I18n.load_path += [Dir[File.join(root, locales_dir, "*.yml")]]
::I18n.reload!
end
end