Skip to content

Commit 88dad06

Browse files
committed
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
1 parent f29199d commit 88dad06

File tree

54 files changed

+41
-40
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

54 files changed

+41
-40
lines changed

doc/src/sgml/nls.sgml

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -175,10 +175,11 @@ make init-po
175175
Copy this file to
176176
<filename><replaceable>language</replaceable>.po</filename> and
177177
edit it. To make it known that the new language is available,
178-
also edit the file <filename>nls.mk</filename> and add the
179-
language (or language and country) code to the line that looks like:
178+
also edit the file <filename>po/LINGUAS</filename> and add the
179+
language (or language and country) code next to languages already listed,
180+
like:
180181
<programlisting>
181-
AVAIL_LANGUAGES := de fr
182+
de fr
182183
</programlisting>
183184
(Other languages can appear, of course.)
184185
</para>
@@ -375,16 +376,6 @@ fprintf(stderr, gettext("panic level %d\n"), lvl);
375376
</listitem>
376377
</varlistentry>
377378

378-
<varlistentry>
379-
<term><varname>AVAIL_LANGUAGES</varname></term>
380-
381-
<listitem>
382-
<para>
383-
List of provided translations &mdash; initially empty.
384-
</para>
385-
</listitem>
386-
</varlistentry>
387-
388379
<varlistentry>
389380
<term><varname>GETTEXT_FILES</varname></term>
390381

@@ -424,6 +415,12 @@ fprintf(stderr, gettext("panic level %d\n"), lvl);
424415
</para>
425416
</step>
426417

418+
<step>
419+
<para>
420+
Add a file <filename>po/LINGUAS</filename>, which will contain the list
421+
of provided translations &mdash; initially empty.
422+
</para>
423+
</step>
427424
</procedure>
428425

429426
<para>

src/backend/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/backend/nls.mk
22
CATALOG_NAME = postgres
3-
AVAIL_LANGUAGES = de es fr id it ja ko pl pt_BR ru sv tr uk zh_CN
43
GETTEXT_FILES = + gettext-files
54
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS) \
65
GUC_check_errmsg \

src/backend/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
de es fr id it ja ko pl pt_BR ru sv tr uk zh_CN

src/bin/initdb/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/initdb/nls.mk
22
CATALOG_NAME = initdb
3-
AVAIL_LANGUAGES = cs de el es fr he it ja ko pl pt_BR ru sv tr uk vi zh_CN
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) findtimezone.c initdb.c ../../common/exec.c ../../common/fe_memutils.c ../../common/file_utils.c ../../common/pgfnames.c ../../common/restricted_token.c ../../common/rmtree.c ../../common/username.c ../../common/wait_error.c ../../port/dirmod.c
54
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) simple_prompt
65
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)

src/bin/initdb/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr he it ja ko pl pt_BR ru sv tr uk vi zh_CN

src/bin/pg_amcheck/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/pg_amcheck/nls.mk
22
CATALOG_NAME = pg_amcheck
3-
AVAIL_LANGUAGES = de el es fr ja ru sv uk zh_CN
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
54
pg_amcheck.c \
65
../../fe_utils/cancel.c \

src/bin/pg_amcheck/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
de el es fr ja ru sv uk zh_CN

src/bin/pg_archivecleanup/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/pg_archivecleanup/nls.mk
22
CATALOG_NAME = pg_archivecleanup
3-
AVAIL_LANGUAGES = cs de el es fr ja ko pl ru sv tr uk vi zh_CN
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) pg_archivecleanup.c
54
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS)
65
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)

src/bin/pg_archivecleanup/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr ja ko pl ru sv tr uk vi zh_CN

src/bin/pg_basebackup/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/pg_basebackup/nls.mk
22
CATALOG_NAME = pg_basebackup
3-
AVAIL_LANGUAGES = cs de es fr he it ja ko pl pt_BR ru sv tr uk vi zh_CN
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
54
bbstreamer_file.c \
65
bbstreamer_gzip.c \

src/bin/pg_basebackup/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de es fr he it ja ko pl pt_BR ru sv tr uk vi zh_CN

src/bin/pg_checksums/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/pg_checksums/nls.mk
22
CATALOG_NAME = pg_checksums
3-
AVAIL_LANGUAGES = cs de el es fr ja ko ru sv tr uk zh_CN
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
54
pg_checksums.c \
65
../../fe_utils/option_utils.c

src/bin/pg_checksums/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr ja ko ru sv tr uk zh_CN

src/bin/pg_config/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# src/bin/pg_config/nls.mk
22
CATALOG_NAME = pg_config
3-
AVAIL_LANGUAGES = cs de el es fr he it ja ko nb pl pt_BR ro ru sv ta tr uk vi zh_CN zh_TW
43
GETTEXT_FILES = pg_config.c ../../common/config_info.c ../../common/exec.c

src/bin/pg_config/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr he it ja ko nb pl pt_BR ro ru sv ta tr uk vi zh_CN zh_TW

src/bin/pg_controldata/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/pg_controldata/nls.mk
22
CATALOG_NAME = pg_controldata
3-
AVAIL_LANGUAGES = cs de el es fr it ja ko pl pt_BR ru sv tr uk vi zh_CN
43
GETTEXT_FILES = pg_controldata.c ../../common/controldata_utils.c
54
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS)
65
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)

src/bin/pg_controldata/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr it ja ko pl pt_BR ru sv tr uk vi zh_CN

src/bin/pg_ctl/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# src/bin/pg_ctl/nls.mk
22
CATALOG_NAME = pg_ctl
3-
AVAIL_LANGUAGES = cs de el es fr he it ja ko pl pt_BR ru sv tr uk zh_CN
43
GETTEXT_FILES = pg_ctl.c ../../common/exec.c ../../common/fe_memutils.c ../../common/wait_error.c ../../port/path.c

src/bin/pg_ctl/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr he it ja ko pl pt_BR ru sv tr uk zh_CN

src/bin/pg_dump/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/pg_dump/nls.mk
22
CATALOG_NAME = pg_dump
3-
AVAIL_LANGUAGES = cs de el es fr he it ja ko pl pt_BR ru sv tr uk zh_CN
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
54
pg_backup_archiver.c pg_backup_db.c pg_backup_custom.c \
65
pg_backup_null.c pg_backup_tar.c \

src/bin/pg_dump/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr he it ja ko pl pt_BR ru sv tr uk zh_CN

src/bin/pg_resetwal/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/pg_resetwal/nls.mk
22
CATALOG_NAME = pg_resetwal
3-
AVAIL_LANGUAGES = cs de el es fr it ja ko pl pt_BR ru sv tr uk zh_CN
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) pg_resetwal.c ../../common/restricted_token.c
54
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS)
65
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)

src/bin/pg_resetwal/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr it ja ko pl pt_BR ru sv tr uk zh_CN

src/bin/pg_rewind/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/pg_rewind/nls.mk
22
CATALOG_NAME = pg_rewind
3-
AVAIL_LANGUAGES = cs de el es fr it ja ko pl pt_BR ru sv tr uk zh_CN
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) datapagemap.c file_ops.c filemap.c libpq_source.c local_source.c parsexlog.c pg_rewind.c timeline.c xlogreader.c ../../common/fe_memutils.c ../../common/restricted_token.c ../../fe_utils/archive.c ../../fe_utils/recovery_gen.c
54
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) report_invalid_record:2
65
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS) \

src/bin/pg_rewind/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr it ja ko pl pt_BR ru sv tr uk zh_CN

src/bin/pg_test_fsync/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/pg_test_fsync/nls.mk
22
CATALOG_NAME = pg_test_fsync
3-
AVAIL_LANGUAGES = cs de el es fr ja ko pl ru sv tr uk vi zh_CN
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) pg_test_fsync.c
54
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS) die
65
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)

src/bin/pg_test_fsync/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr ja ko pl ru sv tr uk vi zh_CN

src/bin/pg_test_timing/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# src/bin/pg_test_timing/nls.mk
22
CATALOG_NAME = pg_test_timing
3-
AVAIL_LANGUAGES = cs de el es fr ja ko pl ru sv tr uk vi zh_CN
43
GETTEXT_FILES = pg_test_timing.c

src/bin/pg_test_timing/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr ja ko pl ru sv tr uk vi zh_CN

src/bin/pg_upgrade/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/pg_upgrade/nls.mk
22
CATALOG_NAME = pg_upgrade
3-
AVAIL_LANGUAGES = cs de es fr ja ko ru sv tr uk zh_CN
43
GETTEXT_FILES = check.c controldata.c dump.c exec.c file.c function.c \
54
info.c option.c parallel.c pg_upgrade.c relfilenode.c \
65
server.c tablespace.c util.c version.c

src/bin/pg_upgrade/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de es fr ja ko ru sv tr uk zh_CN

src/bin/pg_verifybackup/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/pg_verifybackup/nls.mk
22
CATALOG_NAME = pg_verifybackup
3-
AVAIL_LANGUAGES = de el es fr ja ko ru sv uk zh_CN
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
54
parse_manifest.c \
65
pg_verifybackup.c \

src/bin/pg_verifybackup/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
de el es fr ja ko ru sv uk zh_CN

src/bin/pg_waldump/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/pg_waldump/nls.mk
22
CATALOG_NAME = pg_waldump
3-
AVAIL_LANGUAGES = cs de el es fr ja ko ru sv tr uk vi zh_CN
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) pg_waldump.c
54
GETTEXT_TRIGGERS = $(FRONTEND_COMMON_GETTEXT_TRIGGERS)
65
GETTEXT_FLAGS = $(FRONTEND_COMMON_GETTEXT_FLAGS)

src/bin/pg_waldump/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr ja ko ru sv tr uk vi zh_CN

src/bin/psql/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/psql/nls.mk
22
CATALOG_NAME = psql
3-
AVAIL_LANGUAGES = cs de el es fr he it ja ko pl pt_BR ru sv tr uk zh_CN zh_TW
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
54
command.c common.c copy.c crosstabview.c help.c input.c large_obj.c \
65
mainloop.c psqlscanslash.c startup.c \

src/bin/psql/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr he it ja ko pl pt_BR ru sv tr uk zh_CN zh_TW

src/bin/scripts/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/bin/scripts/nls.mk
22
CATALOG_NAME = pgscripts
3-
AVAIL_LANGUAGES = cs de el es fr he it ja ko pl pt_BR ru sv tr uk zh_CN
43
GETTEXT_FILES = $(FRONTEND_COMMON_GETTEXT_FILES) \
54
createdb.c createuser.c \
65
dropdb.c dropuser.c \

src/bin/scripts/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr he it ja ko pl pt_BR ru sv tr uk zh_CN

src/interfaces/ecpg/ecpglib/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/interfaces/ecpg/ecpglib/nls.mk
22
CATALOG_NAME = ecpglib
3-
AVAIL_LANGUAGES = cs de el es fr it ja ko pl pt_BR ru sv tr uk vi zh_CN
43
GETTEXT_FILES = connect.c descriptor.c error.c execute.c misc.c
54
GETTEXT_TRIGGERS = ecpg_gettext
65
GETTEXT_FLAGS = ecpg_gettext:1:pass-c-format
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr it ja ko pl pt_BR ru sv tr uk vi zh_CN

src/interfaces/ecpg/preproc/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/interfaces/ecpg/preproc/nls.mk
22
CATALOG_NAME = ecpg
3-
AVAIL_LANGUAGES = cs de el es fr it ja ko pl pt_BR ru sv tr uk vi zh_CN zh_TW
43
GETTEXT_FILES = descriptor.c ecpg.c pgc.c preproc.c type.c variable.c
54
GETTEXT_TRIGGERS = mmerror:3 mmfatal:2
65
GETTEXT_FLAGS = mmerror:3:c-format mmfatal:2:c-format
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr it ja ko pl pt_BR ru sv tr uk vi zh_CN zh_TW

src/interfaces/libpq/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/interfaces/libpq/nls.mk
22
CATALOG_NAME = libpq
3-
AVAIL_LANGUAGES = cs de el es fr he it ja ko pl pt_BR ru sv tr uk zh_CN zh_TW
43
GETTEXT_FILES = fe-auth.c fe-auth-scram.c fe-connect.c fe-exec.c fe-gssapi-common.c fe-lobj.c fe-misc.c fe-protocol3.c fe-secure.c fe-secure-common.c fe-secure-gssapi.c fe-secure-openssl.c win32.c ../../port/thread.c
54
GETTEXT_TRIGGERS = libpq_gettext pqInternalNotice:2
65
GETTEXT_FLAGS = libpq_gettext:1:pass-c-format pqInternalNotice:2:c-format

src/interfaces/libpq/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr he it ja ko pl pt_BR ru sv tr uk zh_CN zh_TW

src/nls-global.mk

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,16 @@
88
#
99
# CATALOG_NAME -- name of the message catalog (xxx.po); probably
1010
# name of the program
11-
# AVAIL_LANGUAGES -- list of languages that are provided/supported
1211
# GETTEXT_FILES -- list of source files that contain message strings
1312
# GETTEXT_TRIGGERS -- (optional) list of functions that contain
1413
# translatable strings
1514
# GETTEXT_FLAGS -- (optional) list of gettext --flag arguments to mark
1615
# function arguments that contain C format strings
1716
# (functions must be listed in TRIGGERS and FLAGS)
1817
#
18+
# Also, provide a text file 'po/LINGUAS' with a space-separated list
19+
# of languages that are provided/supported.
20+
#
1921
# That's all, the rest is done here, if --enable-nls was specified.
2022
#
2123
# The only user-visible targets here are 'init-po', to make an initial
@@ -27,6 +29,8 @@
2729
# existence checked by Makefile.global; otherwise we won't get here
2830
include $(srcdir)/nls.mk
2931

32+
AVAIL_LANGUAGES := $(shell sed -e "/^#/d" -e "s/#.*//" po/LINGUAS)
33+
3034
# If user specified the languages he wants in --enable-nls=LANGUAGES,
3135
# filter out the rest. Else use all available ones.
3236
ifdef WANTED_LANGUAGES

src/pl/plperl/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/pl/plperl/nls.mk
22
CATALOG_NAME = plperl
3-
AVAIL_LANGUAGES = cs de el es fr it ja ko pl pt_BR ro ru sv tr uk vi zh_CN zh_TW
43
GETTEXT_FILES = plperl.c SPI.c
54
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS)
65
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS)

src/pl/plperl/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr it ja ko pl pt_BR ro ru sv tr uk vi zh_CN zh_TW

src/pl/plpgsql/src/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/pl/plpgsql/src/nls.mk
22
CATALOG_NAME = plpgsql
3-
AVAIL_LANGUAGES = cs de el es fr it ja ko pl pt_BR ro ru sv tr uk vi zh_CN zh_TW
43
GETTEXT_FILES = pl_comp.c pl_exec.c pl_gram.c pl_funcs.c pl_handler.c pl_scanner.c
54
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS) yyerror plpgsql_yyerror
65
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS)

src/pl/plpgsql/src/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr it ja ko pl pt_BR ro ru sv tr uk vi zh_CN zh_TW

src/pl/plpython/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/pl/plpython/nls.mk
22
CATALOG_NAME = plpython
3-
AVAIL_LANGUAGES = cs de el es fr it ja ko pl pt_BR ru sv tr uk vi zh_CN
43
GETTEXT_FILES = plpy_cursorobject.c plpy_elog.c plpy_exec.c plpy_main.c plpy_planobject.c plpy_plpymodule.c \
54
plpy_procedure.c plpy_resultobject.c plpy_spi.c plpy_subxactobject.c plpy_typeio.c plpy_util.c
65
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS) PLy_elog:2 PLy_exception_set:2 PLy_exception_set_plural:2,3

src/pl/plpython/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr it ja ko pl pt_BR ru sv tr uk vi zh_CN

src/pl/tcl/nls.mk

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
# src/pl/tcl/nls.mk
22
CATALOG_NAME = pltcl
3-
AVAIL_LANGUAGES = cs de el es fr it ja ko pl pt_BR ro ru sv tr uk vi zh_CN zh_TW
43
GETTEXT_FILES = pltcl.c
54
GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS)
65
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS)

src/pl/tcl/po/LINGUAS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cs de el es fr it ja ko pl pt_BR ro ru sv tr uk vi zh_CN zh_TW

0 commit comments

Comments
 (0)