From 62ba227155b59c59f4d2d926bf2d4ed7168a0d97 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Sun, 30 Aug 2020 21:19:07 -0400 Subject: vim-patch:8.2.1548: cannot move position of "%%" in message translations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Problem: Cannot move position of "%%" in message translations. (Emir Sarı) Solution: Improve the check script. https://github.com/vim/vim/commit/0b8cf278eca45241033033f9bf389e54669a8654 --- src/nvim/po/check.vim | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/nvim/po/check.vim b/src/nvim/po/check.vim index 650c6155e2..d55d4cfa4d 100644 --- a/src/nvim/po/check.vim +++ b/src/nvim/po/check.vim @@ -25,6 +25,7 @@ func! GetMline() " remove '%', not used for formatting. let idline = substitute(idline, "'%'", '', 'g') + let idline = substitute(idline, "%%", '', 'g') " remove '%' used for plural forms. let idline = substitute(idline, '\\nPlural-Forms: .\+;\\n', '', '') -- cgit