]> source.dussan.org Git - nextcloud-server.git/commitdiff
sent, an invitation, - successful
authorAllan Nordhøy <epost@anotheragency.no>
Fri, 14 Jul 2017 15:28:57 +0000 (17:28 +0200)
committerMorris Jobke <hey@morrisjobke.de>
Tue, 18 Jul 2017 07:12:24 +0000 (09:12 +0200)
apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php

index 89fdbc64d9a25bd41c70832ff5d156022f7d49b4..09bc7333c132035b14be3812f0f57ee18810e0ad 100644 (file)
@@ -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'
                                        ]
                                );