Change some errdetail() to errdetail_internal() This prevents marking the argument string for translation for gettext, and it also prevents the given string (which is already translated) from being translated at runtime.
Also, mark the strings used as arguments to check_rolespec_name for translation. Backpatch all the way back as appropriate. None of this is caught by any tests (necessarily so), so I verified it manually. Branch ------ REL_15_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1eeac95dc4a639c51ff6cc6e2ac6ae52dab32b32 Modified Files -------------- src/backend/catalog/dependency.c | 6 +++--- src/backend/commands/publicationcmds.c | 2 +- src/backend/commands/user.c | 4 ++-- src/backend/utils/adt/acl.c | 4 ++-- src/backend/utils/adt/jsonfuncs.c | 4 ++-- src/common/jsonapi.c | 4 ++-- 6 files changed, 12 insertions(+), 12 deletions(-)
