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>2020-09-14 19:30:41 +0300
committerdartcafe <github@dartcafe.de>2020-09-14 19:30:41 +0300
commit4331d97550a8504761e5fcba191cf33ae4d3967a (patch)
tree380ff192beecdb1776a145fd39622ad5636f60a9 /lib
parentd2347c4c21ee879fef608472ff3d05e496a8369b (diff)
Added missing translation
Diffstat (limited to 'lib')
-rw-r--r--lib/Service/MailService.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Service/MailService.php b/lib/Service/MailService.php
index 43077414..1fc9d2bb 100644
--- a/lib/Service/MailService.php
+++ b/lib/Service/MailService.php
@@ -389,7 +389,7 @@ class MailService {
foreach ($log as $logItem) {
if ($logItem->getPollId() === $subscription->getPollId()) {
if ($poll->getAnonymous() || $poll->getShowResults() !== "always") {
- $displayUser = "A user";
+ $displayUser = $trans->t('A user');
} elseif ($this->userManager->get($logItem->getUserId()) instanceof IUser) {
$displayUser = $this->userManager->get($logItem->getUserId())->getDisplayName();
} else {