Adjust warning message about Windows console code page to point to

the right place in the docs, and gettext()ify it.
This commit is contained in:
Tom Lane 2005-01-15 05:43:06 +00:00
parent 0b72ebdc0c
commit 299ae4356b
1 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
*
* Copyright (c) 2000-2005, PostgreSQL Global Development Group
*
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.110 2005/01/14 00:25:17 momjian Exp $
* $PostgreSQL: pgsql/src/bin/psql/startup.c,v 1.111 2005/01/15 05:43:06 tgl Exp $
*/
#include "postgres_fe.h"
@ -670,9 +670,9 @@ checkWin32Codepage(void)
concp = GetConsoleCP();
if (wincp != concp)
{
printf("Warning: Console codepage (%u) differs from windows codepage (%u)\n"
" 8-bit characters will not work correctly. See PostgreSQL\n"
" documentation \"Installation on Windows\" for details.\n\n",
printf(gettext("Warning: Console code page (%u) differs from Windows code page (%u)\n"
" 8-bit characters may not work correctly. See psql reference\n"
" page \"Notes for Windows users\" for details.\n\n"),
concp, wincp);
}
}