mirror of
https://github.com/postgres/postgres.git
synced 2025-06-14 18:42:34 +03:00
Use _() macro consistently rather than gettext(). Add translation
macros around strings that were missing them.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user