Skip to content

Commit 7642492

Browse files
authored
Merge pull request #5741 from nextcloud/comradekingu-patch-6
Spelling: sent, an invitation, - successful
2 parents 79cf7d6 + de6b766 commit 7642492

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/federatedfilesharing/lib/Controller/MountPublicLinkController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ public function askForFederatedShare($token, $remote, $password = '', $owner = '
214214
$result = json_decode($body, true);
215215

216216
if (is_array($result) && isset($result['remoteUrl'])) {
217-
return new JSONResponse(['message' => $this->l->t('Federated Share request was successful, you will receive a invitation. Check your notifications.')]);
217+
return new JSONResponse(['message' => $this->l->t('Federated Share request sent, you will receive an invitation. Check your notifications.')]);
218218
}
219219

220220
// 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
303303
$storage->getScanner()->scanAll();
304304
return new JSONResponse(
305305
[
306-
'message' => $this->l->t('Federated Share successfully added'),
306+
'message' => $this->l->t('Federated share added'),
307307
'legacyMount' => '1'
308308
]
309309
);

0 commit comments

Comments
 (0)