changeset 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 b67dc7207a8e
children d89bfc708784
files src/po/check.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 0 deletions(-) [+]
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', '', '')
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    1548,
+/**/
     1547,
 /**/
     1546,