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