From 0542b1e2fee5fe7c7fa1a83fa9fe81618b2bc69e Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 22 Feb 2005 04:43:23 +0000 Subject: Use _() macro consistently rather than gettext(). Add translation macros around strings that were missing them. --- src/port/strerror.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/port/strerror.c') diff --git a/src/port/strerror.c b/src/port/strerror.c index 414ea8aec39..00de19b62d5 100644 --- a/src/port/strerror.c +++ b/src/port/strerror.c @@ -1,4 +1,4 @@ -/* $PostgreSQL: pgsql/src/port/strerror.c,v 1.3 2003/11/29 22:41:31 pgsql Exp $ */ +/* $PostgreSQL: pgsql/src/port/strerror.c,v 1.4 2005/02/22 04:43:16 momjian Exp $ */ /* * strerror - map error number to descriptive string @@ -23,7 +23,7 @@ strerror(int errnum) if (errnum < 0 || errnum > sys_nerr) { - sprintf(buf, "unrecognized error %d", errnum); + sprintf(buf, _("unrecognized error %d"), errnum); return buf; } -- cgit v1.2.3