diff options
| author | Peter Eisentraut <peter_e@gmx.net> | 2001-06-02 18:25:18 +0000 |
|---|---|---|
| committer | Peter Eisentraut <peter_e@gmx.net> | 2001-06-02 18:25:18 +0000 |
| commit | e54203646176167271dc50a7b8f7bbe0d3ea6e75 (patch) | |
| tree | 06e6275b18f1d14afeda777f12f31a75d3c8b527 /src/bin/psql/mainloop.c | |
| parent | 58193c5f37838b49043925437e3c99711ca66407 (diff) | |
Native Language Support (NLS)
Use --enable-nls to turn it on; see installation instructions for details.
See developer's guide how to make use of it in programs and how to add
translations.
psql sources have been almost fully prepared and an incomplete German
translation has been provided. In the backend, only elog() calls are
currently translatable, and the provided German translation file is more
of a placeholder.
Diffstat (limited to 'src/bin/psql/mainloop.c')
| -rw-r--r-- | src/bin/psql/mainloop.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/bin/psql/mainloop.c b/src/bin/psql/mainloop.c index 1d5db855bb5..3c8e8ec268a 100644 --- a/src/bin/psql/mainloop.c +++ b/src/bin/psql/mainloop.c @@ -3,7 +3,7 @@ * * Copyright 2000 by PostgreSQL Global Development Group * - * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.39 2001/03/26 15:18:51 tgl Exp $ + * $Header: /cvsroot/pgsql/src/bin/psql/mainloop.c,v 1.40 2001/06/02 18:25:18 petere Exp $ */ #include "postgres_fe.h" #include "mainloop.h" @@ -19,7 +19,6 @@ #ifndef WIN32 #include <setjmp.h> sigjmp_buf main_loop_jmp; - #endif @@ -240,7 +239,7 @@ MainLoop(FILE *source) else { if (!QUIET()) - printf("Use \"\\q\" to leave %s.\n", pset.progname); + printf(gettext("Use \"\\q\" to leave %s.\n"), pset.progname); continue; } } |
