From e656f5d2475f1c3c4099700a6f636cbfbe946ed2 Mon Sep 17 00:00:00 2001 From: Fujii Masao Date: Fri, 28 Nov 2014 02:12:45 +0900 Subject: [PATCH] Mark response messages for translation in pg_isready. Back-patch to 9.3 where pg_isready was added. Mats Erik Andersson --- src/bin/scripts/pg_isready.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/scripts/pg_isready.c b/src/bin/scripts/pg_isready.c index 7707bf13ea..e76bcbc2e5 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\n")); } }