summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php
diff options
context:
space:
mode:
authorAllan Nordhøy <epost@anotheragency.no>2017-07-14 17:28:57 +0200
committerGitHub <noreply@github.com>2017-07-14 17:28:57 +0200
commitde6b7668c1cd96dea8762b05548c83fe6d13f13a (patch)
tree5c51b3a7f67bd9e1f094b859073ab27588155ad3 /apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php
parenta79447c6fdad379a1d254e2e379ac45b6acd0345 (diff)
downloadnextcloud-server-de6b7668c1cd96dea8762b05548c83fe6d13f13a.tar.gz
nextcloud-server-de6b7668c1cd96dea8762b05548c83fe6d13f13a.zip
sent, an invitation, - successful
Diffstat (limited to 'apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php')
-rw-r--r--apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php b/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php
index 89fdbc64d9a..09bc7333c13 100644
--- a/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php
+++ b/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php
@@ -214,7 +214,7 @@ class MountPublicLinkController extends Controller {
$result = json_decode($body, true);
if (is_array($result) && isset($result['remoteUrl'])) {
- return new JSONResponse(['message' => $this->l->t('Federated Share request was successful, you will receive a invitation. Check your notifications.')]);
+ return new JSONResponse(['message' => $this->l->t('Federated Share request sent, you will receive an invitation. Check your notifications.')]);
}
// if we doesn't get the expected response we assume that we try to add
@@ -303,7 +303,7 @@ class MountPublicLinkController extends Controller {
$storage->getScanner()->scanAll();
return new JSONResponse(
[
- 'message' => $this->l->t('Federated Share successfully added'),
+ 'message' => $this->l->t('Federated share added'),
'legacyMount' => '1'
]
);