From: Fujii Masao Date: Thu, 27 Nov 2014 17:12:45 +0000 (+0900) Subject: Mark response messages for translation in pg_isready. X-Git-Tag: REL9_5_ALPHA1~1139 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=e656f5d2475f1c3c4099700a6f636cbfbe946ed2;p=thirdparty%2Fpostgresql.git Mark response messages for translation in pg_isready. Back-patch to 9.3 where pg_isready was added. Mats Erik Andersson --- diff --git a/src/bin/scripts/pg_isready.c b/src/bin/scripts/pg_isready.c index 7707bf13ea1..e76bcbc2e5a 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")); } }