Deduplicate translations and fix double .
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
46dbc8fa98
commit
b4b2947248
10
lib/base.php
10
lib/base.php
|
@ -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
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue