mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 17:15:11 +08:00
FIX: Add assets_topic_title to I18n
This commit is contained in:
@ -40,7 +40,7 @@ end
|
||||
if seed_welcome_topics
|
||||
puts "Seeding welcome topics"
|
||||
|
||||
PostCreator.create(Discourse.system_user, raw: I18n.t('assets_topic_body'), title: "Assets for the site design", skip_validations: true, category: staff ? staff.name : nil)
|
||||
PostCreator.create(Discourse.system_user, raw: I18n.t('assets_topic_body'), title: I18n.t('assets_topic_title'), skip_validations: true, category: staff ? staff.name : nil)
|
||||
|
||||
welcome = File.read(Rails.root + 'docs/WELCOME-TO-DISCOURSE.md')
|
||||
post = PostCreator.create(Discourse.system_user, raw: welcome, title: "Welcome to Discourse", skip_validations: true)
|
||||
|
Reference in New Issue
Block a user