view src/po/fixfilenames.vim @ 24427:e255d418a91d

Added tag v8.2.2753 for changeset 78343859f42d5a6487f2fb5af11624ea110b74f2
author Bram Moolenaar <Bram@vim.org>
date Sat, 10 Apr 2021 22:45:05 +0200
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