view src/po/fixfilenames.vim @ 26255:c69a537bd421

Added tag v8.2.3658 for changeset 3a13efec0016644e5d34c89a78f41defe023c7e5
author Bram Moolenaar <Bram@vim.org>
date Wed, 24 Nov 2021 12:30:05 +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