Commit 333977ed authored by alexpott's avatar alexpott

Issue #2568603 by dawehner, xjm, pguillard: Replace remaining !placeholder for...

Issue #2568603 by dawehner, xjm, pguillard: Replace remaining !placeholder for Non-URL HTML outputs only in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php
parent 4a7ffc91
......@@ -122,10 +122,9 @@ protected function checkEncoding() {
$this->pass(t('Database is encoded in UTF-8'));
}
else {
$this->fail(t('The %driver database must use %encoding encoding to work with Drupal. Recreate the database with %encoding encoding. See !link for more details.', array(
$this->fail(t('The %driver database must use %encoding encoding to work with Drupal. Recreate the database with %encoding encoding. See <a href="INSTALL.pgsql.txt">INSTALL.pgsql.txt</a> for more details.', array(
'%encoding' => 'UTF8',
'%driver' => $this->name(),
'!link' => '<a href="INSTALL.pgsql.txt">INSTALL.pgsql.txt</a>'
)));
}
}
......@@ -172,9 +171,9 @@ function checkBinaryOutput() {
'%setting' => 'bytea_output',
'%current_value' => 'hex',
'%needed_value' => 'escape',
'!query' => "<code>" . $query . "</code>",
'@query' => $query,
);
$this->fail(t("The %setting setting is currently set to '%current_value', but needs to be '%needed_value'. Change this by running the following query: !query", $replacements));
$this->fail(t("The %setting setting is currently set to '%current_value', but needs to be '%needed_value'. Change this by running the following query: <code>@query</code>", $replacements));
}
}
}
......@@ -225,9 +224,9 @@ public function checkStandardConformingStrings() {
'%setting' => 'standard_conforming_strings',
'%current_value' => 'off',
'%needed_value' => 'on',
'!query' => "<code>" . $query . "</code>",
'@query' => $query,
);
$this->fail(t("The %setting setting is currently set to '%current_value', but needs to be '%needed_value'. Change this by running the following query: !query", $replacements));
$this->fail(t("The %setting setting is currently set to '%current_value', but needs to be '%needed_value'. Change this by running the following query: <code>@query</code>", $replacements));
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment