diff options
author | Bruce Momjian | 2005-02-22 04:43:23 +0000 |
---|---|---|
committer | Bruce Momjian | 2005-02-22 04:43:23 +0000 |
commit | 0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e (patch) | |
tree | eb42bea6234c92d377cb52257855b4b882120e78 /src/bin/scripts/common.c | |
parent | 64011b4dce7db05bd7bb1911fe81fcc8f2da75e1 (diff) |
Use _() macro consistently rather than gettext(). Add translation
macros around strings that were missing them.
Diffstat (limited to 'src/bin/scripts/common.c')
-rw-r--r-- | src/bin/scripts/common.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/scripts/common.c b/src/bin/scripts/common.c index c84617b3edf..4bffa5003f8 100644 --- a/src/bin/scripts/common.c +++ b/src/bin/scripts/common.c @@ -5,7 +5,7 @@ * Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * - * $PostgreSQL: pgsql/src/bin/scripts/common.c,v 1.16 2005/01/08 22:51:14 tgl Exp $ + * $PostgreSQL: pgsql/src/bin/scripts/common.c,v 1.17 2005/02/22 04:41:30 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -168,9 +168,9 @@ executeQuery(PGconn *conn, const char *query, const char *progname, bool echo) int check_yesno_response(const char *string) { - if (strcmp(string, gettext(PG_YESLETTER)) == 0) + if (strcmp(string, _(PG_YESLETTER)) == 0) return 1; - else if (strcmp(string, gettext(PG_NOLETTER)) == 0) + else if (strcmp(string, _(PG_NOLETTER)) == 0) return 0; else return -1; |