1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-18 05:01:01 +03:00

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
This commit is contained in:
Tom Lane
2025-12-17 14:10:42 -05:00
parent 5cbaa00592
commit 5b4fb2b97d
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
# src/test/regress/nls.mk
CATALOG_NAME = regress
CATALOG_NAME = postgresql-regress
GETTEXT_FILES = regress.c
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS)
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS)

View File

@@ -1,3 +1,3 @@
# Copyright (c) 2022-2025, PostgreSQL Global Development Group
nls_targets += [i18n.gettext('regress-' + pg_version_major.to_string())]
nls_targets += [i18n.gettext('postgresql-regress-' + pg_version_major.to_string())]

View File

@@ -50,7 +50,7 @@
/* define our text domain for translations */
#undef TEXTDOMAIN
#define TEXTDOMAIN PG_TEXTDOMAIN("regress")
#define TEXTDOMAIN PG_TEXTDOMAIN("postgresql-regress")
#define EXPECT_TRUE(expr) \
do { \