'error' => $l->t('mbstring.func_overload is set to "%s" instead of the expected value "0"', [$iniWrapper->getString('mbstring.func_overload')]),
'hint' => $l->t('To fix this issue set <code>mbstring.func_overload</code> to <code>0</code> in your php.ini')
'error' => $l->t('<code>mbstring.func_overload</code> is set to <code>%s</code> instead of the expected value <code>0</code>.', [$iniWrapper->getString('mbstring.func_overload')]),
'hint' => $l->t('To fix this issue set <code>mbstring.func_overload</code> to <code>0</code> in your php.ini.')
];
}
@ -979,8 +979,8 @@ class OC_Util {
$version = $data['server_version'];
if (version_compare($version, '9.0.0', '<')) {
$errors[] = [
'error' => $l->t('PostgreSQL >= 9 required'),
'hint' => $l->t('Please upgrade your database version')
'error' => $l->t('PostgreSQL >= 9 required.'),
'hint' => $l->t('Please upgrade your database version.')
];
}
}
@ -1012,7 +1012,7 @@ class OC_Util {
if ($perms[2] !== '0') {
$l = \OC::$server->getL10N('lib');
return [[
'error' => $l->t('Your data directory is readable by other users'),
'error' => $l->t('Your data directory is readable by other users.'),
'hint' => $l->t('Please change the permissions to 0770 so that the directory cannot be listed by other users.'),
]];
}
@ -1032,13 +1032,13 @@ class OC_Util {
$errors = [];
if ($dataDirectory[0] !== '/') {
$errors[] = [
'error' => $l->t('Your data directory must be an absolute path'),
'hint' => $l->t('Check the value of "datadirectory" in your configuration')
'error' => $l->t('Your data directory must be an absolute path.'),
'hint' => $l->t('Check the value of "datadirectory" in your configuration.')
];
}
if (!file_exists($dataDirectory . '/.ocdata')) {
$errors[] = [
'error' => $l->t('Your data directory is invalid'),
'error' => $l->t('Your data directory is invalid.'),
'hint' => $l->t('Ensure there is a file called ".ocdata"' .
' in the root of the data directory.')
];
@ -1182,7 +1182,7 @@ class OC_Util {
$fp = @fopen($testFile, 'w');
if (!$fp) {
throw new \OCP\HintException('Can\'t create test file to check for working .htaccess file.',
'Make sure it is possible for the webserver to write to ' . $testFile);
'Make sure it is possible for the webserver to write to ' . $testFile);