Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/polls.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authordartcafe <github@dartcafe.de>2022-02-11 15:42:32 +0300
committerdartcafe <github@dartcafe.de>2022-02-11 15:42:32 +0300
commit263c9e5de3c6c5e624fc4da1918de850f42e7bb9 (patch)
tree09263d21c6e151ae07d65059f1d68bbd0915d54e /lib
parenta19747d97fd5661a2813774e7474d7745df68c78 (diff)
add missing CommentEvent::Add in notification mail
Signed-off-by: dartcafe <github@dartcafe.de>
Diffstat (limited to 'lib')
-rw-r--r--lib/Model/Mail/NotificationMail.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Model/Mail/NotificationMail.php b/lib/Model/Mail/NotificationMail.php
index 3b6d6d45..941cda67 100644
--- a/lib/Model/Mail/NotificationMail.php
+++ b/lib/Model/Mail/NotificationMail.php
@@ -99,6 +99,7 @@ class NotificationMail extends MailBase {
OptionEvent::CONFIRM => $this->l10n->t('A voting option has been confirmed.'),
OptionEvent::UNCONFIRM => $this->l10n->t('A voting option has been unconfirmed.'),
OptionEvent::DELETE => $this->l10n->t('A voting option has been removed.'),
+ CommentEvent::ADD => $this->l10n->t('%s has left a comment.', [$displayName]),
VoteEvent::SET => $this->l10n->t('%s has voted.', [$displayName]),
];