]> granicus.if.org Git - postgresql/commitdiff
Adjust warning message about Windows console code page to point to
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 15 Jan 2005 05:43:06 +0000 (05:43 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 15 Jan 2005 05:43:06 +0000 (05:43 +0000)
the right place in the docs, and gettext()ify it.

src/bin/psql/startup.c

index 6945cc29d6e875fb67f2f0c98eea64f6800a6313..f6990761bae7c27eb22250808cdfc50075d2aca1 100644 (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);
        }
 }