Mark response messages for translation in pg_isready.

Back-patch to 9.3 where pg_isready was added.

Mats Erik Andersson
This commit is contained in:
Fujii Masao 2014-11-28 02:12:45 +09:00
parent c168ba3112
commit e656f5d247

View File

@ -196,19 +196,19 @@ main(int argc, char **argv)
switch (rv) switch (rv)
{ {
case PQPING_OK: case PQPING_OK:
printf("accepting connections\n"); printf(_("accepting connections\n"));
break; break;
case PQPING_REJECT: case PQPING_REJECT:
printf("rejecting connections\n"); printf(_("rejecting connections\n"));
break; break;
case PQPING_NO_RESPONSE: case PQPING_NO_RESPONSE:
printf("no response\n"); printf(_("no response\n"));
break; break;
case PQPING_NO_ATTEMPT: case PQPING_NO_ATTEMPT:
printf("no attempt\n"); printf(_("no attempt\n"));
break; break;
default: default:
printf("unknown\n"); printf(_("unknown\n"));
} }
} }