]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
runtime: Changed old "Sponsor" menu item name to a new one
authorMuraoka Taro <koron.kaoriya@gmail.com>
Sun, 18 Jan 2026 20:45:06 +0000 (20:45 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 18 Jan 2026 20:45:06 +0000 (20:45 +0000)
Problem:  There is an unavailable "Sponsor/Register" item in the Help
          menu.
Solution: The item name has been unified to "Sponsor".

The item names of tlmenu, which are only valid in terminal mode, were
not updated, so unnecessary items that were unavailable were displayed.

This item is also very confusing when creating menu translations.

In addition, the indentation of an item with the same name in the
regular menu has been corrected.

closes: #19201

Signed-off-by: MURAOKA Taro <koron.kaoriya@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/menu.vim

index 992839c2a304715839e2951dd3efb819ab01cff8..f75c834e49da681e05e2727c394998caeb548bf3 100644 (file)
@@ -2,7 +2,7 @@
 " You can also use this as a start for your own set of menus.
 "
 " Maintainer:  The Vim Project <https://github.com/vim/vim>
-" Last Change: 2025 Dec 15
+" Last Change: 2026 Jan 18
 " Former Maintainer:   Bram Moolenaar <Bram@vim.org>
 
 " Note that ":an" (short for ":anoremenu") is often used to make a menu work
@@ -84,7 +84,7 @@ an <silent> 9999.40 &Help.&Find\.\.\. :call <SID>Helpfind()<CR>
 an 9999.45 &Help.-sep1-                        <Nop>
 an 9999.50 &Help.&Credits              :help credits<CR>
 an 9999.60 &Help.Co&pying              :help copying<CR>
-an 9999.70 &Help.&Sponsor        :help sponsor<CR>
+an 9999.70 &Help.&Sponsor              :help sponsor<CR>
 an 9999.70 &Help.O&rphans              :help kcc<CR>
 an 9999.75 &Help.-sep2-                        <Nop>
 an 9999.80 &Help.&Version              :version<CR>
@@ -98,7 +98,7 @@ if exists(':tlmenu')
   tlnoremenu 9999.45 &Help.-sep1-                      <Nop>
   tlnoremenu 9999.50 &Help.&Credits                    <C-W>:help credits<CR>
   tlnoremenu 9999.60 &Help.Co&pying                    <C-W>:help copying<CR>
-  tlnoremenu 9999.70 &Help.&Sponsor/Register           <C-W>:help sponsor<CR>
+  tlnoremenu 9999.70 &Help.&Sponsor                    <C-W>:help sponsor<CR>
   tlnoremenu 9999.70 &Help.O&rphans                    <C-W>:help kcc<CR>
   tlnoremenu 9999.75 &Help.-sep2-                      <Nop>
   tlnoremenu 9999.80 &Help.&Version                    <C-W>:version<CR>