From: Alvaro Herrera Date: Mon, 28 Dec 2015 13:50:35 +0000 (-0300) Subject: Fix translation domain in pg_basebackup X-Git-Tag: REL9_2_15~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4fb9e6109a40a084eef102f4b6a827a01d69dbb8;p=thirdparty%2Fpostgresql.git Fix translation domain in pg_basebackup For some reason, we've been overlooking the fact that pg_receivexlog and pg_recvlogical are using wrong translation domains all along, so their output hasn't ever been translated. The right domain is pg_basebackup, not their own executable names. Noticed by Ioseph Kim, who's been working on the Korean translation. Backpatch pg_receivexlog to 9.2 and pg_recvlogical to 9.4. --- diff --git a/src/bin/pg_basebackup/pg_receivexlog.c b/src/bin/pg_basebackup/pg_receivexlog.c index 8d6c624a9b6..1cb62982816 100644 --- a/src/bin/pg_basebackup/pg_receivexlog.c +++ b/src/bin/pg_basebackup/pg_receivexlog.c @@ -360,7 +360,7 @@ main(int argc, char **argv) int option_index; progname = get_progname(argv[0]); - set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_receivexlog")); + set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_basebackup")); if (argc > 1) {