mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 23:11:03 +08:00
Don't use puts
here since it happens in tests
This commit is contained in:
@ -571,7 +571,7 @@ JS
|
|||||||
DiscoursePluginRegistry.register_locale(locale, opts)
|
DiscoursePluginRegistry.register_locale(locale, opts)
|
||||||
Rails.configuration.assets.precompile << "locales/#{locale}.js"
|
Rails.configuration.assets.precompile << "locales/#{locale}.js"
|
||||||
else
|
else
|
||||||
puts "Invalid locale! #{opts.inspect}"
|
Rails.logger.error "Invalid locale! #{opts.inspect}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user