Skip to content

Commit 49e42aa

Browse files
authored
Merge pull request #52 from answeb/fix-translatable-email-subject
Make watchers' email subject translatable
2 parents 678b279 + c873c0d commit 49e42aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mail/PostAddedEmail.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public function __construct(Post $post)
3131
public function build()
3232
{
3333
return $this
34-
->subject('New Post Added to Discussion "'.$this->post->discussion->title.'"')
34+
->subject(__('New post added to discussion') . ' "'.$this->post->discussion->title.'"' )
3535
->markdown('firefly::mail.new-post');
3636
}
3737
}

0 commit comments

Comments
 (0)