Rename internationalization module to avoid conflict with regular I18n module. Fixes #458.
This commit is contained in:
parent
092a82157d
commit
0d0d572c3a
|
@ -37,7 +37,7 @@ module Middleman
|
|||
|
||||
Middleman::Extensions.register(:i18n) do
|
||||
require "middleman-more/core_extensions/i18n"
|
||||
Middleman::CoreExtensions::I18n
|
||||
Middleman::CoreExtensions::Internationalization
|
||||
end
|
||||
|
||||
# Compass framework
|
||||
|
@ -118,4 +118,4 @@ module Middleman
|
|||
end
|
||||
end
|
||||
|
||||
Middleman::Application.register Middleman::More
|
||||
Middleman::Application.register Middleman::More
|
||||
|
|
|
@ -2,7 +2,7 @@ module Middleman
|
|||
module CoreExtensions
|
||||
|
||||
# i18n Namespace
|
||||
module I18n
|
||||
module Internationalization
|
||||
|
||||
# Setup extension
|
||||
class << self
|
||||
|
@ -120,4 +120,4 @@ module Middleman
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue