]> source.dussan.org Git - nextcloud-server.git/commitdiff
l10n: Spelling unification in Transifex.
authorValdnet <47037905+Valdnet@users.noreply.github.com>
Fri, 18 Mar 2022 09:14:34 +0000 (10:14 +0100)
committerGitHub <noreply@github.com>
Fri, 18 Mar 2022 09:14:34 +0000 (10:14 +0100)
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
apps/files_sharing/lib/Controller/ShareAPIController.php

index fef71a868d54d44d6f47af40dc8bf9ca9db60740..6375ee3d7030f9dd807a7df861ef2ed2f46dfa41 100644 (file)
@@ -471,7 +471,7 @@ class ShareAPIController extends OCSController {
                try {
                        $path = $userFolder->get($path);
                } catch (NotFoundException $e) {
-                       throw new OCSNotFoundException($this->l->t('Wrong path, file/folder doesn\'t exist'));
+                       throw new OCSNotFoundException($this->l->t('Wrong path, file/folder does not exist'));
                }
 
                $share->setNode($path);
@@ -808,7 +808,7 @@ class ShareAPIController extends OCSController {
                                $this->lock($node);
                        } catch (NotFoundException $e) {
                                throw new OCSNotFoundException(
-                                       $this->l->t('Wrong path, file/folder doesn\'t exist')
+                                       $this->l->t('Wrong path, file/folder does not exist')
                                );
                        } catch (LockedException $e) {
                                throw new OCSNotFoundException($this->l->t('Could not lock node'));
@@ -940,7 +940,7 @@ class ShareAPIController extends OCSController {
                        $node = $userFolder->get($path);
                        $this->lock($node);
                } catch (\OCP\Files\NotFoundException $e) {
-                       throw new OCSNotFoundException($this->l->t('Wrong path, file/folder doesn\'t exist'));
+                       throw new OCSNotFoundException($this->l->t('Wrong path, file/folder does not exist'));
                } catch (LockedException $e) {
                        throw new OCSNotFoundException($this->l->t('Could not lock path'));
                }