diff --git a/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php b/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php index 89fdbc64d9a25..09bc7333c1320 100644 --- a/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php +++ b/apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php @@ -214,7 +214,7 @@ public function askForFederatedShare($token, $remote, $password = '', $owner = ' $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 @@ private function legacyMountPublicLink($token, $remote, $password, $name, $owner $storage->getScanner()->scanAll(); return new JSONResponse( [ - 'message' => $this->l->t('Federated Share successfully added'), + 'message' => $this->l->t('Federated share added'), 'legacyMount' => '1' ] );