Skip to content

Commit 0b8cf27

Browse files
committed
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.
1 parent 02c037a commit 0b8cf27

2 files changed

Lines changed: 3 additions & 0 deletions

File tree

src/po/check.vim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ func! GetMline()
2222

2323
" remove '%', not used for formatting.
2424
let idline = substitute(idline, "'%'", '', 'g')
25+
let idline = substitute(idline, "%%", '', 'g')
2526

2627
" remove '%' used for plural forms.
2728
let idline = substitute(idline, '\\nPlural-Forms: .\+;\\n', '', '')

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -754,6 +754,8 @@ static char *(features[]) =
754754

755755
static int included_patches[] =
756756
{ /* Add new patch number below this line */
757+
/**/
758+
1548,
757759
/**/
758760
1547,
759761
/**/

0 commit comments

Comments
 (0)