Skip to content

Commit 00941bf

Browse files
committed
Localizability improvement.
1 parent b7489ac commit 00941bf

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/backend/libpq/auth.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.107 2003/07/26 15:22:22 momjian Exp $
11+
* $Header: /cvsroot/pgsql/src/backend/libpq/auth.c,v 1.108 2003/07/28 06:27:06 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -442,8 +442,9 @@ ClientAuthentication(Port *port)
442442
#ifdef USE_SSL
443443
ereport(FATAL,
444444
(errcode(ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION),
445-
errmsg("no pg_hba.conf entry for host \"%s\", user \"%s\", database \"%s\", SSL \"%s\"",
446-
hostinfo, port->user_name, port->database_name, port->ssl ? "on" : "off")));
445+
errmsg("no pg_hba.conf entry for host \"%s\", user \"%s\", database \"%s\", %s",
446+
hostinfo, port->user_name, port->database_name,
447+
port->ssl ? gettext("SSL on") : gettext("SSL off"))));
447448
#else
448449
ereport(FATAL,
449450
(errcode(ERRCODE_INVALID_AUTHORIZATION_SPECIFICATION),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy