Mercurial > vim
annotate runtime/lang/menu_chinese_gb.936.vim @ 28415:813660733869 v8.2.4732
patch 8.2.4732: duplicate code to free fuzzy matches
Commit: https://github.com/vim/vim/commit/c6e0a5e98c07d898e829d62bd938b1cc1fd37e94
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 10 18:09:06 2022 +0100
patch 8.2.4732: duplicate code to free fuzzy matches
Problem: Duplicate code to free fuzzy matches.
Solution: Bring back fuzmatch_str_free().
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 10 Apr 2022 19:15:03 +0200 |
parents | a1effd6bb5ba |
children | 34c1f4cd0c18 |
rev | line source |
---|---|
6292
31f7581068a9
Update runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
3507
diff
changeset
|
1 " Menu Translations: Simplified Chinese |
31f7581068a9
Update runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
3507
diff
changeset
|
2 " Maintainer: Shun Bai <baishunde@gmail.com> |
31f7581068a9
Update runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
3507
diff
changeset
|
3 " Previous Maintainer: Yuheng Xie <elephant@linux.net.cn> |
27788
a1effd6bb5ba
patch 8.2.4420: menu translations are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
20130
diff
changeset
|
4 " Last Change: 2022 Feb 19 |
a1effd6bb5ba
patch 8.2.4420: menu translations are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
20130
diff
changeset
|
5 " Generated from menu_zh_cn.utf-8.vim, DO NOT EDIT |
7 | 6 |
7 " Quit when menu translations have already been done. | |
8 if exists("did_menu_trans") | |
9 finish | |
10 endif | |
11 let did_menu_trans = 1 | |
18053 | 12 let s:keepcpo = &cpo |
3507
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1125
diff
changeset
|
13 set cpo&vim |
7 | 14 |
15 scriptencoding cp936 | |
16 | |
17 " Help menu | |
18053 | 18 menutrans &Help 帮助(&H) |
19 " Help menuitems and dialog {{{1 | |
20 menutrans &Overview<Tab><F1> 概述(&O)<Tab><F1> | |
21 menutrans &User\ Manual 用户手册(&U) | |
22 menutrans &How-to\ Links 如何使用(&H) | |
23 menutrans &Find\.\.\. 查找(&F)\.\.\. | |
24 menutrans &Credits 致谢(&C) | |
25 menutrans Co&pying 版权(&P) | |
26 menutrans &Sponsor/Register 赞助/注册(&S) | |
27 menutrans O&rphans 拯救孤儿(&R) | |
28 menutrans &Version 版本(&V) | |
29 menutrans &About 关于(&A) | |
30 | |
31 " fun! s:Helpfind() | |
32 if !exists("g:menutrans_help_dialog") | |
33 let g:menutrans_help_dialog = "输入命令或单词以获得帮助:\n\n前缀 i_ 表示输入模式下的命令(如: i_CTRL-X)\n前缀 c_ 表示命令行下的编辑命令(如: c_<Del>)\n前缀 ' 表示选项名(如: 'shiftwidth')" | |
34 endif | |
35 " }}} | |
7 | 36 |
37 " File menu | |
18053 | 38 menutrans &File 文件(&F) |
39 " File menuitems {{{1 | |
40 menutrans &Open\.\.\.<Tab>:e 打开(&O)\.\.\.<Tab>:e | |
41 menutrans Sp&lit-Open\.\.\.<Tab>:sp 在拆分窗口打开(&L)\.\.\.<Tab>:sp | |
42 menutrans Open\ Tab\.\.\.<Tab>:tabnew 在标签页打开\.\.\.<Tab>:tabnew | |
43 menutrans &New<Tab>:enew 新建(&N)<Tab>:enew | |
44 menutrans &Close<Tab>:close 关闭(&C)<Tab>:close | |
45 menutrans &Save<Tab>:w 保存(&S)<Tab>:w | |
46 menutrans Save\ &As\.\.\.<Tab>:sav 另存为(&A)\.\.\.<Tab>:sav | |
47 menutrans Split\ &Diff\ With\.\.\. 拆分窗口以对比差异(Diff)(&D)\.\.\. | |
48 menutrans Split\ Patched\ &By\.\.\. 拆分窗口以进行修补(Patch)(&B)\.\.\. | |
49 menutrans &Print 打印(&P) | |
50 menutrans Sa&ve-Exit<Tab>:wqa 保存并退出(&V)<Tab>:wqa | |
51 menutrans E&xit<Tab>:qa 退出(&X)<Tab>:qa | |
52 " }}} | |
7 | 53 |
54 " Edit menu | |
18053 | 55 menutrans &Edit 编辑(&E) |
56 " Edit menuitems {{{1 | |
57 menutrans &Undo<Tab>u 撤销(&U)<Tab>u | |
58 menutrans &Redo<Tab>^R 恢复(&R)<Tab>^R | |
59 menutrans Rep&eat<Tab>\. 重复(&E)<Tab>\. | |
60 menutrans Cu&t<Tab>"+x 剪切(&T)<Tab>"+x | |
61 menutrans &Copy<Tab>"+y 复制(&C)<Tab>"+y | |
62 menutrans &Paste<Tab>"+gP 粘贴(&P)<Tab>"+gP | |
63 menutrans Put\ &Before<Tab>[p 粘贴到光标前(&B)<Tab>[p | |
64 menutrans Put\ &After<Tab>]p 粘贴到光标后(&A)<Tab>]p | |
65 menutrans &Delete<Tab>x 删除(&D)<Tab>x | |
66 menutrans &Select\ All<Tab>ggVG 全选(&S)<Tab>ggVG | |
67 menutrans &Find\.\.\. 查找(&F)\.\.\. | |
68 menutrans Find\ and\ Rep&lace\.\.\. 查找和替换(&L)\.\.\. | |
69 menutrans &Find<Tab>/ 查找(&F)<Tab>/ | |
70 menutrans Find\ and\ Rep&lace<Tab>:%s 查找和替换(&L)<Tab>:%s | |
71 menutrans Settings\ &Window 设置窗口(&W) | |
72 menutrans Startup\ &Settings 启动设置(&S) | |
7 | 73 |
836 | 74 " Edit/Global Settings |
18053 | 75 menutrans &Global\ Settings 全局设置(&G) |
76 " Edit.Global Settings menuitems and dialogs {{{2 | |
77 menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! 开/关高亮查找内容(&H)<Tab>:set\ hls! | |
78 menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! 开/关忽略大小写(&I)<Tab>:set\ ic! | |
79 menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! 开/关显示括号匹配(&S)<Tab>:set\ sm! | |
80 menutrans &Context\ Lines 上下文行数(&C) | |
81 menutrans &Virtual\ Edit 虚拟编辑(&V) | |
82 " Edit.Global Settings.Virtual Edit menuitems {{{3 | |
7 | 83 menutrans Never 从不 |
18053 | 84 menutrans Block\ Selection 只在选定矩形块时 |
85 menutrans Insert\ Mode 只在插入模式时 | |
86 menutrans Block\ and\ Insert 在选定矩形块和插入模式时 | |
87 menutrans Always 始终 | |
88 " }}} | |
89 menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! 开/关插入模式(&M)<Tab>:set\ im! | |
90 menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! 开/关\ Vi\ 兼容性(&O)<Tab>:set\ cp! | |
91 menutrans Search\ &Path\.\.\. 搜索路径(&P)\.\.\. | |
92 menutrans Ta&g\ Files\.\.\. 标记文件(Tags)(&G)\.\.\. | |
7 | 93 |
94 " GUI options | |
18053 | 95 menutrans Toggle\ &Toolbar 开/关工具栏(&T) |
96 menutrans Toggle\ &Bottom\ Scrollbar 开/关底部滚动条(&B) | |
97 menutrans Toggle\ &Left\ Scrollbar 开/关左侧滚动条(&L) | |
98 menutrans Toggle\ &Right\ Scrollbar 开/关右侧滚动条(&R) | |
99 | |
100 " fun! s:SearchP() | |
101 if !exists("g:menutrans_path_dialog") | |
102 let g:menutrans_path_dialog = "输入搜索路径。\n用逗号分隔目录名。" | |
103 endif | |
104 | |
105 " fun! s:TagFiles() | |
106 if !exists("g:menutrans_tags_dialog") | |
107 let g:menutrans_tags_dialog = "输入标记文件(Tags)名称。\n用逗号分隔文件名。" | |
108 endif | |
109 " }}} | |
7 | 110 |
111 " Edit/File Settings | |
18053 | 112 menutrans F&ile\ Settings 文件设置(&I) |
113 " Edit.File Settings menuitems and dialogs {{{2 | |
7 | 114 " Boolean options |
18053 | 115 menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! 开/关行号(&N)<Tab>:set\ nu! |
116 menutrans Toggle\ Relati&ve\ Line\ Numbering<Tab>:set\ rnu! 开/关相对行号(&V)<Tab>:set\ rnu! | |
117 menutrans Toggle\ &List\ Mode<Tab>:set\ list! 开/关列表模式(&L)<Tab>:set\ list! | |
118 menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! 开/关换行(&W)<Tab>:set\ wrap! | |
119 menutrans Toggle\ W&rapping\ at\ Word<Tab>:set\ lbr! 开/关词尾换行(&R)<Tab>:set\ lbr! | |
120 menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! 开/关制表符扩展(&E)<Tab>:set\ et! | |
121 menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! 开/关自动缩进(&A)<Tab>:set\ ai! | |
122 menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! 开/关\ C\ 语言式缩进(&C)<Tab>:set\ cin! | |
7 | 123 |
124 " other options | |
18053 | 125 menutrans &Shiftwidth 缩进宽度(&S) |
20130
a30d28e794de
patch 8.2.0620: error in menu translations
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
126 menutrans Soft\ &Tabstop 软制表位宽度(Soft\ Tabstop)(&T) |
18053 | 127 menutrans Te&xt\ Width\.\.\. 文本宽度(&X)\.\.\. |
128 menutrans &File\ Format\.\.\. 文件格式(&F)\.\.\. | |
129 | |
130 " fun! s:TextWidth() | |
131 if !exists("g:menutrans_textwidth_dialog") | |
132 let g:menutrans_textwidth_dialog = "输入文本宽度(每行最大字符数,0 表示禁用):" | |
133 endif | |
134 | |
135 " fun! s:FileFormat() | |
136 if !exists("g:menutrans_fileformat_dialog") | |
137 let g:menutrans_fileformat_dialog = "选择文件的保存格式:" | |
138 endif | |
139 if !exists("g:menutrans_fileformat_choices") | |
140 let g:menutrans_fileformat_choices = "&Unix\n&Dos\n&Mac\n取消(&C)" | |
141 endif | |
142 " }}} | |
143 menutrans Show\ C&olor\ Schemes\ in\ Menu 在菜单中显示配色方案(&O) | |
144 menutrans C&olor\ Scheme 配色方案(&O) | |
145 menutrans Show\ &Keymaps\ in\ Menu 在菜单中显示键盘映射(&K) | |
146 menutrans &Keymap 键盘映射(&K) | |
147 menutrans Select\ Fo&nt\.\.\. 选择字体(&N)\.\.\. | |
148 " }}} | |
7 | 149 |
150 " Programming menu | |
18053 | 151 menutrans &Tools 工具(&T) |
152 " Tools menuitems {{{1 | |
153 menutrans &Jump\ to\ This\ Tag<Tab>g^] 跳转到这个标记(Tag)(&J)<Tab>g^] | |
154 menutrans Jump\ &Back<Tab>^T 跳转回(&B)<Tab>^T | |
155 menutrans Build\ &Tags\ File 生成标记文件(Tags)(&T) | |
836 | 156 |
157 " Tools.Spelling Menu | |
18053 | 158 menutrans &Spelling 拼写检查(&S) |
159 " Tools.Spelling menuitems and dialog {{{2 | |
160 menutrans &Spell\ Check\ On 打开拼写检查(&S) | |
161 menutrans Spell\ Check\ &Off 关闭拼写检查(&O) | |
162 menutrans To\ &Next\ Error<Tab>]s 上一个错误(&N)<Tab>]s | |
163 menutrans To\ &Previous\ Error<Tab>[s 下一个错误(&P)<Tab>[s | |
164 menutrans Suggest\ &Corrections<Tab>z= 更正建议(&C)<Tab>z= | |
165 menutrans &Repeat\ Correction<Tab>:spellrepall 更正全部同类错误(&R)<Tab>:spellrepall | |
166 menutrans Set\ Language\ to\ "en" 设置语言为\ "en" | |
167 menutrans Set\ Language\ to\ "en_au" 设置语言为\ "en_au" | |
168 menutrans Set\ Language\ to\ "en_ca" 设置语言为\ "en_ca" | |
169 menutrans Set\ Language\ to\ "en_gb" 设置语言为\ "en_gb" | |
170 menutrans Set\ Language\ to\ "en_nz" 设置语言为\ "en_nz" | |
171 menutrans Set\ Language\ to\ "en_us" 设置语言为\ "en_us" | |
172 menutrans &Find\ More\ Languages 查找更多语言(&F) | |
173 | |
174 " func! s:SpellLang() | |
175 if !exists("g:menutrans_set_lang_to") | |
176 let g:menutrans_set_lang_to = "设置语言为" | |
177 endif | |
178 " }}} | |
7 | 179 |
180 " Tools.Fold Menu | |
18053 | 181 menutrans &Folding 折叠(&F) |
182 " Tools.Fold menuitems {{{2 | |
836 | 183 " open close folds |
18053 | 184 menutrans &Enable/Disable\ Folds<Tab>zi 启用/禁用折叠(&E)<Tab>zi |
185 menutrans &View\ Cursor\ Line<Tab>zv 展开光标所在行(&V)<Tab>zv | |
186 menutrans Vie&w\ Cursor\ Line\ Only<Tab>zMzx 只展开光标所在行(&W)<Tab>zMzx | |
187 menutrans C&lose\ More\ Folds<Tab>zm 折叠一级(&L)<Tab>zm | |
188 menutrans &Close\ All\ Folds<Tab>zM 折叠全部(&C)<Tab>zM | |
189 menutrans O&pen\ More\ Folds<Tab>zr 展开一级(&P)<Tab>zr | |
190 menutrans &Open\ All\ Folds<Tab>zR 展开全部(&O)<Tab>zR | |
7 | 191 " fold method |
18053 | 192 menutrans Fold\ Met&hod 折叠方式(&H) |
193 " Tools.Fold.Fold Method menuitems {{{3 | |
194 menutrans M&anual 手动(&A) | |
195 menutrans I&ndent 缩进(&N) | |
196 menutrans E&xpression 表达式(&X) | |
197 menutrans S&yntax 语法(&Y) | |
198 menutrans &Diff 差异(Diff)(&D) | |
199 menutrans Ma&rker 记号(Marker)(&R) | |
200 " }}} | |
836 | 201 " create and delete folds |
18053 | 202 menutrans Create\ &Fold<Tab>zf 创建折叠(&F)<Tab>zf |
203 menutrans &Delete\ Fold<Tab>zd 删除折叠(&D)<Tab>zd | |
204 menutrans Delete\ &All\ Folds<Tab>zD 删除全部折叠(&A)<Tab>zD | |
7 | 205 " moving around in folds |
18053 | 206 menutrans Fold\ Col&umn\ Width 折叠操作栏宽度(&W) |
207 " }}} | |
7 | 208 |
209 " Tools.Diff Menu | |
18053 | 210 menutrans &Diff 差异(Diff)(&D) |
211 " Tools.Diff menuitems {{{2 | |
212 menutrans &Update 刷新(&U) | |
213 menutrans &Get\ Block 采用对侧文本块(&G) | |
214 menutrans &Put\ Block 采用本侧文本块(&P) | |
215 " }}} | |
7 | 216 |
18053 | 217 menutrans &Make<Tab>:make 生成(Make)(&M)<Tab>:make |
218 menutrans &List\ Errors<Tab>:cl 列出错误(&L)<Tab>:cl | |
219 menutrans L&ist\ Messages<Tab>:cl! 列出消息(&I)<Tab>:cl! | |
220 menutrans &Next\ Error<Tab>:cn 下一个错误(&N)<Tab>:cn | |
221 menutrans &Previous\ Error<Tab>:cp 上一个错误(&P)<Tab>:cp | |
222 menutrans &Older\ List<Tab>:cold 较旧的错误列表(&O)<Tab>:cold | |
223 menutrans N&ewer\ List<Tab>:cnew 较新的错误列表(&E)<Tab>:cnew | |
224 menutrans Error\ &Window 错误窗口(&W) | |
225 " Tools.Error Window menuitems {{{2 | |
226 menutrans &Update<Tab>:cwin 刷新(&U)<Tab>:cwin | |
836 | 227 menutrans &Open<Tab>:copen 打开(&O)<Tab>:copen |
18053 | 228 menutrans &Close<Tab>:cclose 关闭(&C)<Tab>:cclose |
229 " }}} | |
230 menutrans Show\ Compiler\ Se&ttings\ in\ Menu 在菜单中显示编译器设置(&T) | |
231 menutrans Se&t\ Compiler 设置编译器(&T) | |
232 menutrans &Convert\ to\ HEX<Tab>:%!xxd 转换成十六进制(&C)<Tab>:%!xxd | |
233 menutrans Conve&rt\ Back<Tab>:%!xxd\ -r 转换回(&R)<Tab>:%!xxd\ -r | |
234 " }}} | |
7 | 235 |
18053 | 236 " Buffer menu |
237 menutrans &Buffers 缓冲区(&B) | |
238 " Buffer menuitems and dialog {{{1 | |
239 menutrans &Refresh\ Menu 刷新本菜单(&R) | |
240 menutrans &Delete 删除(&D) | |
241 menutrans &Alternate 切换(&A) | |
242 menutrans &Next 下一个(&N) | |
243 menutrans &Previous 上一个(&P) | |
244 | |
245 " func! s:BMMunge(fname, bnum) | |
246 if !exists("g:menutrans_no_file") | |
247 let g:menutrans_no_file = "[无文件]" | |
248 endif | |
249 " }}} | |
7 | 250 |
251 " Window menu | |
18053 | 252 menutrans &Window 窗口(&W) |
253 " Window menuitems {{{1 | |
254 menutrans &New<Tab>^Wn 新建(&N)<Tab>^Wn | |
255 menutrans S&plit<Tab>^Ws 拆分(&P)<Tab>^Ws | |
256 menutrans Sp&lit\ To\ #<Tab>^W^^ 拆分并显示缓冲区\ #(&L)<Tab>^W^^ | |
257 menutrans Split\ &Vertically<Tab>^Wv 垂直拆分(&V)<Tab>^Wv | |
258 menutrans Split\ File\ E&xplorer 拆分并打开文件浏览器(&X) | |
259 menutrans &Close<Tab>^Wc 关闭(&C)<Tab>^Wc | |
260 menutrans Close\ &Other(s)<Tab>^Wo 除此之外全部关闭(&O)<Tab>^Wo | |
261 menutrans Move\ &To 移动到(&T) | |
262 menutrans &Top<Tab>^WK 顶端(&T)<Tab>^WK | |
263 menutrans &Bottom<Tab>^WJ 底端(&B)<Tab>^WJ | |
264 menutrans &Left\ Side<Tab>^WH 左边(&L)<Tab>^WH | |
265 menutrans &Right\ Side<Tab>^WL 右边(&R)<Tab>^WL | |
266 menutrans Rotate\ &Up<Tab>^WR 向上轮换(&U)<Tab>^WR | |
267 menutrans Rotate\ &Down<Tab>^Wr 向下轮换(&D)<Tab>^Wr | |
268 menutrans &Equal\ Size<Tab>^W= 平均分布(&E)<Tab>^W= | |
269 menutrans &Max\ Height<Tab>^W_ 最大高度(&M)<Tab>^W | |
270 menutrans M&in\ Height<Tab>^W1_ 最小高度(&I)<Tab>^W1_ | |
271 menutrans Max\ &Width<Tab>^W\| 最大宽度(&W)<Tab>^W\| | |
272 menutrans Min\ Widt&h<Tab>^W1\| 最小宽度(&H)<Tab>^W1\| | |
273 " }}} | |
274 | |
275 " The popup menu {{{1 | |
276 menutrans &Undo 撤销(&U) | |
277 menutrans Cu&t 剪切(&T) | |
278 menutrans &Copy 复制(&C) | |
279 menutrans &Paste 粘贴(&P) | |
280 menutrans &Delete 删除(&D) | |
281 menutrans Select\ Blockwise 改为选定矩形块 | |
282 menutrans Select\ &Word 选定单词(&W) | |
283 menutrans Select\ &Sentence 选定句(&S) | |
284 menutrans Select\ Pa&ragraph 选定段落(&R) | |
285 menutrans Select\ &Line 选定行(&L) | |
286 menutrans Select\ &Block 选定矩形块(&B) | |
287 menutrans Select\ &All 全选(&A) | |
288 | |
289 " func! <SID>SpellPopup() | |
290 if !exists("g:menutrans_spell_change_ARG_to") | |
291 let g:menutrans_spell_change_ARG_to = '将\ "%s"\ 更改为' | |
292 endif | |
293 if !exists("g:menutrans_spell_add_ARG_to_word_list") | |
294 let g:menutrans_spell_add_ARG_to_word_list = '将\ "%s"\ 添加到词典' | |
295 endif | |
296 if !exists("g:menutrans_spell_ignore_ARG") | |
297 let g:menutrans_spell_ignore_ARG = '忽略\ "%s"' | |
298 endif | |
299 " }}} | |
300 | |
301 " The GUI toolbar {{{1 | |
7 | 302 if has("toolbar") |
303 if exists("*Do_toolbar_tmenu") | |
304 delfun Do_toolbar_tmenu | |
305 endif | |
306 fun Do_toolbar_tmenu() | |
18053 | 307 let did_toolbar_tmenu = 1 |
308 tmenu ToolBar.Open 打开文件 | |
309 tmenu ToolBar.Save 保存当前文件 | |
310 tmenu ToolBar.SaveAll 全部保存 | |
311 tmenu ToolBar.Print 打印 | |
312 tmenu ToolBar.Undo 撤销 | |
313 tmenu ToolBar.Redo 恢复 | |
314 tmenu ToolBar.Cut 剪切到剪贴板 | |
315 tmenu ToolBar.Copy 复制到剪贴板 | |
316 tmenu ToolBar.Paste 从剪贴板粘贴 | |
317 if !has("gui_athena") | |
318 tmenu ToolBar.Replace 查找和替换... | |
319 tmenu ToolBar.FindNext 查找下一个 | |
320 tmenu ToolBar.FindPrev 查找上一个 | |
321 endif | |
322 tmenu ToolBar.LoadSesn 加载会话 | |
323 tmenu ToolBar.SaveSesn 保存当前会话 | |
324 tmenu ToolBar.RunScript 运行 Vim 脚本 | |
325 tmenu ToolBar.Make 生成当前项目 (:make) | |
326 tmenu ToolBar.RunCtags 在当前目录生成标记(Tags) (!ctags -R .) | |
327 tmenu ToolBar.TagJump 跳转到光标所在标记(Tag) | |
328 tmenu ToolBar.Help Vim 帮助 | |
329 tmenu ToolBar.FindHelp 在 Vim 帮助中查找 | |
7 | 330 endfun |
331 endif | |
18053 | 332 " }}} |
7 | 333 |
334 " Syntax menu | |
18053 | 335 menutrans &Syntax 语法(&S) |
336 " Syntax menuitems {{{1 | |
337 menutrans &Show\ File\ Types\ in\ Menu 在菜单中显示文件类型(&S) | |
338 menutrans &Off 关闭(&O) | |
339 menutrans &Manual 手动(&M) | |
340 menutrans A&utomatic 自动(&U) | |
341 menutrans On/Off\ for\ &This\ File 只对这个文件开/关(&T) | |
342 menutrans Co&lor\ Test 色彩测试(&L) | |
343 menutrans &Highlight\ Test 高亮测试(&H) | |
344 menutrans &Convert\ to\ HTML 转换成\ HTML(&C) | |
345 " From synmenu.vim | |
346 menutrans Set\ '&syntax'\ Only 只设置\ 'syntax'(&S) | |
347 menutrans Set\ '&filetype'\ Too 也设置\ 'filetype'(&F) | |
348 " }}} | |
349 | |
350 " Netrw menu {{{1 | |
351 " Plugin loading may be after menu translation | |
352 " So giveup testing if Netrw Plugin is loaded | |
353 " if exists("g:loaded_netrwPlugin") | |
354 menutrans Help<tab><F1> 帮助<tab><F1> | |
355 menutrans Bookmarks 书签 | |
356 menutrans History 历史记录 | |
357 menutrans Go\ Up\ Directory<tab>- 向上一级<tab>- | |
358 menutrans Apply\ Special\ Viewer<tab>x 用默认程序打开<tab>x | |
359 menutrans Bookmarks\ and\ History 书签和历史记录 | |
360 " Netrw.Bookmarks and History menuitems {{{2 | |
361 menutrans Bookmark\ Current\ Directory<tab>mb 添加书签<tab>mb | |
362 menutrans Bookmark\ Delete 移除书签 | |
363 menutrans Goto\ Prev\ Dir\ (History)<tab>u 后退(历史记录)<tab>u | |
364 menutrans Goto\ Next\ Dir\ (History)<tab>U 前进(历史记录)<tab>U | |
365 menutrans List<tab>qb 完整列表<tab>qb | |
366 " }}} | |
367 menutrans Browsing\ Control 控制 | |
368 " Netrw.Browsing Control menuitems {{{2 | |
369 menutrans Horizontal\ Split<tab>o 在拆分窗口打开<tab>o | |
370 menutrans Vertical\ Split<tab>v 在垂直拆分窗口打开<tab>v | |
371 menutrans New\ Tab<tab>t 在标签页打开<tab>t | |
372 menutrans Preview<tab>p 预览<tab>p | |
373 menutrans Edit\ File\ Hiding\ List<tab><ctrl-h> 编辑隐藏条件(Hiding\ List)<tab><ctrl-h> | |
374 menutrans Edit\ Sorting\ Sequence<tab>S 编辑排序条件(Sorting\ Sequence)<tab>S | |
375 menutrans Quick\ Hide/Unhide\ Dot\ Files<tab>gh 快速隐藏/显示以\.开头的文件<tab>gh | |
376 menutrans Refresh\ Listing<tab><ctrl-l> 刷新<tab><ctrl-l> | |
377 menutrans Settings/Options<tab>:NetrwSettings 设置/选项<tab>:NetrwSettings | |
378 " }}} | |
379 menutrans Delete\ File/Directory<tab>D 删除文件/目录<tab>D | |
380 menutrans Edit\ File/Dir 编辑文件/目录 | |
381 " Netrw.Edit File menuitems {{{2 | |
382 menutrans Create\ New\ File<tab>% 新建文件<tab>% | |
383 menutrans In\ Current\ Window<tab><cr> 在当前窗口<tab><cr> | |
384 menutrans Preview\ File/Directory<tab>p 预览文件/目录<tab>p | |
385 menutrans In\ Previous\ Window<tab>P 在上一个窗口<tab>P | |
386 menutrans In\ New\ Window<tab>o 在新窗口<tab>o | |
387 menutrans In\ New\ Tab<tab>t 在新标签页<tab>t | |
388 menutrans In\ New\ Vertical\ Window<tab>v 在新垂直窗口<tab>v | |
389 " }}} | |
390 menutrans Explore 浏览 | |
391 " Netrw.Explore menuitems {{{2 | |
392 menutrans Directory\ Name 指定目录名 | |
393 menutrans Filenames\ Matching\ Pattern\ (curdir\ only)<tab>:Explore\ */ 匹配指定文件名模式(当前目录)<tab>:Explore\ */ | |
394 menutrans Filenames\ Matching\ Pattern\ (+subdirs)<tab>:Explore\ **/ 匹配指定文件名模式(含子目录)<tab>:Explore\ **/ | |
395 menutrans Files\ Containing\ String\ Pattern\ (curdir\ only)<tab>:Explore\ *// 内容包含指定字符串模式(当前目录)<tab>:Explore\ *// | |
396 menutrans Files\ Containing\ String\ Pattern\ (+subdirs)<tab>:Explore\ **// 内容包含指定字符串模式(含子目录)<tab>:Explore\ **// | |
397 menutrans Next\ Match<tab>:Nexplore 下一个匹配项<tab>:Nexplore | |
398 menutrans Prev\ Match<tab>:Pexplore 上一个匹配项<tab>:Pexplore | |
399 " }}} | |
400 menutrans Make\ Subdirectory<tab>d 新建子目录<tab>d | |
401 menutrans Marked\ Files 选定的(Marked)文件 | |
402 " Netrw.Marked Files menuitems {{{2 | |
403 menutrans Mark\ File<tab>mf 选定(Mark)/取消<tab>mf | |
404 menutrans Mark\ Files\ by\ Regexp<tab>mr 用正则表达式(Regexp)选定<tab>mr | |
405 menutrans Hide-Show-List\ Control<tab>a 隐藏/显示<tab>a | |
406 menutrans Copy\ To\ Target<tab>mc 复制到目标<tab>mc | |
407 menutrans Delete<tab>D 删除<tab>D | |
408 menutrans Diff<tab>md 差异(Diff)<tab>md | |
409 menutrans Edit<tab>me 编辑<tab>me | |
410 menutrans Exe\ Cmd<tab>mx 作为参数运行命令<tab>mx | |
411 menutrans Move\ To\ Target<tab>mm 移动到目标<tab>mm | |
412 menutrans Obtain<tab>O 获取<tab>O | |
413 menutrans Print<tab>mp 打印<tab>mp | |
414 menutrans Replace<tab>R 替换<tab>R | |
415 menutrans Set\ Target<tab>mt 设置目标<tab>mt | |
416 menutrans Tag<tab>mT 生成标记文件(Tags)<tab>mT | |
417 menutrans Zip/Unzip/Compress/Uncompress<tab>mz 压缩/解压缩<tab>mz | |
418 " }}} | |
419 menutrans Obtain\ File<tab>O 获取文件<tab>O | |
420 menutrans Style 显示风格 | |
421 " Netrw.Style menuitems {{{2 | |
422 menutrans Listing 列表形式 | |
423 " Netrw.Style.Listing menuitems {{{3 | |
424 menutrans thin<tab>i 紧凑<thin)<tab>i | |
425 menutrans long<tab>i 详细(long)<tab>i | |
426 menutrans wide<tab>i 多列(wide)<tab>i | |
427 menutrans tree<tab>i 树状(tree)<tab>i | |
428 " }}} | |
429 menutrans Normal-Hide-Show 显示/隐藏 | |
430 " Netrw.Style.Normal-Hide_show menuitems {{{3 | |
431 menutrans Show\ All<tab>a 显示全部 | |
432 menutrans Normal<tab>a 不显示隐藏文件 | |
433 menutrans Hidden\ Only<tab>a 只显示隐藏文件 | |
434 " }}} | |
435 menutrans Reverse\ Sorting\ Order<tab>r 升序/降序<tab>r | |
436 menutrans Sorting\ Method 排序方式 | |
437 " Netrw.Style.Sorting Method menuitems {{{3 | |
438 menutrans Name<tab>s 文件名<tab>s | |
20130
a30d28e794de
patch 8.2.0620: error in menu translations
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
439 menutrans Time<tab>s 修改时间<tab>s |
a30d28e794de
patch 8.2.0620: error in menu translations
Bram Moolenaar <Bram@vim.org>
parents:
18053
diff
changeset
|
440 menutrans Size<tab>s 大小<tab>s |
18053 | 441 menutrans Exten<tab>s 扩展名<tab>s |
442 " }}} | |
443 " }}} | |
444 menutrans Rename\ File/Directory<tab>R 重命名文件/目录<tab>R | |
445 menutrans Set\ Current\ Directory<tab>c 设置\ Vim\ 工作目录<tab>c | |
446 menutrans Targets 目标 | |
447 " endif | |
448 " }}} | |
3507
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1125
diff
changeset
|
449 |
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1125
diff
changeset
|
450 let &cpo = s:keepcpo |
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1125
diff
changeset
|
451 unlet s:keepcpo |
18053 | 452 |
27788
a1effd6bb5ba
patch 8.2.4420: menu translations are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
20130
diff
changeset
|
453 " vim: set ts=4 sw=4 noet fdm=marker fdc=4 : |