From 7c7701af1279996c999507750d4beb79ee0f03e0 Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Mon, 23 Jul 2018 19:34:41 -0400 Subject: vim-patch:8.1.0111: .po files do not use recommended names Problem: .po files do not use recommended names. Solution: Give a warning if the recommended name is not used. Accept the recommended name for conversion. (Christian Brabandt, Ken Takata) https://github.com/vim/vim/commit/d1d037e90192ab64e4cec00b9d008b33bc69d979 --- src/nvim/po/check.vim | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/src/nvim/po/check.vim b/src/nvim/po/check.vim index a441a3fee2..eae27ef74d 100644 --- a/src/nvim/po/check.vim +++ b/src/nvim/po/check.vim @@ -173,12 +173,37 @@ elseif !plural && search('^"Plural-Forms: ', 'n') " We allow for a stray plural header, msginit adds one. endif +" Check that 8bit encoding is used instead of 8-bit +let cte = search('^"Content-Transfer-Encoding:\s\+8-bit', 'n') +let ctc = search('^"Content-Type:.*;\s\+\