mirror of
https://github.com/postgres/postgres.git
synced 2025-12-19 17:02:53 +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:
@@ -1,5 +1,5 @@
|
|||||||
# src/test/regress/nls.mk
|
# src/test/regress/nls.mk
|
||||||
CATALOG_NAME = regress
|
CATALOG_NAME = postgresql-regress
|
||||||
GETTEXT_FILES = regress.c
|
GETTEXT_FILES = regress.c
|
||||||
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS)
|
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS)
|
||||||
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS)
|
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS)
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
# Copyright (c) 2022-2025, PostgreSQL Global Development Group
|
# 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())]
|
||||||
|
|||||||
@@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
/* define our text domain for translations */
|
/* define our text domain for translations */
|
||||||
#undef TEXTDOMAIN
|
#undef TEXTDOMAIN
|
||||||
#define TEXTDOMAIN PG_TEXTDOMAIN("regress")
|
#define TEXTDOMAIN PG_TEXTDOMAIN("postgresql-regress")
|
||||||
|
|
||||||
#define EXPECT_TRUE(expr) \
|
#define EXPECT_TRUE(expr) \
|
||||||
do { \
|
do { \
|
||||||
|
|||||||
Reference in New Issue
Block a user