Mercurial > vim
view runtime/compiler/tidy.vim @ 32499:0d2b75395eda v9.0.1581
patch 9.0.1581: translation does not work for plural argument
Commit: https://github.com/vim/vim/commit/a1d5f9f33c68d06475406d6f44d307d5e01adc01
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat May 27 13:40:11 2023 +0100
patch 9.0.1581: translation does not work for plural argument
Problem: Translation does not work for plural argument.
Solution: Use PLURAL_MSG() for errors and with xgettext. (closes https://github.com/vim/vim/issues/12443)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 27 May 2023 14:45:04 +0200 |
parents | 34b4eb3a8458 |
children | e1df51f68736 |
line wrap: on
line source
" Vim compiler file " Compiler: HTML Tidy " Maintainer: Doug Kearns <dougkearns@gmail.com> " Last Change: 2020 Sep 4 if exists("current_compiler") finish endif let current_compiler = "tidy" if exists(":CompilerSet") != 2 " older Vim always used :setlocal command -nargs=* CompilerSet setlocal <args> endif let s:cpo_save = &cpo set cpo&vim CompilerSet makeprg=tidy\ -quiet\ -errors\ --gnu-emacs\ yes CompilerSet errorformat=%f:%l:%c:\ %trror:\ %m, \%f:%l:%c:\ %tarning:\ %m, \%f:%l:%c:\ %tnfo:\ %m, \%f:%l:%c:\ %m, \%-G%.%# let &cpo = s:cpo_save unlet s:cpo_save