Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfc995bf

Browse files
committed
Fix translation domain in pg_basebackup
For some reason, we've been overlooking the fact that pg_receivexlogand pg_recvlogical are using wrong translation domains all along,so their output hasn't ever been translated. The right domain ispg_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 parent743229a commitfc995bf

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)

[8]ページ先頭

©2009-2025 Movatter.jp