Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Mark response messages for translation in pg_isready.
authorFujii Masao <fujii@postgresql.org>
Thu, 27 Nov 2014 17:12:45 +0000 (02:12 +0900)
committerFujii Masao <fujii@postgresql.org>
Thu, 27 Nov 2014 17:14:16 +0000 (02:14 +0900)
Back-patch to 9.3 where pg_isready was added.

Mats Erik Andersson

src/bin/scripts/pg_isready.c

index 33b9ff7ffe166f6f8641c546be2eb71957a2cde4..faafb1e2d964aa57fea156accb186b6d02f5e91a 100644 (file)
@@ -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"));
        }
    }