Content-Length: 285281 | pFad | http://github.com/postgrespro/postgres_cluster/commit/fc995bfdbfa52ddc50a6737ae4cc37be39215dd8

DF Fix translation domain in pg_basebackup · postgrespro/postgres_cluster@fc995bf · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/fc995bfdbfa52ddc50a6737ae4cc37be39215dd8

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy