aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFujii Masao <fujii@postgresql.org>2014-11-28 02:12:45 +0900
committerFujii Masao <fujii@postgresql.org>2014-11-28 02:12:45 +0900
commite656f5d2475f1c3c4099700a6f636cbfbe946ed2 (patch)
tree1475fc58695c3ef2fafa2da68eab8da77dd33990
parentc168ba311228c523923f7ef7699cba96deedcc6d (diff)
downloadpostgresql-e656f5d2475f1c3c4099700a6f636cbfbe946ed2.tar.gz
postgresql-e656f5d2475f1c3c4099700a6f636cbfbe946ed2.zip
Mark response messages for translation in pg_isready.
Back-patch to 9.3 where pg_isready was added. Mats Erik Andersson
-rw-r--r--src/bin/scripts/pg_isready.c10
1 files changed, 5 insertions, 5 deletions
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"));
}
}