Skip to content

Commit 6b4cfc5

Browse files
authored
Merge pull request #26231 from nextcloud/Valdnet-patch-6
l10n: Add words user and because in ShareByMailProvider.php
2 parents 1de45da + 1dab60a commit 6b4cfc5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

apps/sharebymail/lib/ShareByMailProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,8 @@ public function create(IShare $share) {
168168
*/
169169
$alreadyShared = $this->getSharedWith($shareWith, IShare::TYPE_EMAIL, $share->getNode(), 1, 0);
170170
if (!empty($alreadyShared)) {
171-
$message = 'Sharing %1$s failed, this item is already shared with %2$s';
172-
$message_t = $this->l->t('Sharing %1$s failed, this item is already shared with %2$s', [$share->getNode()->getName(), $shareWith]);
171+
$message = 'Sharing %1$s failed, because this item is already shared with user %2$s';
172+
$message_t = $this->l->t('Sharing %1$s failed, because this item is already shared with user %2$s', [$share->getNode()->getName(), $shareWith]);
173173
$this->logger->debug(sprintf($message, $share->getNode()->getName(), $shareWith), ['app' => 'Federated File Sharing']);
174174
throw new \Exception($message_t);
175175
}

0 commit comments

Comments
 (0)