From bbbcd5393dc1ad02effc87d55665412ffaa19cc8 Mon Sep 17 00:00:00 2001 From: zeertzjq Date: Thu, 27 Oct 2022 22:07:30 +0800 Subject: vim-patch:8.2.1585: messages in globals.h not translated Problem: Messages in globals.h not translated, xgettext on MS-Windows not fully supported. Solution: Add globals.h to list of input files. Update MS-Windows makefiles to improve message translations. (Ken Takata, closes vim/vim#6858) https://github.com/vim/vim/commit/fa57335e532e505ce9229ddb2354a593fb057561 Also update gettext() docs to match latest Vim. --- src/nvim/po/fixfilenames.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/nvim/po/fixfilenames.vim b/src/nvim/po/fixfilenames.vim index 65d448ce41..04bc0791c0 100644 --- a/src/nvim/po/fixfilenames.vim +++ b/src/nvim/po/fixfilenames.vim @@ -5,7 +5,7 @@ set shortmess+=A for name in argv()[1:] let jsname = fnamemodify(name, ":t:r") .. ".js" - exe "%s+" .. jsname .. "+" .. name .. "+" + exe "%s+" .. jsname .. "+" .. substitute(name, '\\', '/', 'g') .. "+" endfor write -- cgit