0
0
mirror of https://github.com/vim/vim.git synced 2025-07-24 10:45:12 -04:00

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 #5978)
This commit is contained in:
Bram Moolenaar 2020-04-25 15:45:37 +02:00
parent e93c968f52
commit 41f6918bf4
2 changed files with 6 additions and 0 deletions

View File

@ -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.

View File

@ -746,6 +746,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
636,
/**/
635,
/**/