From: Bram Moolenaar Date: Sun, 30 Aug 2020 17:42:06 +0000 (+0200) Subject: patch 8.2.1548: cannot move position of "%%" in message translations X-Git-Tag: v8.2.1548 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b8cf278eca45241033033f9bf389e54669a8654;p=vim 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. --- diff --git a/src/po/check.vim b/src/po/check.vim index 454a05369..f94070feb 100644 --- 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', '', '') diff --git a/src/version.c b/src/version.c index b071bf53f..83bb9dcf0 100644 --- a/src/version.c +++ b/src/version.c @@ -754,6 +754,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1548, /**/ 1547, /**/