mirror of
https://github.com/postgres/postgres.git
synced 2025-07-05 07:21:24 +03:00
NLS: Put list of available languages into LINGUAS files
This moves the list of available languages from nls.mk into a separate file called po/LINGUAS. Advantages: - It keeps the parts notionally managed by programmers (nls.mk) separate from the parts notionally managed by translators (LINGUAS). - It's the standard practice recommended by the Gettext manual nowadays. - The Meson build system also supports this layout (and of course doesn't know anything about our custom nls.mk), so this would enable sharing the list of languages between the two build systems. (The MSVC build system currently finds all po files by globbing, so it is not affected by this change.) Reviewed-by: Andres Freund <andres@anarazel.de> Discussion: https://www.postgresql.org/message-id/flat/557a9f5c-e871-edc7-2f58-a4140fb65b7b@enterprisedb.com
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
# src/bin/pg_test_fsync/nls.mk
|
||||
CATALOG_NAME = pg_test_fsync
|
||||
AVAIL_LANGUAGES = cs de el es fr ja ko pl ru sv tr uk vi zh_CN
|
||||
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) pg_test_fsync.c
|
||||
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) die
|
||||
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)
|
||||
|
1
src/bin/pg_test_fsync/po/LINGUAS
Normal file
1
src/bin/pg_test_fsync/po/LINGUAS
Normal file
@ -0,0 +1 @@
|
||||
cs de el es fr ja ko pl ru sv tr uk vi zh_CN
|
Reference in New Issue
Block a user