summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorValdnet <47037905+Valdnet@users.noreply.github.com>2022-04-27 09:04:00 +0200
committerGitHub <noreply@github.com>2022-04-27 09:04:00 +0200
commitcb1822014760964a669ec1b6ddb4fd71c382ba1f (patch)
treee2aa61e4b8424c31f9f6fff22bf9f7d0d64cf553 /lib
parentfec36ca91323fa72d82e5cc964019c2f21bbbca0 (diff)
downloadnextcloud-server-cb1822014760964a669ec1b6ddb4fd71c382ba1f.tar.gz
nextcloud-server-cb1822014760964a669ec1b6ddb4fd71c382ba1f.zip
l10n: Fix code
Issue: #32171. Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/OC_Util.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/legacy/OC_Util.php b/lib/private/legacy/OC_Util.php
index 8debe7a8968..b353cac5c5f 100644
--- a/lib/private/legacy/OC_Util.php
+++ b/lib/private/legacy/OC_Util.php
@@ -739,7 +739,7 @@ class OC_Util {
foreach (['secret', 'instanceid', 'passwordsalt'] as $requiredConfig) {
if ($config->getValue($requiredConfig, '') === '' && !\OC::$CLI && $config->getValue('installed', false)) {
$errors[] = [
- 'error' => $l->t('The required \'' . $requiredConfig . '\' config variable is not configued in the config.php file.'),
+ 'error' => $l->t('The required %s config variable is not configued in the config.php file.', [$requiredConfig]),
'hint' => $l->t('Please ask your server administrator to check the Nextcloud configuration.')
];
}