From 3492d42a58a16d6df70443967d74a24897bb239c Mon Sep 17 00:00:00 2001 From: Osama Sayegh Date: Wed, 15 Feb 2023 16:30:33 +0300 Subject: [PATCH] FIX: Add title to solved notifications (#226) This commit adds a title that appears when hovering over solved notifications in the UI. --- config/locales/client.en.yml | 2 ++ plugin.rb | 1 + 2 files changed, 3 insertions(+) diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index f04e7a8..80c8afb 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -31,6 +31,8 @@ en: no_answer: title: Has your question been answered? description: "Highlight the answer and help others by using the solution button below the correct reply." + notification: + title: "your post was marked as solution" topic_statuses: solved: diff --git a/plugin.rb b/plugin.rb index 8dc6fc4..26df8f6 100644 --- a/plugin.rb +++ b/plugin.rb @@ -110,6 +110,7 @@ SQL message: "solved.accepted_notification", display_username: acting_user.username, topic_title: topic.title, + title: "solved.notification.title", }.to_json unless acting_user.id == post.user_id