From b4b2947248ee07c26b4b2b3e152319dc71c01fe3 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Thu, 27 May 2021 15:37:39 +0200 Subject: [PATCH] Deduplicate translations and fix double . Signed-off-by: Joas Schilling --- lib/base.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/base.php b/lib/base.php index b433806ac3..16779f90e1 100644 --- a/lib/base.php +++ b/lib/base.php @@ -249,17 +249,17 @@ class OC { if (self::$CLI) { 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 $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"; exit; } else { OC_Template::printErrorPage( $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('Or, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it. See %s', - [ $urlGenerator->linkToDocs('admin-config') ]), + $l->t('This can usually be fixed by giving the webserver write access to the config directory.') . ' ' + . $l->t('But, if you prefer to keep config.php file read only, set the option "config_is_read_only" to true in it.') . ' ' + . $l->t('See %s', [ $urlGenerator->linkToDocs('admin-config') ]), 503 ); }