aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2022-10-27 22:07:30 +0800
committerzeertzjq <zeertzjq@outlook.com>2022-10-28 08:04:57 +0800
commitbbbcd5393dc1ad02effc87d55665412ffaa19cc8 (patch)
tree231d1be8bd319797096033e5197ef9d04da848c2 /src
parent5568267ccb94924b9dcf7bfa5d52da0f16d161e4 (diff)
downloadrneovim-bbbcd5393dc1ad02effc87d55665412ffaa19cc8.tar.gz
rneovim-bbbcd5393dc1ad02effc87d55665412ffaa19cc8.tar.bz2
rneovim-bbbcd5393dc1ad02effc87d55665412ffaa19cc8.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/po/fixfilenames.vim2
1 files changed, 1 insertions, 1 deletions
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