Compare commits

..

1 Commits

Author SHA1 Message Date
Joas Schilling b4b2947248
Deduplicate translations and fix double .
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-06-04 09:47:17 +02:00
1 changed files with 5 additions and 5 deletions

View File

@ -249,17 +249,17 @@ class OC {
if (self::$CLI) { if (self::$CLI) {
echo $l->t('Cannot write into "config" directory!')."\n"; echo $l->t('Cannot write into "config" directory!')."\n";
echo $l->t('This can usually be fixed by giving the webserver write access to the config directory')."\n"; echo $l->t('This can usually be fixed by giving the webserver write access to the config directory.')."\n";
echo "\n"; echo "\n";
echo $l->t('Or, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.')."\n"; echo $l->t('But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.')."\n";
echo $l->t('See %s', [ $urlGenerator->linkToDocs('admin-config') ])."\n"; echo $l->t('See %s', [ $urlGenerator->linkToDocs('admin-config') ])."\n";
exit; exit;
} else { } else {
OC_Template::printErrorPage( OC_Template::printErrorPage(
$l->t('Cannot write into "config" directory!'), $l->t('Cannot write into "config" directory!'),
$l->t('This can usually be fixed by giving the webserver write access to the config directory.') . '. ' $l->t('This can usually be fixed by giving the webserver write access to the config directory.') . ' '
. $l->t('Or, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it. See %s', . $l->t('But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.') . ' '
[ $urlGenerator->linkToDocs('admin-config') ]), . $l->t('See %s', [ $urlGenerator->linkToDocs('admin-config') ]),
503 503
); );
} }