Skip to content

Commit fc995bf

Browse files
committed
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.
1 parent 743229a commit fc995bf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/pg_basebackup/pg_receivexlog.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ main(int argc, char **argv)
383383
char *db_name;
384384

385385
progname = get_progname(argv[0]);
386-
set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_receivexlog"));
386+
set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_basebackup"));
387387

388388
if (argc > 1)
389389
{

src/bin/pg_basebackup/pg_recvlogical.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ main(int argc, char **argv)
645645
char *db_name;
646646

647647
progname = get_progname(argv[0]);
648-
set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_recvlogical"));
648+
set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_basebackup"));
649649

650650
if (argc > 1)
651651
{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy