view src/po/fixfilenames.vim @ 22749:9ba58f7e5ae2

Added tag v8.2.1922 for changeset 837983942264bea7a93a04d545f04d277555218e
author Bram Moolenaar <Bram@vim.org>
date Thu, 29 Oct 2020 20:15:04 +0100
parents aa91480771fe
children 04563887d70e
line wrap: on
line source

" Invoked with the name "vim.pot" and a list of Vim script names.
" Converts them to a .js file, stripping comments, so that xgettext works.

set shortmess+=A

for name in argv()[1:]
  let jsname = fnamemodify(name, ":t:r") .. ".js"
  exe "%s+" .. jsname .. "+" .. substitute(name, '\\', '/', 'g') .. "+"
endfor

write
last
quit