diff options
author | Valdnet <47037905+Valdnet@users.noreply.github.com> | 2021-04-15 15:22:19 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2021-05-20 09:26:37 +0200 |
commit | 11dc65869d49e5820e614bdff68d15caec5e104e (patch) | |
tree | 6edfb70e304ca240968c76db5ced13848521cef1 /lib | |
parent | 998bcad80c15c19567f09d2a8f9e3be0aca8f760 (diff) | |
download | nextcloud-server-11dc65869d49e5820e614bdff68d15caec5e104e.tar.gz nextcloud-server-11dc65869d49e5820e614bdff68d15caec5e104e.zip |
l10n: Unify spelling
Spelling unification in Nextcloud applications.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/Share20/Manager.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/private/Share20/Manager.php b/lib/private/Share20/Manager.php index 00020c3a8f6..cc1bd58f254 100644 --- a/lib/private/Share20/Manager.php +++ b/lib/private/Share20/Manager.php @@ -349,7 +349,7 @@ class Manager implements IManager { // Check that we do not share with more permissions than we have if ($share->getPermissions() & ~$permissions) { $path = $userFolder->getRelativePath($share->getNode()->getPath()); - $message_t = $this->l->t('Can’t increase permissions of %s', [$path]); + $message_t = $this->l->t('Cannot increase permissions of %s', [$path]); throw new GenericShareException($message_t, $message_t, 404); } @@ -365,11 +365,11 @@ class Manager implements IManager { if ($share->getNode() instanceof \OCP\Files\File) { if ($share->getPermissions() & \OCP\Constants::PERMISSION_DELETE) { - $message_t = $this->l->t('Files can’t be shared with delete permissions'); + $message_t = $this->l->t('Files cannot be shared with delete permissions'); throw new GenericShareException($message_t); } if ($share->getPermissions() & \OCP\Constants::PERMISSION_CREATE) { - $message_t = $this->l->t('Files can’t be shared with create permissions'); + $message_t = $this->l->t('Files cannot be shared with create permissions'); throw new GenericShareException($message_t); } } @@ -441,7 +441,7 @@ class Manager implements IManager { $date->setTime(0, 0, 0); $date->add(new \DateInterval('P' . $defaultExpireDays . 'D')); if ($date < $expirationDate) { - $message = $this->l->n('Can’t set expiration date more than %n day in the future', 'Can’t set expiration date more than %n days in the future', $defaultExpireDays); + $message = $this->l->n('Cannot set expiration date more than %n day in the future', 'Cannot set expiration date more than %n days in the future', $defaultExpireDays); throw new GenericShareException($message, $message, 404); } } @@ -517,7 +517,7 @@ class Manager implements IManager { $date->setTime(0, 0, 0); $date->add(new \DateInterval('P' . $this->shareApiLinkDefaultExpireDays() . 'D')); if ($date < $expirationDate) { - $message = $this->l->n('Can’t set expiration date more than %n day in the future', 'Can’t set expiration date more than %n days in the future', $this->shareApiLinkDefaultExpireDays()); + $message = $this->l->n('Cannot set expiration date more than %n day in the future', 'Cannot set expiration date more than %n days in the future', $this->shareApiLinkDefaultExpireDays()); throw new GenericShareException($message, $message, 404); } } |