Skip to content

Commit 975e6b9

Browse files
author
Vincent Petry
authored
Merge pull request #28702 from owncloud/stable10-cannot
[stable10] Remove apostrophe from error text
2 parents 27e43fb + 3c4a14b commit 975e6b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/private/legacy/files.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,13 +177,13 @@ public static function get($dir, $files, $params = null) {
177177
self::unlockAllTheFiles($dir, $files, $getType, $view, $filename);
178178
OC::$server->getLogger()->logException($ex);
179179
$l = \OC::$server->getL10N('core');
180-
\OC_Template::printErrorPage($l->t('Can\'t read file'), $ex->getMessage(), 403);
180+
\OC_Template::printErrorPage($l->t('File cannot be read'), $ex->getMessage(), 403);
181181
} catch (\Exception $ex) {
182182
self::unlockAllTheFiles($dir, $files, $getType, $view, $filename);
183183
OC::$server->getLogger()->logException($ex);
184184
$l = \OC::$server->getL10N('core');
185185
$hint = method_exists($ex, 'getHint') ? $ex->getHint() : '';
186-
\OC_Template::printErrorPage($l->t('Can\'t read file'), $hint);
186+
\OC_Template::printErrorPage($l->t('File cannot be read'), $hint);
187187
}
188188
}
189189

0 commit comments

Comments
 (0)