Patch 8.2.4412

7 views
Skip to first unread message

Bram Moolenaar

unread,
Feb 18, 2022, 6:29:10 AM2/18/22
to vim...@googlegroups.com

Patch 8.2.4412
Problem: Translation cleanup script does not remove empty lines at end.
Solution: Remove empty lines at the end. (Ken Takata, closes #9794)
Files: src/po/cleanup.vim


*** ../vim-8.2.4411/src/po/cleanup.vim 2017-07-16 19:29:27.000000000 +0100
--- src/po/cleanup.vim 2022-02-18 11:23:16.382191979 +0000
***************
*** 18,24 ****
--- 18,26 ----
silent g/^msgid"/s//msgid "/
silent g/^msgstr ""\(\n"\)\@!/?^msgid?,.s/^/#\~ /

+ " clean up empty lines
silent g/^\n\n\n/.d
+ silent! %s/\n\+\%$//

if s:was_diff
setl diff
*** ../vim-8.2.4411/src/version.c 2022-02-17 21:30:22.227126637 +0000
--- src/version.c 2022-02-18 11:28:06.881766833 +0000
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 4412,
/**/

--
hundred-and-one symptoms of being an internet addict:
65. The last time you looked at the clock it was 11:30pm, and in what
seems like only a few seconds later, your sister runs past you to
catch her 7am school bus.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages