Hello there, the text response of pg_isready is hard coded in English. These short snippets really ought to be localized as well.
Best regards, Mats Erik Andersson >From eca5f0d8b72b7ae5508af2850977d999a0f2bca4 Mon Sep 17 00:00:00 2001 From: Mats Erik Andersson <b...@gisladisker.se> Date: Thu, 27 Nov 2014 11:58:34 +0100 Subject: [PATCH] pg_isready: Missing translation macro. Mark also response messages as translatable text snippets. --- src/bin/scripts/pg_isready.c | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/scripts/pg_isready.c b/src/bin/scripts/pg_isready.c index 7707bf1..9da3971 100644 --- a/src/bin/scripts/pg_isready.c +++ b/src/bin/scripts/pg_isready.c @@ -196,19 +196,19 @@ main(int argc, char **argv) switch (rv) { case PQPING_OK: - printf("accepting connections\n"); + printf(_("accepting connections\n")); break; case PQPING_REJECT: - printf("rejecting connections\n"); + printf(_("rejecting connections\n")); break; case PQPING_NO_RESPONSE: - printf("no response\n"); + printf(_("no response\n")); break; case PQPING_NO_ATTEMPT: - printf("no attempt\n"); + printf(_("no attempt\n")); break; default: - printf("unknown\n"); + printf(_("unknown response\n")); } } -- 1.7.3.2 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers