summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorValdnet <47037905+Valdnet@users.noreply.github.com>2021-04-12 14:02:34 +0200
committerMorris Jobke <hey@morrisjobke.de>2021-05-20 09:22:07 +0200
commit2137480a06f379b265ae16e49a35f5205037af1f (patch)
tree3536f3e4176bcefd0b03d8beb1864909b5ea2177 /lib/private/legacy
parent1abb48375ac5a2b76bb762ff1a954586f0403d8c (diff)
downloadnextcloud-server-2137480a06f379b265ae16e49a35f5205037af1f.tar.gz
nextcloud-server-2137480a06f379b265ae16e49a35f5205037af1f.zip
l10n: Unify spelling
Spelling unification in Nextcloud applications.
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/OC_Files.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/private/legacy/OC_Files.php b/lib/private/legacy/OC_Files.php
index addee2358dd..b46fc8c3768 100644
--- a/lib/private/legacy/OC_Files.php
+++ b/lib/private/legacy/OC_Files.php
@@ -216,13 +216,13 @@ class OC_Files {
self::unlockAllTheFiles($dir, $files, $getType, $view, $filename);
OC::$server->getLogger()->logException($ex);
$l = \OC::$server->getL10N('lib');
- \OC_Template::printErrorPage($l->t('Can\'t read file'), $ex->getMessage(), 200);
+ \OC_Template::printErrorPage($l->t('Cannot read file'), $ex->getMessage(), 200);
} catch (\Exception $ex) {
self::unlockAllTheFiles($dir, $files, $getType, $view, $filename);
OC::$server->getLogger()->logException($ex);
$l = \OC::$server->getL10N('lib');
$hint = method_exists($ex, 'getHint') ? $ex->getHint() : '';
- \OC_Template::printErrorPage($l->t('Can\'t read file'), $hint, 200);
+ \OC_Template::printErrorPage($l->t('Cannot read file'), $hint, 200);
}
}