diff options
author | Bruce Momjian <bruce@momjian.us> | 2005-02-22 04:43:23 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2005-02-22 04:43:23 +0000 |
commit | 0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e (patch) | |
tree | eb42bea6234c92d377cb52257855b4b882120e78 /src/port/sprompt.c | |
parent | 64011b4dce7db05bd7bb1911fe81fcc8f2da75e1 (diff) | |
download | postgresql-0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e.tar.gz postgresql-0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e.zip |
Use _() macro consistently rather than gettext(). Add translation
macros around strings that were missing them.
Diffstat (limited to 'src/port/sprompt.c')
-rw-r--r-- | src/port/sprompt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/port/sprompt.c b/src/port/sprompt.c index 9a6bee53b9f..3b97eea7ec6 100644 --- a/src/port/sprompt.c +++ b/src/port/sprompt.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $PostgreSQL: pgsql/src/port/sprompt.c,v 1.10 2004/12/31 22:03:53 pgsql Exp $ + * $PostgreSQL: pgsql/src/port/sprompt.c,v 1.11 2005/02/22 04:43:16 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -103,7 +103,7 @@ simple_prompt(const char *prompt, int maxlen, bool echo) if (prompt) { - fputs(gettext(prompt), termout); + fputs(_(prompt), termout); fflush(termout); } |