FIX: Simplify post and topic deletion language (#13128)

Based on feedback from Matt Haughey, we don't need to use so many words when describing a deleted topic or post.

Co-authored-by: Martin Brennan <martin@discourse.org>
This commit is contained in:
Jeff Atwood
2021-05-24 19:04:10 -07:00
committed by GitHub
parent fccf4d4375
commit 50926f6143
5 changed files with 10 additions and 19 deletions

View File

@ -330,7 +330,7 @@ RSpec.describe DiscourseNarrativeBot::AdvancedUserNarrative do
post = Post.last
expect(post.raw).to eq(I18n.t('js.post.deleted_by_author', count: 1))
expect(post.raw).to eq(I18n.t('js.post.deleted_by_author_simple'))
PostDestroyer.destroy_stubs