mirror of
https://github.com/postgres/postgres.git
synced 2026-10-23 13:29:09 +03:00
Fix warning message translatability
Pasting together sentences with placeholders is not suitable for translation. Write out both variants instead. Fix comma splice in the detail message while we're here.
This commit is contained in:
@@ -602,8 +602,10 @@ error:
|
||||
{
|
||||
ereport(WARNING,
|
||||
errcode(ERRCODE_CONFIG_FILE_ERROR),
|
||||
errmsg("SSL configuration not reloaded, SNI remains %s", SSL_hosts->sni_enabled ? "on" : "off"),
|
||||
errdetail("The SSL configuration failed to reload, previous configuration and SNI state will remain active."));
|
||||
SSL_hosts->sni_enabled ?
|
||||
errmsg("SSL configuration not reloaded, SNI remains on") :
|
||||
errmsg("SSL configuration not reloaded, SNI remains off"),
|
||||
errdetail("The SSL configuration failed to reload; the previous configuration and SNI state will remain active."));
|
||||
}
|
||||
|
||||
MemoryContextSwitchTo(oldcxt);
|
||||
|
||||
Reference in New Issue
Block a user