]> granicus.if.org Git - vim/commitdiff
patch 8.2.1548: cannot move position of "%%" in message translations v8.2.1548
authorBram Moolenaar <Bram@vim.org>
Sun, 30 Aug 2020 17:42:06 +0000 (19:42 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 30 Aug 2020 17:42:06 +0000 (19:42 +0200)
Problem:    Cannot move position of "%%" in message translations. (Emir Sarı)
Solution:   Improve the check script.

src/po/check.vim
src/version.c

index 454a0536925380e4c50a235241058f1707a75532..f94070feb2409072dcddce125ab62c613be52221 100644 (file)
@@ -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', '', '')
index b071bf53f7958b44e7980ab8870af964acc3d658..83bb9dcf0771727150ce7173afa44f9d2cf904bd 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1548,
 /**/
     1547,
 /**/