diff --git a/app/assets/javascripts/discourse-common/addon/lib/icon-library.js b/app/assets/javascripts/discourse-common/addon/lib/icon-library.js index 29a7601ae60..d2209d537a6 100644 --- a/app/assets/javascripts/discourse-common/addon/lib/icon-library.js +++ b/app/assets/javascripts/discourse-common/addon/lib/icon-library.js @@ -42,7 +42,8 @@ const REPLACEMENTS = { "notification.post_approved": "check", "notification.membership_request_accepted": "user-plus", "notification.membership_request_consolidated": "users", - "notification.reaction": "bell" + "notification.reaction": "bell", + "notification.votes_released": "plus" }; export function replaceIcon(source, destination) { diff --git a/app/models/notification.rb b/app/models/notification.rb index 242149d2785..b01ed3d3690 100644 --- a/app/models/notification.rb +++ b/app/models/notification.rb @@ -112,6 +112,7 @@ class Notification < ActiveRecord::Base membership_request_consolidated: 23, bookmark_reminder: 24, reaction: 25, + votes_released: 26, ) end diff --git a/config/locales/client.en.yml b/config/locales/client.en.yml index ee1ac1a9983..75d77f0e18f 100644 --- a/config/locales/client.en.yml +++ b/config/locales/client.en.yml @@ -1957,6 +1957,7 @@ en: membership_request_consolidated: "%{count} open membership requests for '%{group_name}'" reaction: "%{username} %{description}" reaction_2: "%{username}, %{username2} %{description}" + votes_released: "%{description} - completed" group_message_summary: one: "%{count} message in your %{group_name} inbox" @@ -1999,6 +2000,7 @@ en: post_approved: "post approved" membership_request_consolidated: "new membership requests" reaction: "new reaction" + votes_released: "Vote was released" upload_selector: title: "Add an image"