# HG changeset patch # User Bram Moolenaar # Date 1587823203 -7200 # Node ID 7196cd9d8397915cbf9b2ef45db1a36528fd58b7 # Parent 62b955723f46bbfeb1811d970b327a34f94d05c7 patch 8.2.0636: :messages does not show the maintainer when $LANG is unset Commit: https://github.com/vim/vim/commit/41f6918bf4545de6a80c96d8c80f5f509f9a647f Author: Bram Moolenaar Date: Sat Apr 25 15:45:37 2020 +0200 patch 8.2.0636: :messages does not show the maintainer when $LANG is unset Problem: :messages does not show the maintainer when $LANG is unset. Solution: Call get_mess_lang() if available. (closes https://github.com/vim/vim/issues/5978) diff --git a/src/message.c b/src/message.c --- a/src/message.c +++ b/src/message.c @@ -1035,7 +1035,11 @@ ex_messages(exarg_T *eap) if (p == first_msg_hist) { +#ifdef FEAT_MULTI_LANG + s = get_mess_lang(); +#else s = mch_getenv((char_u *)"LANG"); +#endif if (s != NULL && *s != NUL) // The next comment is extracted by xgettext and put in po file for // translators to read. diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -747,6 +747,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 636, +/**/ 635, /**/ 634,