sent, an invitation, - successful

This commit is contained in:
Allan Nordhøy 2017-07-14 17:28:57 +02:00 committed by Morris Jobke
parent ee3c7fc8cb
commit 8bc18a1b4d
1 changed files with 2 additions and 2 deletions

View 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'
]
);