Skip to content

Commit

Permalink
Fix Missing Link in Comment Notifications (#3049)
Browse files Browse the repository at this point in the history
  • Loading branch information
ayanaar authored Dec 14, 2023
1 parent a4c8c28 commit 2cea74d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
</span>

<span class="verb">
{{ notification.verb }}
{{ notification.verb.replace("has added a comment in", "has added a comment") }}
</span>

{% if target %}
Expand Down
4 changes: 3 additions & 1 deletion translate/src/modules/user/components/UserNotification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,9 @@ const Other = ({
<a href={actor.url}>{actor.anchor}</a>
</span>

<span className='verb'>{verb}</span>
<span className='verb'>
{verb.replace('has added a comment in', 'has added a comment')}
</span>

{!target ? null : (
<span className='target'>
Expand Down

0 comments on commit 2cea74d

Please sign in to comment.