Skip to content

Commit 5b4fb2b

Browse files
committed
Rename regress.so's .mo file to postgresql-regress-VERSION.mo.
I originally used just "regress-VERSION.mo", but that seems too generic considering that some packagers will put this file into a system-wide directory. Per suggestion from Christoph Berg. Reported-by: Christoph Berg <myon@debian.org> Author: Tom Lane <tgl@sss.pgh.pa.us> Discussion: https://postgr.es/m/aULSW7Xqx5MqDW_1@msg.df7cb.de
1 parent 5cbaa00 commit 5b4fb2b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/test/regress/nls.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# src/test/regress/nls.mk
2-
CATALOG_NAME = regress
2+
CATALOG_NAME = postgresql-regress
33
GETTEXT_FILES = regress.c
44
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS)
55
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS)

src/test/regress/po/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Copyright (c) 2022-2025, PostgreSQL Global Development Group
22

3-
nls_targets += [i18n.gettext('regress-' + pg_version_major.to_string())]
3+
nls_targets += [i18n.gettext('postgresql-regress-' + pg_version_major.to_string())]

src/test/regress/regress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050

5151
/* define our text domain for translations */
5252
#undef TEXTDOMAIN
53-
#define TEXTDOMAIN PG_TEXTDOMAIN("regress")
53+
#define TEXTDOMAIN PG_TEXTDOMAIN("postgresql-regress")
5454

5555
#define EXPECT_TRUE(expr) \
5656
do { \

0 commit comments

Comments
 (0)