mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Add missing gettext triggers
Commit d6607016c7 moved all the jsonapi.c error messages into
token_error(). This needs to be added to the various nls.mk files
that use this. Since that makes token_error() effectively a globally
known symbol, the name seems a bit too general, so rename to
json_token_error() for more clarity.
This commit is contained in:
@@ -14,6 +14,7 @@ GETTEXT_TRIGGERS = $(BACKEND_COMMON_GETTEXT_TRIGGERS) \
|
||||
syncrep_yyerror \
|
||||
report_invalid_record:2 \
|
||||
ereport_startup_progress \
|
||||
json_token_error:2 \
|
||||
json_manifest_parse_failure:2 \
|
||||
error_cb:2
|
||||
GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS) \
|
||||
@@ -23,6 +24,7 @@ GETTEXT_FLAGS = $(BACKEND_COMMON_GETTEXT_FLAGS) \
|
||||
write_stderr:1:c-format \
|
||||
report_invalid_record:2:c-format \
|
||||
ereport_startup_progress:1:c-format \
|
||||
json_token_error:2:c-format \
|
||||
error_cb:2:c-format
|
||||
|
||||
gettext-files: generated-parser-sources generated-headers
|
||||
|
||||
Reference in New Issue
Block a user