Use default locale as cmtool default
This commit is contained in:
@@ -10,7 +10,7 @@ module Cmtool
|
|||||||
if respond_to? :cmtool_locale
|
if respond_to? :cmtool_locale
|
||||||
I18n.locale = cmtool_locale
|
I18n.locale = cmtool_locale
|
||||||
else
|
else
|
||||||
I18n.locale = :en
|
I18n.locale = Rails.configuration.i18n.default_locale
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user