comparison src/message.c @ 20162:7196cd9d8397 v8.2.0636

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 <Bram@vim.org> 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)
author Bram Moolenaar <Bram@vim.org>
date Sat, 25 Apr 2020 16:00:03 +0200
parents d64f403289db
children 5995db0fe84a
comparison
equal deleted inserted replaced
20161:62b955723f46 20162:7196cd9d8397
1033 p = p->next, c--); 1033 p = p->next, c--);
1034 } 1034 }
1035 1035
1036 if (p == first_msg_hist) 1036 if (p == first_msg_hist)
1037 { 1037 {
1038 #ifdef FEAT_MULTI_LANG
1039 s = get_mess_lang();
1040 #else
1038 s = mch_getenv((char_u *)"LANG"); 1041 s = mch_getenv((char_u *)"LANG");
1042 #endif
1039 if (s != NULL && *s != NUL) 1043 if (s != NULL && *s != NUL)
1040 // The next comment is extracted by xgettext and put in po file for 1044 // The next comment is extracted by xgettext and put in po file for
1041 // translators to read. 1045 // translators to read.
1042 msg_attr( 1046 msg_attr(
1043 // Translator: Please replace the name and email address 1047 // Translator: Please replace the name and email address