提交 299ae435 编写于 作者: T Tom Lane

Adjust warning message about Windows console code page to point to

the right place in the docs, and gettext()ify it.
上级 0b72ebdc
......@@ -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);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册