*** pgsql/src/bin/psql/describe.c 2009/03/25 13:11:43 1.202 --- pgsql/src/bin/psql/describe.c 2009/03/26 22:26:07 1.203 *************** *** 8,14 **** * * Copyright (c) 2000-2009, PostgreSQL Global Development Group * ! * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.201 2009/02/24 10:06:34 petere Exp $ */ #include "postgres_fe.h" --- 8,14 ---- * * Copyright (c) 2000-2009, PostgreSQL Global Development Group * ! * $PostgreSQL: pgsql/src/bin/psql/describe.c,v 1.202 2009/03/25 13:11:43 petere Exp $ */ #include "postgres_fe.h" *************** describeRoles(const char *pattern, bool *** 1891,1900 **** if (conns == 0) appendPQExpBuffer(&buf, _("No connections")); - else if (conns == 1) - appendPQExpBuffer(&buf, _("1 connection")); else ! appendPQExpBuffer(&buf, _("%d connections"), conns); } attr[i] = pg_strdup(buf.data); --- 1891,1898 ---- if (conns == 0) appendPQExpBuffer(&buf, _("No connections")); else ! appendPQExpBuffer(&buf, ngettext("1 connection", "%d connections", conns), conns); } attr[i] = pg_strdup(buf.data);