This commit is contained in:
Thomas Reynolds 2013-11-15 11:26:27 +00:00
parent 8a18da4e3d
commit f136af2aad

View file

@ -10,6 +10,11 @@ class Middleman::CoreExtensions::Internationalization < ::Middleman::Extension
def initialize(app, options_hash={}, &block)
super
# TODO
# If :directory_indexes is already active,
# throw a warning explaining the bug and telling the use
# to reverse the order.
# See https://github.com/svenfuchs/i18n/wiki/Fallbacks
unless options[:no_fallbacks]
require "i18n/backend/fallbacks"