Skip to content

Commit 3492d42

Browse files
authored
FIX: Add title to solved notifications (#226)
This commit adds a title that appears when hovering over solved notifications in the UI.
1 parent 6db8ab5 commit 3492d42

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

config/locales/client.en.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ en:
3131
no_answer:
3232
title: Has your question been answered?
3333
description: "Highlight the answer and help others by using the solution button below the correct reply."
34+
notification:
35+
title: "your post was marked as solution"
3436

3537
topic_statuses:
3638
solved:

plugin.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,7 @@ def self.accept_answer!(post, acting_user, topic: nil)
110110
message: "solved.accepted_notification",
111111
display_username: acting_user.username,
112112
topic_title: topic.title,
113+
title: "solved.notification.title",
113114
}.to_json
114115

115116
unless acting_user.id == post.user_id

0 commit comments

Comments
 (0)