mirror of
https://github.com/postgres/postgres.git
synced 2026-02-24 02:11:28 -05: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
0a29cf693d
commit
f98bc20dd1
2 changed files with 2 additions and 2 deletions
|
|
@ -373,7 +373,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)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -642,7 +642,7 @@ main(int argc, char **argv)
|
|||
lo;
|
||||
|
||||
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 a new issue