summaryrefslogtreecommitdiff
path: root/src/interfaces/libpq/fe-print.c
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2005-02-22 04:43:23 +0000
committerBruce Momjian <bruce@momjian.us>2005-02-22 04:43:23 +0000
commit0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e (patch)
treeeb42bea6234c92d377cb52257855b4b882120e78 /src/interfaces/libpq/fe-print.c
parent64011b4dce7db05bd7bb1911fe81fcc8f2da75e1 (diff)
downloadpostgresql-0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e.tar.gz
Use _() macro consistently rather than gettext(). Add translation
macros around strings that were missing them.
Diffstat (limited to 'src/interfaces/libpq/fe-print.c')
-rw-r--r--src/interfaces/libpq/fe-print.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/interfaces/libpq/fe-print.c b/src/interfaces/libpq/fe-print.c
index 345ebc263e..e6740a3d18 100644
--- a/src/interfaces/libpq/fe-print.c
+++ b/src/interfaces/libpq/fe-print.c
@@ -10,7 +10,7 @@
* didn't really belong there.
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.58 2004/12/31 22:03:50 pgsql Exp $
+ * $PostgreSQL: pgsql/src/interfaces/libpq/fe-print.c,v 1.59 2005/02/22 04:42:20 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -219,10 +219,10 @@ PQprint(FILE *fout,
if (po->expanded)
{
if (po->align)
- fprintf(fout, "%-*s%s Value\n",
- fieldMaxLen - fs_len, "Field", po->fieldSep);
+ fprintf(fout, libpq_gettext("%-*s%s Value\n"),
+ fieldMaxLen - fs_len, libpq_gettext("Field"), po->fieldSep);
else
- fprintf(fout, "%s%sValue\n", "Field", po->fieldSep);
+ fprintf(fout, libpq_gettext("%s%sValue\n"), libpq_gettext("Field"), po->fieldSep);
}
else
{
@@ -262,7 +262,7 @@ PQprint(FILE *fout,
"<table %s><caption align=high>%d</caption>\n",
po->tableOpt ? po->tableOpt : "", i);
else
- fprintf(fout, "-- RECORD %d --\n", i);
+ fprintf(fout, libpq_gettext("-- RECORD %d --\n"), i);
}
for (j = 0; j < nFields; j++)
do_field(po, res, i, j, fs_len, fields, nFields,