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:14:16 +0900
commit75bac647f08beb2e64215b0118e9c505ca9feb9d (patch)
tree36e6b5ad86c9c7ce05bbda053d7d3d553befeb4d
parentc393847a1f8b35252f880853a2fd5eabd9a6d7b0 (diff)
downloadpostgresql-75bac647f08beb2e64215b0118e9c505ca9feb9d.tar.gz
postgresql-75bac647f08beb2e64215b0118e9c505ca9feb9d.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 33b9ff7ffe1..faafb1e2d96 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"));
}
}