mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-04 08:57:18 +02:00
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.
This commit is contained in:
parent
c886c30cc8
commit
c3e068b261
@ -383,7 +383,7 @@ main(int argc, char **argv)
|
||||
char *db_name;
|
||||
|
||||
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)
|
||||
{
|
||||
|
@ -645,7 +645,7 @@ main(int argc, char **argv)
|
||||
char *db_name;
|
||||
|
||||
progname = get_progname(argv[0]);
|
||||
set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_recvlogical"));
|
||||
set_pglocale_pgservice(argv[0], PG_TEXTDOMAIN("pg_basebackup"));
|
||||
|
||||
if (argc > 1)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user