diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-03-22 09:42:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-22 09:42:01 +0100 |
commit | 6b4cfc580588b459fb3ca6053f645633241fdd7a (patch) | |
tree | 81c6dcb9392606f544c5996a2e833ae0b7b5b52d /apps/sharebymail/lib | |
parent | 1de45da3b6810c112b14cbbafbf6b64b8139c83c (diff) | |
parent | 1dab60a79d1a17e8146a7219b1d4f1d586e851ec (diff) | |
download | nextcloud-server-6b4cfc580588b459fb3ca6053f645633241fdd7a.tar.gz nextcloud-server-6b4cfc580588b459fb3ca6053f645633241fdd7a.zip |
Merge pull request #26231 from nextcloud/Valdnet-patch-6
l10n: Add words user and because in ShareByMailProvider.php
Diffstat (limited to 'apps/sharebymail/lib')
-rw-r--r-- | apps/sharebymail/lib/ShareByMailProvider.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/sharebymail/lib/ShareByMailProvider.php b/apps/sharebymail/lib/ShareByMailProvider.php index f368ed0a573..166b7aae390 100644 --- a/apps/sharebymail/lib/ShareByMailProvider.php +++ b/apps/sharebymail/lib/ShareByMailProvider.php @@ -168,8 +168,8 @@ class ShareByMailProvider implements IShareProvider { */ $alreadyShared = $this->getSharedWith($shareWith, IShare::TYPE_EMAIL, $share->getNode(), 1, 0); if (!empty($alreadyShared)) { - $message = 'Sharing %1$s failed, this item is already shared with %2$s'; - $message_t = $this->l->t('Sharing %1$s failed, this item is already shared with %2$s', [$share->getNode()->getName(), $shareWith]); + $message = 'Sharing %1$s failed, because this item is already shared with user %2$s'; + $message_t = $this->l->t('Sharing %1$s failed, because this item is already shared with user %2$s', [$share->getNode()->getName(), $shareWith]); $this->logger->debug(sprintf($message, $share->getNode()->getName(), $shareWith), ['app' => 'Federated File Sharing']); throw new \Exception($message_t); } |