mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 16:25:37 +08:00
UX: Simplify narrative bot bio (#11820)
This commit is contained in:
parent
6d30e01d1c
commit
17e683d373
plugins/discourse-narrative-bot
@ -21,7 +21,7 @@ en:
|
|||||||
This badge is granted upon successful completion of the interactive advanced user tutorial. You’ve mastered the advanced tools of discussion — and now you’re fully licensed!
|
This badge is granted upon successful completion of the interactive advanced user tutorial. You’ve mastered the advanced tools of discussion — and now you’re fully licensed!
|
||||||
|
|
||||||
discourse_narrative_bot:
|
discourse_narrative_bot:
|
||||||
bio: "Hi, I’m not a real person. I’m a bot that can teach you about this site. To interact with me, send me a message or mention **`@%{discobot_username}`** anywhere."
|
bio: "Hi, I’m not a real person. I’m a bot that can teach you about this site. To interact with me, send me a message or mention me by name."
|
||||||
|
|
||||||
tl2_promotion_message:
|
tl2_promotion_message:
|
||||||
subject_template: "Now that you’ve been promoted, it’s time to learn about some advanced features!"
|
subject_template: "Now that you’ve been promoted, it’s time to learn about some advanced features!"
|
||||||
|
@ -49,7 +49,7 @@ bot.create_user_profile! if !bot.user_profile
|
|||||||
|
|
||||||
if !bot.user_profile.bio_raw
|
if !bot.user_profile.bio_raw
|
||||||
bot.user_profile.update!(
|
bot.user_profile.update!(
|
||||||
bio_raw: I18n.t('discourse_narrative_bot.bio', site_title: SiteSetting.title, discobot_username: bot.username)
|
bio_raw: I18n.t('discourse_narrative_bot.bio')
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user