diff src/po/check.vim @ 21998:4d5081260d5a v8.2.1548

patch 8.2.1548: cannot move position of "%%" in message translations Commit: https://github.com/vim/vim/commit/0b8cf278eca45241033033f9bf389e54669a8654 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Aug 30 19:42:06 2020 +0200 patch 8.2.1548: cannot move position of "%%" in message translations Problem: Cannot move position of "%%" in message translations. (Emir Sar?) Solution: Improve the check script.
author Bram Moolenaar <Bram@vim.org>
date Sun, 30 Aug 2020 19:45:03 +0200
parents 57927799c27e
children 7fb63ad3a9ab
line wrap: on
line diff
--- a/src/po/check.vim
+++ b/src/po/check.vim
@@ -22,6 +22,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', '', '')