summaryrefslogtreecommitdiffstats
path: root/src/po/fixfilenames.vim
diff options
context:
space:
mode:
authorChrist van Willegen <cvwillegen@gmail.com>2024-06-20 23:41:59 +0200
committerChristian Brabandt <cb@256bit.org>2024-06-20 23:41:59 +0200
commitce0ef910df837b9b961f007a0a35064cad85188b (patch)
treebd8b18ad704b6166904c78b706b1a4e359e3124b /src/po/fixfilenames.vim
parentf7f8f0b76dc6a3bf5d51825db65245221e5d265e (diff)
patch 9.1.0509: not possible to translate Vim script messagesv9.1.0509
Problem: not possible to translate Vim script messages (RestorerZ) Solution: implement bindtextdomain() and gettext() to support Vim script message translations (Christ van Willegen) fixes: #11637 closes: #12447 Signed-off-by: Christ van Willegen <cvwillegen@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'src/po/fixfilenames.vim')
-rw-r--r--src/po/fixfilenames.vim2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/po/fixfilenames.vim b/src/po/fixfilenames.vim
index 04bc0791c0..c92839e556 100644
--- a/src/po/fixfilenames.vim
+++ b/src/po/fixfilenames.vim
@@ -4,7 +4,7 @@
set shortmess+=A
for name in argv()[1:]
- let jsname = fnamemodify(name, ":t:r") .. ".js"
+ let jsname = fnamemodify(name, ":r:gs?\\~?_?:gs?\\.?_?:gs?/?__?:gs?\\?__?") .. ".js"
exe "%s+" .. jsname .. "+" .. substitute(name, '\\', '/', 'g') .. "+"
endfor