summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib
diff options
context:
space:
mode:
authorValdnet <47037905+Valdnet@users.noreply.github.com>2021-03-20 15:33:29 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2021-04-11 13:52:54 +0200
commit6da17a6fab438588b1838c0eef783e988edacf64 (patch)
treefe2f3485cd155a2ee73dd42b9424a588ca88d865 /apps/federatedfilesharing/lib
parent295fee91a887cd794447aeda3a7a06d7c9decf54 (diff)
downloadnextcloud-server-6da17a6fab438588b1838c0eef783e988edacf64.tar.gz
nextcloud-server-6da17a6fab438588b1838c0eef783e988edacf64.zip
l10n: Add word user in FederatedShareProvider.php
Standardizing text strings with other Nextcloud applications. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'apps/federatedfilesharing/lib')
-rw-r--r--apps/federatedfilesharing/lib/FederatedShareProvider.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/lib/FederatedShareProvider.php b/apps/federatedfilesharing/lib/FederatedShareProvider.php
index cd0ad49b6a5..47d0d84fb4c 100644
--- a/apps/federatedfilesharing/lib/FederatedShareProvider.php
+++ b/apps/federatedfilesharing/lib/FederatedShareProvider.php
@@ -190,7 +190,7 @@ class FederatedShareProvider implements IShareProvider {
$alreadySharedGroup = $this->getSharedWith($shareWith, IShare::TYPE_REMOTE_GROUP, $share->getNode(), 1, 0);
if (!empty($alreadyShared) || !empty($alreadySharedGroup)) {
$message = 'Sharing %1$s failed, because this item is already shared with %2$s';
- $message_t = $this->l->t('Sharing %1$s failed, because this item is already shared with %2$s', [$share->getNode()->getName(), $shareWith]);
+ $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);
}