FIX: Add assets_topic_title to I18n

This commit is contained in:
Claas Augner
2016-12-26 15:38:48 +01:00
parent d46b0a7251
commit 59c04d0f37
2 changed files with 2 additions and 1 deletions

View File

@ -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)