mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 21:11:10 +08:00
Send the locale of your site to the Discourse Hub
This commit is contained in:
@ -70,7 +70,8 @@ module DiscourseHub
|
|||||||
contact_email: SiteSetting.contact_email,
|
contact_email: SiteSetting.contact_email,
|
||||||
topic_count: Topic.listable_topics.count,
|
topic_count: Topic.listable_topics.count,
|
||||||
user_count: User.count,
|
user_count: User.count,
|
||||||
login_required: SiteSetting.login_required
|
login_required: SiteSetting.login_required,
|
||||||
|
locale: SiteSetting.default_locale
|
||||||
})
|
})
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user