Commit fc995bfd authored by Alvaro Herrera's avatar Alvaro Herrera

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.
parent 743229a6
...@@ -383,7 +383,7 @@ main(int argc, char **argv) ...@@ -383,7 +383,7 @@ main(int argc, char **argv)
char *db_name; char *db_name;
progname = get_progname(argv[0]); 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) if (argc > 1)
{ {
......
...@@ -645,7 +645,7 @@ main(int argc, char **argv) ...@@ -645,7 +645,7 @@ main(int argc, char **argv)
char *db_name; char *db_name;
progname = get_progname(argv[0]); 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) if (argc > 1)
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment