l10n: Unify spelling
Spelling unification in Nextcloud applications.
This commit is contained in:
parent
1abb48375a
commit
2137480a06
|
@ -216,13 +216,13 @@ class OC_Files {
|
||||||
self::unlockAllTheFiles($dir, $files, $getType, $view, $filename);
|
self::unlockAllTheFiles($dir, $files, $getType, $view, $filename);
|
||||||
OC::$server->getLogger()->logException($ex);
|
OC::$server->getLogger()->logException($ex);
|
||||||
$l = \OC::$server->getL10N('lib');
|
$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) {
|
} catch (\Exception $ex) {
|
||||||
self::unlockAllTheFiles($dir, $files, $getType, $view, $filename);
|
self::unlockAllTheFiles($dir, $files, $getType, $view, $filename);
|
||||||
OC::$server->getLogger()->logException($ex);
|
OC::$server->getLogger()->logException($ex);
|
||||||
$l = \OC::$server->getL10N('lib');
|
$l = \OC::$server->getL10N('lib');
|
||||||
$hint = method_exists($ex, 'getHint') ? $ex->getHint() : '';
|
$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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue