Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 299ae43

Browse files
committed
Adjust warning message about Windows console code page to point to
the right place in the docs, and gettext()ify it.
1 parent 0b72ebd commit 299ae43

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/bin/psql/startup.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
55
*
6-
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.110 2005/01/14 00:25:17 momjian Exp $
6+
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.111 2005/01/15 05:43:06 tgl Exp $
77
*/
88
#include "postgres_fe.h"
99

@@ -670,9 +670,9 @@ checkWin32Codepage(void)
670670
concp = GetConsoleCP();
671671
if (wincp != concp)
672672
{
673-
printf("Warning: Console codepage (%u) differs from windows codepage (%u)\n"
674-
" 8-bit characters will not work correctly. See PostgreSQL\n"
675-
" documentation \"Installation on Windows\" for details.\n\n",
673+
printf(gettext("Warning: Console code page (%u) differs from Windows code page (%u)\n"
674+
" 8-bit characters may not work correctly. See psql reference\n"
675+
" page \"Notes for Windows users\" for details.\n\n"),
676676
concp, wincp);
677677
}
678678
}

0 commit comments

Comments
 (0)