Mercurial > vim
annotate runtime/lang/menu_zh_cn.utf-8.vim @ 30839:942f1b3bc694 v9.0.0754
patch 9.0.0754: 'indentexpr' overrules lisp indenting in one situation
Commit: https://github.com/vim/vim/commit/a79b35b5781ae770334cec781d17fec3875f8108
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Oct 15 10:49:36 2022 +0100
patch 9.0.0754: 'indentexpr' overrules lisp indenting in one situation
Problem: 'indentexpr' overrules lisp indenting in one situation.
Solution: Add "else" to keep the lisp indent. (issue https://github.com/vim/vim/issues/11327)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 15 Oct 2022 12:00:03 +0200 |
parents | 34c1f4cd0c18 |
children | 83dfcad065f9 |
rev | line source |
---|---|
6292
31f7581068a9
Update runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
3507
diff
changeset
|
1 " Menu Translations: Simplified Chinese |
29403 | 2 " Maintainer: Ada (Haowen) Yu <me@yuhaowen.com> |
3 " Previous Maintainer: Shun Bai <baishunde@gmail.com>, Yuheng Xie <elephant@linux.net.cn> | |
29533 | 4 " Last Change: 2022 July 9 |
27788
a1effd6bb5ba
patch 8.2.4420: menu translations are inconsistent
Bram Moolenaar <Bram@vim.org>
parents:
20146
diff
changeset
|
5 " Original translations |
29403 | 6 " |
7 " Generated with the scripts from: | |
8 " | |
9 " https://github.com/adaext/vim-menutrans-helper | |
7 | 10 |
11 " Quit when menu translations have already been done. | |
29403 | 12 |
7 | 13 if exists("did_menu_trans") |
14 finish | |
15 endif | |
16 let did_menu_trans = 1 | |
18053 | 17 let s:keepcpo = &cpo |
3507
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1122
diff
changeset
|
18 set cpo&vim |
7 | 19 |
20 scriptencoding utf-8 | |
21 | |
22 " Help menu | |
29403 | 23 menutrans &Help 帮助(&H) |
18053 | 24 " Help menuitems and dialog {{{1 |
29403 | 25 menutrans &Overview<Tab><F1> 概述(&O)<Tab><F1> |
26 menutrans &User\ Manual 用户手册(&U) | |
27 menutrans &How-to\ Links 如何使用(&H) | |
28 menutrans &Find\.\.\. 查找(&F)\.\.\. | |
29 menutrans &Credits 致谢(&C) | |
30 menutrans Co&pying 版权(&P) | |
31 menutrans &Sponsor/Register 赞助/注册(&S) | |
32 menutrans O&rphans 拯救孤儿(&R) | |
33 menutrans &Version 版本(&V) | |
34 menutrans &About 关于(&A) | |
18053 | 35 |
36 " fun! s:Helpfind() | |
37 if !exists("g:menutrans_help_dialog") | |
38 let g:menutrans_help_dialog = "输入命令或单词以获得帮助:\n\n前缀 i_ 表示输入模式下的命令(如: i_CTRL-X)\n前缀 c_ 表示命令行下的编辑命令(如: c_<Del>)\n前缀 ' 表示选项名(如: 'shiftwidth')" | |
39 endif | |
40 " }}} | |
7 | 41 |
42 " File menu | |
29403 | 43 menutrans &File 文件(&F) |
18053 | 44 " File menuitems {{{1 |
29403 | 45 menutrans &Open\.\.\.<Tab>:e 打开(&O)\.\.\.<Tab>:e |
46 menutrans Sp&lit-Open\.\.\.<Tab>:sp 在拆分窗口打开(&L)\.\.\.<Tab>:sp | |
47 menutrans Open\ Tab\.\.\.<Tab>:tabnew 在标签页打开\.\.\.<Tab>:tabnew | |
48 menutrans &New<Tab>:enew 新建(&N)<Tab>:enew | |
49 menutrans &Close<Tab>:close 关闭(&C)<Tab>:close | |
50 menutrans &Save<Tab>:w 保存(&S)<Tab>:w | |
51 menutrans Save\ &As\.\.\.<Tab>:sav 另存为(&A)\.\.\.<Tab>:sav | |
52 menutrans Split\ &Diff\ With\.\.\. 拆分窗口以对比差异(Diff)(&D)\.\.\. | |
53 menutrans Split\ Patched\ &By\.\.\. 拆分窗口以进行修补(Patch)(&B)\.\.\. | |
54 menutrans &Print 打印(&P) | |
55 menutrans Sa&ve-Exit<Tab>:wqa 保存并退出(&V)<Tab>:wqa | |
56 menutrans E&xit<Tab>:qa 退出(&X)<Tab>:qa | |
18053 | 57 " }}} |
7 | 58 |
59 " Edit menu | |
29403 | 60 menutrans &Edit 编辑(&E) |
18053 | 61 " Edit menuitems {{{1 |
29403 | 62 menutrans &Undo<Tab>u 撤销(&U)<Tab>u |
63 menutrans &Redo<Tab>^R 恢复(&R)<Tab>^R | |
64 menutrans Rep&eat<Tab>\. 重复(&E)<Tab>\. | |
65 menutrans Cu&t<Tab>"+x 剪切(&T)<Tab>"+x | |
66 menutrans &Copy<Tab>"+y 复制(&C)<Tab>"+y | |
67 menutrans &Paste<Tab>"+gP 粘贴(&P)<Tab>"+gP | |
68 menutrans Put\ &Before<Tab>[p 粘贴到光标前(&B)<Tab>[p | |
69 menutrans Put\ &After<Tab>]p 粘贴到光标后(&A)<Tab>]p | |
70 menutrans &Delete<Tab>x 删除(&D)<Tab>x | |
71 menutrans &Select\ All<Tab>ggVG 全选(&S)<Tab>ggVG | |
72 menutrans &Find\.\.\. 查找(&F)\.\.\. | |
73 menutrans Find\ and\ Rep&lace\.\.\. 查找和替换(&L)\.\.\. | |
74 menutrans &Find<Tab>/ 查找(&F)<Tab>/ | |
75 menutrans Find\ and\ Rep&lace<Tab>:%s 查找和替换(&L)<Tab>:%s | |
76 menutrans Find\ and\ Rep&lace<Tab>:s 查找和替换(&L)<Tab>:s | |
77 menutrans Settings\ &Window 设置窗口(&W) | |
78 menutrans Startup\ &Settings 启动设置(&S) | |
7 | 79 |
837 | 80 " Edit/Global Settings |
29403 | 81 menutrans &Global\ Settings 全局设置(&G) |
18053 | 82 " Edit.Global Settings menuitems and dialogs {{{2 |
29403 | 83 menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! 开/关高亮查找内容(&H)<Tab>:set\ hls! |
84 menutrans Toggle\ &Ignoring\ Case<Tab>:set\ ic! 开/关忽略大小写(&I)<Tab>:set\ ic! | |
85 menutrans Toggle\ &Showing\ Matched\ Pairs<Tab>:set\ sm! 开/关显示括号匹配(&S)<Tab>:set\ sm! | |
86 menutrans &Context\ Lines 上下文行数(&C) | |
87 menutrans &Virtual\ Edit 虚拟编辑(&V) | |
18053 | 88 " Edit.Global Settings.Virtual Edit menuitems {{{3 |
29403 | 89 menutrans Never 从不 |
90 menutrans Block\ Selection 只在选定矩形块时 | |
91 menutrans Insert\ Mode 只在插入模式时 | |
92 menutrans Block\ and\ Insert 在选定矩形块和插入模式时 | |
93 menutrans Always 始终 | |
18053 | 94 " }}} |
29403 | 95 menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! 开/关插入模式(&M)<Tab>:set\ im! |
96 menutrans Toggle\ Vi\ C&ompatibility<Tab>:set\ cp! 开/关\ Vi\ 兼容性(&O)<Tab>:set\ cp! | |
97 menutrans Search\ &Path\.\.\. 搜索路径(&P)\.\.\. | |
98 menutrans Ta&g\ Files\.\.\. 标记文件(Tags)(&G)\.\.\. | |
7 | 99 |
100 " GUI options | |
29403 | 101 menutrans Toggle\ &Toolbar 开/关工具栏(&T) |
102 menutrans Toggle\ &Bottom\ Scrollbar 开/关底部滚动条(&B) | |
103 menutrans Toggle\ &Left\ Scrollbar 开/关左侧滚动条(&L) | |
104 menutrans Toggle\ &Right\ Scrollbar 开/关右侧滚动条(&R) | |
18053 | 105 |
106 " fun! s:SearchP() | |
107 if !exists("g:menutrans_path_dialog") | |
108 let g:menutrans_path_dialog = "输入搜索路径。\n用逗号分隔目录名。" | |
109 endif | |
110 | |
111 " fun! s:TagFiles() | |
112 if !exists("g:menutrans_tags_dialog") | |
113 let g:menutrans_tags_dialog = "输入标记文件(Tags)名称。\n用逗号分隔文件名。" | |
114 endif | |
115 " }}} | |
7 | 116 |
117 " Edit/File Settings | |
29403 | 118 menutrans F&ile\ Settings 文件设置(&I) |
18053 | 119 " Edit.File Settings menuitems and dialogs {{{2 |
7 | 120 " Boolean options |
29403 | 121 menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! 开/关行号(&N)<Tab>:set\ nu! |
122 menutrans Toggle\ Relati&ve\ Line\ Numbering<Tab>:set\ rnu! 开/关相对行号(&V)<Tab>:set\ rnu! | |
123 menutrans Toggle\ &List\ Mode<Tab>:set\ list! 开/关列表模式(&L)<Tab>:set\ list! | |
124 menutrans Toggle\ Line\ &Wrapping<Tab>:set\ wrap! 开/关换行(&W)<Tab>:set\ wrap! | |
125 menutrans Toggle\ W&rapping\ at\ Word<Tab>:set\ lbr! 开/关词尾换行(&R)<Tab>:set\ lbr! | |
126 menutrans Toggle\ Tab\ &Expanding<Tab>:set\ et! 开/关制表符扩展(&E)<Tab>:set\ et! | |
127 menutrans Toggle\ &Auto\ Indenting<Tab>:set\ ai! 开/关自动缩进(&A)<Tab>:set\ ai! | |
128 menutrans Toggle\ &C-Style\ Indenting<Tab>:set\ cin! 开/关\ C\ 语言式缩进(&C)<Tab>:set\ cin! | |
7 | 129 |
130 " other options | |
29403 | 131 menutrans &Shiftwidth 缩进宽度(&S) |
132 menutrans Soft\ &Tabstop 软制表位宽度(Soft\ Tabstop)(&T) | |
133 menutrans Te&xt\ Width\.\.\. 文本宽度(&X)\.\.\. | |
134 menutrans &File\ Format\.\.\. 文件格式(&F)\.\.\. | |
18053 | 135 |
136 " fun! s:TextWidth() | |
137 if !exists("g:menutrans_textwidth_dialog") | |
138 let g:menutrans_textwidth_dialog = "输入文本宽度(每行最大字符数,0 表示禁用):" | |
139 endif | |
140 | |
141 " fun! s:FileFormat() | |
142 if !exists("g:menutrans_fileformat_dialog") | |
143 let g:menutrans_fileformat_dialog = "选择文件的保存格式:" | |
144 endif | |
145 if !exists("g:menutrans_fileformat_choices") | |
146 let g:menutrans_fileformat_choices = "&Unix\n&Dos\n&Mac\n取消(&C)" | |
147 endif | |
148 " }}} | |
29403 | 149 menutrans Show\ C&olor\ Schemes\ in\ Menu 在菜单中显示配色方案(&O) |
150 menutrans C&olor\ Scheme 配色方案(&O) | |
151 menutrans Show\ &Keymaps\ in\ Menu 在菜单中显示键盘映射(&K) | |
152 menutrans &Keymap 键盘映射(&K) | |
153 menutrans Select\ Fo&nt\.\.\. 选择字体(&N)\.\.\. | |
18053 | 154 " }}} |
7 | 155 |
156 " Programming menu | |
29403 | 157 menutrans &Tools 工具(&T) |
18053 | 158 " Tools menuitems {{{1 |
29403 | 159 menutrans &Jump\ to\ This\ Tag<Tab>g^] 跳转到这个标记(Tag)(&J)<Tab>g^] |
160 menutrans Jump\ &Back<Tab>^T 跳转回(&B)<Tab>^T | |
161 menutrans Build\ &Tags\ File 生成标记文件(Tags)(&T) | |
837 | 162 |
163 " Tools.Spelling Menu | |
29403 | 164 menutrans &Spelling 拼写检查(&S) |
18053 | 165 " Tools.Spelling menuitems and dialog {{{2 |
29403 | 166 menutrans &Spell\ Check\ On 打开拼写检查(&S) |
167 menutrans Spell\ Check\ &Off 关闭拼写检查(&O) | |
168 menutrans To\ &Next\ Error<Tab>]s 上一个错误(&N)<Tab>]s | |
169 menutrans To\ &Previous\ Error<Tab>[s 下一个错误(&P)<Tab>[s | |
170 menutrans Suggest\ &Corrections<Tab>z= 更正建议(&C)<Tab>z= | |
171 menutrans &Repeat\ Correction<Tab>:spellrepall 更正全部同类错误(&R)<Tab>:spellrepall | |
172 menutrans Set\ Language\ to\ "en" 设置语言为\ "en" | |
173 menutrans Set\ Language\ to\ "en_au" 设置语言为\ "en_au" | |
174 menutrans Set\ Language\ to\ "en_ca" 设置语言为\ "en_ca" | |
175 menutrans Set\ Language\ to\ "en_gb" 设置语言为\ "en_gb" | |
176 menutrans Set\ Language\ to\ "en_nz" 设置语言为\ "en_nz" | |
177 menutrans Set\ Language\ to\ "en_us" 设置语言为\ "en_us" | |
178 menutrans &Find\ More\ Languages 查找更多语言(&F) | |
18053 | 179 |
180 " func! s:SpellLang() | |
181 if !exists("g:menutrans_set_lang_to") | |
182 let g:menutrans_set_lang_to = "设置语言为" | |
183 endif | |
184 " }}} | |
7 | 185 |
186 " Tools.Fold Menu | |
29403 | 187 menutrans &Folding 折叠(&F) |
18053 | 188 " Tools.Fold menuitems {{{2 |
837 | 189 " open close folds |
29403 | 190 menutrans &Enable/Disable\ Folds<Tab>zi 启用/禁用折叠(&E)<Tab>zi |
191 menutrans &View\ Cursor\ Line<Tab>zv 展开光标所在行(&V)<Tab>zv | |
192 menutrans Vie&w\ Cursor\ Line\ Only<Tab>zMzx 只展开光标所在行(&W)<Tab>zMzx | |
193 menutrans C&lose\ More\ Folds<Tab>zm 折叠一级(&L)<Tab>zm | |
194 menutrans &Close\ All\ Folds<Tab>zM 折叠全部(&C)<Tab>zM | |
195 menutrans O&pen\ More\ Folds<Tab>zr 展开一级(&P)<Tab>zr | |
196 menutrans &Open\ All\ Folds<Tab>zR 展开全部(&O)<Tab>zR | |
7 | 197 " fold method |
29403 | 198 menutrans Fold\ Met&hod 折叠方式(&H) |
18053 | 199 " Tools.Fold.Fold Method menuitems {{{3 |
29403 | 200 menutrans M&anual 手动(&A) |
201 menutrans I&ndent 缩进(&N) | |
202 menutrans E&xpression 表达式(&X) | |
203 menutrans S&yntax 语法(&Y) | |
204 menutrans &Diff 差异(Diff)(&D) | |
205 menutrans Ma&rker 记号(Marker)(&R) | |
18053 | 206 " }}} |
837 | 207 " create and delete folds |
29403 | 208 menutrans Create\ &Fold<Tab>zf 创建折叠(&F)<Tab>zf |
209 menutrans &Delete\ Fold<Tab>zd 删除折叠(&D)<Tab>zd | |
210 menutrans Delete\ &All\ Folds<Tab>zD 删除全部折叠(&A)<Tab>zD | |
7 | 211 " moving around in folds |
29403 | 212 menutrans Fold\ Col&umn\ Width 折叠操作栏宽度(&W) |
18053 | 213 " }}} |
7 | 214 |
215 " Tools.Diff Menu | |
29403 | 216 menutrans &Diff 差异(Diff)(&D) |
18053 | 217 " Tools.Diff menuitems {{{2 |
29403 | 218 menutrans &Update 刷新(&U) |
219 menutrans &Get\ Block 采用对侧文本块(&G) | |
220 menutrans &Put\ Block 采用本侧文本块(&P) | |
18053 | 221 " }}} |
7 | 222 |
29403 | 223 menutrans &Make<Tab>:make 生成(Make)(&M)<Tab>:make |
224 menutrans &List\ Errors<Tab>:cl 列出错误(&L)<Tab>:cl | |
225 menutrans L&ist\ Messages<Tab>:cl! 列出消息(&I)<Tab>:cl! | |
226 menutrans &Next\ Error<Tab>:cn 下一个错误(&N)<Tab>:cn | |
227 menutrans &Previous\ Error<Tab>:cp 上一个错误(&P)<Tab>:cp | |
228 menutrans &Older\ List<Tab>:cold 较旧的错误列表(&O)<Tab>:cold | |
229 menutrans N&ewer\ List<Tab>:cnew 较新的错误列表(&E)<Tab>:cnew | |
230 menutrans Error\ &Window 错误窗口(&W) | |
18053 | 231 " Tools.Error Window menuitems {{{2 |
29403 | 232 menutrans &Update<Tab>:cwin 刷新(&U)<Tab>:cwin |
233 menutrans &Open<Tab>:copen 打开(&O)<Tab>:copen | |
234 menutrans &Close<Tab>:cclose 关闭(&C)<Tab>:cclose | |
18053 | 235 " }}} |
29403 | 236 menutrans Show\ Compiler\ Se&ttings\ in\ Menu 在菜单中显示编译器设置(&T) |
237 menutrans Se&t\ Compiler 设置编译器(&T) | |
238 menutrans &Convert\ to\ HEX<Tab>:%!xxd 转换成十六进制(&C)<Tab>:%!xxd | |
239 menutrans Conve&rt\ Back<Tab>:%!xxd\ -r 转换回(&R)<Tab>:%!xxd\ -r | |
18053 | 240 " }}} |
7 | 241 |
18053 | 242 " Buffer menu |
29403 | 243 menutrans &Buffers 缓冲区(&B) |
18053 | 244 " Buffer menuitems and dialog {{{1 |
29403 | 245 menutrans &Refresh\ Menu 刷新本菜单(&R) |
246 menutrans &Delete 删除(&D) | |
247 menutrans &Alternate 切换(&A) | |
248 menutrans &Next 下一个(&N) | |
249 menutrans &Previous 上一个(&P) | |
18053 | 250 |
29403 | 251 " func! s:BMMunge(fname, bnum) |
18053 | 252 if !exists("g:menutrans_no_file") |
253 let g:menutrans_no_file = "[无文件]" | |
254 endif | |
255 " }}} | |
7 | 256 |
257 " Window menu | |
29403 | 258 menutrans &Window 窗口(&W) |
18053 | 259 " Window menuitems {{{1 |
29403 | 260 menutrans &New<Tab>^Wn 新建(&N)<Tab>^Wn |
261 menutrans S&plit<Tab>^Ws 拆分(&P)<Tab>^Ws | |
262 menutrans Sp&lit\ To\ #<Tab>^W^^ 拆分并显示缓冲区\ #(&L)<Tab>^W^^ | |
263 menutrans Split\ &Vertically<Tab>^Wv 垂直拆分(&V)<Tab>^Wv | |
264 menutrans Split\ File\ E&xplorer 拆分并打开文件浏览器(&X) | |
265 menutrans &Close<Tab>^Wc 关闭(&C)<Tab>^Wc | |
266 menutrans Close\ &Other(s)<Tab>^Wo 除此之外全部关闭(&O)<Tab>^Wo | |
267 menutrans Move\ &To 移动到(&T) | |
268 menutrans &Top<Tab>^WK 顶端(&T)<Tab>^WK | |
269 menutrans &Bottom<Tab>^WJ 底端(&B)<Tab>^WJ | |
270 menutrans &Left\ Side<Tab>^WH 左边(&L)<Tab>^WH | |
271 menutrans &Right\ Side<Tab>^WL 右边(&R)<Tab>^WL | |
272 menutrans Rotate\ &Up<Tab>^WR 向上轮换(&U)<Tab>^WR | |
273 menutrans Rotate\ &Down<Tab>^Wr 向下轮换(&D)<Tab>^Wr | |
274 menutrans &Equal\ Size<Tab>^W= 平均分布(&E)<Tab>^W= | |
275 menutrans &Max\ Height<Tab>^W_ 最大高度(&M)<Tab>^W | |
276 menutrans M&in\ Height<Tab>^W1_ 最小高度(&I)<Tab>^W1_ | |
277 menutrans Max\ &Width<Tab>^W\| 最大宽度(&W)<Tab>^W\| | |
278 menutrans Min\ Widt&h<Tab>^W1\| 最小宽度(&H)<Tab>^W1\| | |
18053 | 279 " }}} |
280 | |
281 " The popup menu {{{1 | |
29403 | 282 menutrans &Undo 撤销(&U) |
283 menutrans Cu&t 剪切(&T) | |
284 menutrans &Copy 复制(&C) | |
285 menutrans &Paste 粘贴(&P) | |
286 menutrans &Delete 删除(&D) | |
287 menutrans Select\ Blockwise 改为选定矩形块 | |
288 menutrans Select\ &Word 选定单词(&W) | |
289 menutrans Select\ &Sentence 选定句(&S) | |
290 menutrans Select\ Pa&ragraph 选定段落(&R) | |
291 menutrans Select\ &Line 选定行(&L) | |
292 menutrans Select\ &Block 选定矩形块(&B) | |
293 menutrans Select\ &All 全选(&A) | |
18053 | 294 |
295 " func! <SID>SpellPopup() | |
296 if !exists("g:menutrans_spell_change_ARG_to") | |
297 let g:menutrans_spell_change_ARG_to = '将\ "%s"\ 更改为' | |
298 endif | |
299 if !exists("g:menutrans_spell_add_ARG_to_word_list") | |
300 let g:menutrans_spell_add_ARG_to_word_list = '将\ "%s"\ 添加到词典' | |
301 endif | |
302 if !exists("g:menutrans_spell_ignore_ARG") | |
303 let g:menutrans_spell_ignore_ARG = '忽略\ "%s"' | |
304 endif | |
305 " }}} | |
306 | |
307 " The GUI toolbar {{{1 | |
7 | 308 if has("toolbar") |
309 if exists("*Do_toolbar_tmenu") | |
310 delfun Do_toolbar_tmenu | |
311 endif | |
312 fun Do_toolbar_tmenu() | |
18053 | 313 let did_toolbar_tmenu = 1 |
29403 | 314 tmenu ToolBar.Open 打开文件 |
315 tmenu ToolBar.Save 保存当前文件 | |
316 tmenu ToolBar.SaveAll 全部保存 | |
317 tmenu ToolBar.Print 打印 | |
318 tmenu ToolBar.Undo 撤销 | |
319 tmenu ToolBar.Redo 恢复 | |
320 tmenu ToolBar.Cut 剪切到剪贴板 | |
321 tmenu ToolBar.Copy 复制到剪贴板 | |
322 tmenu ToolBar.Paste 从剪贴板粘贴 | |
18053 | 323 if !has("gui_athena") |
29403 | 324 tmenu ToolBar.Replace 查找和替换... |
325 tmenu ToolBar.FindNext 查找下一个 | |
326 tmenu ToolBar.FindPrev 查找上一个 | |
18053 | 327 endif |
29403 | 328 tmenu ToolBar.LoadSesn 加载会话 |
329 tmenu ToolBar.SaveSesn 保存当前会话 | |
330 tmenu ToolBar.RunScript 运行 Vim 脚本 | |
331 tmenu ToolBar.Make 生成当前项目 (:make) | |
332 tmenu ToolBar.RunCtags 在当前目录生成标记(Tags) (!ctags -R .) | |
333 tmenu ToolBar.TagJump 跳转到光标所在标记(Tag) | |
334 tmenu ToolBar.Help Vim 帮助 | |
335 tmenu ToolBar.FindHelp 在 Vim 帮助中查找 | |
7 | 336 endfun |
337 endif | |
18053 | 338 " }}} |
7 | 339 |
340 " Syntax menu | |
29403 | 341 menutrans &Syntax 语法(&S) |
18053 | 342 " Syntax menuitems {{{1 |
29403 | 343 menutrans &Show\ File\ Types\ in\ Menu 在菜单中显示文件类型(&S) |
344 menutrans &Off 关闭(&O) | |
345 menutrans &Manual 手动(&M) | |
346 menutrans A&utomatic 自动(&U) | |
347 menutrans On/Off\ for\ &This\ File 只对这个文件开/关(&T) | |
348 menutrans Co&lor\ Test 色彩测试(&L) | |
349 menutrans &Highlight\ Test 高亮测试(&H) | |
350 menutrans &Convert\ to\ HTML 转换成\ HTML(&C) | |
351 | |
18053 | 352 " From synmenu.vim |
29403 | 353 menutrans Set\ '&syntax'\ Only 只设置\ 'syntax'(&S) |
354 menutrans Set\ '&filetype'\ Too 也设置\ 'filetype'(&F) | |
355 menutrans Oracle\ config Oracle\ 配置文件 | |
356 menutrans Vim\ help\ file Vim\ 帮助文件 | |
357 menutrans Vim\ script Vim\ 脚本 | |
358 menutrans Viminfo\ file Vim\ 信息文件 | |
359 menutrans Virata\ config Virata\ 配置文件 | |
29533 | 360 menutrans Whitespace\ (add) 增加加亮空格 |
18053 | 361 " }}} |
362 | |
363 " Netrw menu {{{1 | |
364 " Plugin loading may be after menu translation | |
365 " So giveup testing if Netrw Plugin is loaded | |
366 " if exists("g:loaded_netrwPlugin") | |
29403 | 367 menutrans Help<tab><F1> 帮助<tab><F1> |
368 menutrans Bookmarks 书签 | |
369 menutrans History 历史记录 | |
370 menutrans Go\ Up\ Directory<tab>- 向上一级<tab>- | |
371 menutrans Apply\ Special\ Viewer<tab>x 用默认程序打开<tab>x | |
372 menutrans Bookmarks\ and\ History 书签和历史记录 | |
18053 | 373 " Netrw.Bookmarks and History menuitems {{{2 |
29403 | 374 menutrans Bookmark\ Current\ Directory<tab>mb 添加书签<tab>mb |
375 menutrans Bookmark\ Delete 移除书签 | |
376 menutrans Goto\ Prev\ Dir\ (History)<tab>u 后退(历史记录)<tab>u | |
377 menutrans Goto\ Next\ Dir\ (History)<tab>U 前进(历史记录)<tab>U | |
378 menutrans List<tab>qb 完整列表<tab>qb | |
18053 | 379 " }}} |
29403 | 380 menutrans Browsing\ Control 控制 |
18053 | 381 " Netrw.Browsing Control menuitems {{{2 |
29403 | 382 menutrans Horizontal\ Split<tab>o 在拆分窗口打开<tab>o |
383 menutrans Vertical\ Split<tab>v 在垂直拆分窗口打开<tab>v | |
384 menutrans New\ Tab<tab>t 在标签页打开<tab>t | |
385 menutrans Preview<tab>p 预览<tab>p | |
386 menutrans Edit\ File\ Hiding\ List<tab><ctrl-h> 编辑隐藏条件(Hiding\ List)<tab><ctrl-h> | |
387 menutrans Edit\ Sorting\ Sequence<tab>S 编辑排序条件(Sorting\ Sequence)<tab>S | |
388 menutrans Quick\ Hide/Unhide\ Dot\ Files<tab>gh 快速隐藏/显示以\.开头的文件<tab>gh | |
389 menutrans Refresh\ Listing<tab><ctrl-l> 刷新<tab><ctrl-l> | |
390 menutrans Settings/Options<tab>:NetrwSettings 设置/选项<tab>:NetrwSettings | |
18053 | 391 " }}} |
29403 | 392 menutrans Delete\ File/Directory<tab>D 删除文件/目录<tab>D |
393 menutrans Edit\ File/Dir 编辑文件/目录 | |
18053 | 394 " Netrw.Edit File menuitems {{{2 |
29403 | 395 menutrans Create\ New\ File<tab>% 新建文件<tab>% |
396 menutrans In\ Current\ Window<tab><cr> 在当前窗口<tab><cr> | |
397 menutrans Preview\ File/Directory<tab>p 预览文件/目录<tab>p | |
398 menutrans In\ Previous\ Window<tab>P 在上一个窗口<tab>P | |
399 menutrans In\ New\ Window<tab>o 在新窗口<tab>o | |
400 menutrans In\ New\ Tab<tab>t 在新标签页<tab>t | |
401 menutrans In\ New\ Vertical\ Window<tab>v 在新垂直窗口<tab>v | |
18053 | 402 " }}} |
29403 | 403 menutrans Explore 浏览 |
18053 | 404 " Netrw.Explore menuitems {{{2 |
29403 | 405 menutrans Directory\ Name 指定目录名 |
406 menutrans Filenames\ Matching\ Pattern\ (curdir\ only)<tab>:Explore\ */ 匹配指定文件名模式(当前目录)<tab>:Explore\ */ | |
407 menutrans Filenames\ Matching\ Pattern\ (+subdirs)<tab>:Explore\ **/ 匹配指定文件名模式(含子目录)<tab>:Explore\ **/ | |
408 menutrans Files\ Containing\ String\ Pattern\ (curdir\ only)<tab>:Explore\ *// 内容包含指定字符串模式(当前目录)<tab>:Explore\ *// | |
409 menutrans Files\ Containing\ String\ Pattern\ (+subdirs)<tab>:Explore\ **// 内容包含指定字符串模式(含子目录)<tab>:Explore\ **// | |
410 menutrans Next\ Match<tab>:Nexplore 下一个匹配项<tab>:Nexplore | |
411 menutrans Prev\ Match<tab>:Pexplore 上一个匹配项<tab>:Pexplore | |
18053 | 412 " }}} |
29403 | 413 menutrans Make\ Subdirectory<tab>d 新建子目录<tab>d |
414 menutrans Marked\ Files 选定的(Marked)文件 | |
18053 | 415 " Netrw.Marked Files menuitems {{{2 |
29403 | 416 menutrans Mark\ File<tab>mf 选定(Mark)/取消<tab>mf |
417 menutrans Mark\ Files\ by\ Regexp<tab>mr 用正则表达式(Regexp)选定<tab>mr | |
418 menutrans Hide-Show-List\ Control<tab>a 隐藏/显示<tab>a | |
419 menutrans Copy\ To\ Target<tab>mc 复制到目标<tab>mc | |
420 menutrans Delete<tab>D 删除<tab>D | |
421 menutrans Diff<tab>md 差异(Diff)<tab>md | |
422 menutrans Edit<tab>me 编辑<tab>me | |
423 menutrans Exe\ Cmd<tab>mx 作为参数运行命令<tab>mx | |
424 menutrans Move\ To\ Target<tab>mm 移动到目标<tab>mm | |
425 menutrans Obtain<tab>O 获取<tab>O | |
426 menutrans Print<tab>mp 打印<tab>mp | |
427 menutrans Replace<tab>R 替换<tab>R | |
428 menutrans Set\ Target<tab>mt 设置目标<tab>mt | |
429 menutrans Tag<tab>mT 生成标记文件(Tags)<tab>mT | |
430 menutrans Zip/Unzip/Compress/Uncompress<tab>mz 压缩/解压缩<tab>mz | |
18053 | 431 " }}} |
29403 | 432 menutrans Obtain\ File<tab>O 获取文件<tab>O |
433 menutrans Style 显示风格 | |
18053 | 434 " Netrw.Style menuitems {{{2 |
29403 | 435 menutrans Listing 列表形式 |
18053 | 436 " Netrw.Style.Listing menuitems {{{3 |
29403 | 437 menutrans thin<tab>i 紧凑<thin)<tab>i |
438 menutrans long<tab>i 详细(long)<tab>i | |
439 menutrans wide<tab>i 多列(wide)<tab>i | |
440 menutrans tree<tab>i 树状(tree)<tab>i | |
18053 | 441 " }}} |
29403 | 442 menutrans Normal-Hide-Show 显示/隐藏 |
18053 | 443 " Netrw.Style.Normal-Hide_show menuitems {{{3 |
29403 | 444 menutrans Show\ All<tab>a 显示全部 |
445 menutrans Normal<tab>a 不显示隐藏文件 | |
446 menutrans Hidden\ Only<tab>a 只显示隐藏文件 | |
18053 | 447 " }}} |
29403 | 448 menutrans Reverse\ Sorting\ Order<tab>r 升序/降序<tab>r |
449 menutrans Sorting\ Method 排序方式 | |
18053 | 450 " Netrw.Style.Sorting Method menuitems {{{3 |
29403 | 451 menutrans Name<tab>s 文件名<tab>s |
452 menutrans Time<tab>s 修改时间<tab>s | |
453 menutrans Size<tab>s 大小<tab>s | |
454 menutrans Exten<tab>s 扩展名<tab>s | |
18053 | 455 " }}} |
456 " }}} | |
29403 | 457 menutrans Rename\ File/Directory<tab>R 重命名文件/目录<tab>R |
458 menutrans Set\ Current\ Directory<tab>c 设置\ Vim\ 工作目录<tab>c | |
459 menutrans Targets 目标 | |
18053 | 460 " endif |
461 " }}} | |
3507
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1122
diff
changeset
|
462 |
29403 | 463 " Shellmenu menu |
464 " Shellmenu menuitems {{{1 | |
465 " From shellmenu.vim | |
29533 | 466 menutrans ShellMenu Shell\ 菜单 |
467 menutrans Statements 语句 | |
29403 | 468 menutrans Test 测试 |
29533 | 469 menutrans Existence 存在 |
470 menutrans Existence\ -\ file 存在\ -\ 文件 | |
471 menutrans Existence\ -\ file\ (not\ empty) 存在\ -\ 文件(非空) | |
472 menutrans Existence\ -\ directory 存在\ -\ 目录 | |
473 menutrans Existence\ -\ executable 存在\ -\ 可执行 | |
474 menutrans Existence\ -\ readable 存在\ -\ 可读 | |
475 menutrans Existence\ -\ writable 存在\ -\ 可写 | |
29403 | 476 menutrans String\ is\ empty 字符串为空 |
477 menutrans String\ is\ not\ empty 字符串非空 | |
29533 | 478 menutrans Strings\ are\ equal 字符串值相等 |
479 menutrans Strings\ are\ not\ equal 字符串值不相等 | |
480 menutrans Value\ is\ greater\ than 值大于 | |
481 menutrans Value\ is\ greater\ equal 值大于等于 | |
482 menutrans Values\ are\ equal 值相等 | |
483 menutrans Values\ are\ not\ equal 值不相等 | |
484 menutrans Value\ is\ less\ than 值小于 | |
485 menutrans Value\ is\ less\ equal 值小于等于 | |
29403 | 486 menutrans ParmSub 参数替换 |
487 menutrans Substitute\ word\ if\ parm\ not\ set 如果参数没设置就替换该词 | |
488 menutrans Set\ parm\ to\ word\ if\ not\ set 参数未设置就设为该词 | |
489 menutrans Substitute\ word\ if\ parm\ set\ else\ nothing 如果参数设置就替换该词,否则什么都不做 | |
490 menutrans If\ parm\ not\ set\ print\ word\ and\ exit 如果参数没有设置就打印该词并退出 | |
491 menutrans SpShVars Shell\ 特殊变量 | |
492 menutrans Number\ of\ positional\ parameters 位置参数的数目 | |
493 menutrans All\ positional\ parameters\ (quoted\ spaces) 所有位置参数(quoted\ spaces) | |
494 menutrans All\ positional\ parameters\ (unquoted\ spaces) 所有位置参数(unquoted\ spaces) | |
495 menutrans Flags\ set 设置标志 | |
496 menutrans Return\ code\ of\ last\ command 返回前一条命令的代码 | |
497 menutrans Process\ number\ of\ this\ shell shell\ 自身进程号 | |
498 menutrans Process\ number\ of\ last\ background\ command 前一条后台命令的进程号 | |
499 menutrans Environ 环境变量 | |
29533 | 500 menutrans Mark\ created\ or\ modified\ variables\ for\ export 标记修改的或者创建的变量为导出 |
501 menutrans Exit\ when\ command\ returns\ non-zero\ status 当命令返回非零状态时退出 | |
502 menutrans Disable\ file\ name\ expansion 禁用文件名拓展 | |
503 menutrans Locate\ and\ remember\ commands\ when\ being\ looked\ up 当查询命令时定位并记住该命令 | |
504 menutrans All\ assignment\ statements\ are\ placed\ in\ the\ environment\ for\ a\ command 所有的赋值参数被放在命令的环境中 | |
29403 | 505 menutrans Read\ commands\ but\ do\ not\ execute\ them 读命令但是不要执行 |
506 menutrans Exit\ after\ reading\ and\ executing\ one\ command 读并执行一个命令之后退出 | |
507 menutrans Treat\ unset\ variables\ as\ an\ error\ when\ substituting 替换时把未设置命令视为错误 | |
508 menutrans Print\ shell\ input\ lines\ as\ they\ are\ read 读\ shell\ 输入行的时候打印 | |
509 menutrans Print\ commands\ and\ their\ arguments\ as\ they\ are\ executed 被执行时打印命令和参数 | |
510 " }}} | |
511 | |
512 " termdebug menu | |
513 " termdebug menuitems {{{1 | |
514 " From termdebug.vim | |
515 menutrans Set\ breakpoint 设置断点 | |
516 menutrans Clear\ breakpoint 清除断点 | |
517 menutrans Run\ until 运行到 | |
518 menutrans Evaluate 求值 | |
519 menutrans WinBar 工具条 | |
520 menutrans Step 单步 | |
521 menutrans Next 下一个 | |
522 menutrans Finish 结束 | |
523 menutrans Cont 继续 | |
524 menutrans Stop 停止 | |
525 " }}} | |
526 | |
527 " debchangelog menu | |
528 " debchangelog menuitems {{{1 | |
529 " From debchangelog.vim | |
530 menutrans &Changelog 更新日志(&C) | |
531 menutrans &New\ Version 新版本(&N) | |
532 menutrans &Add\ Entry 添加条目(&A) | |
533 menutrans &Close\ Bug 关闭\ Bug(&C) | |
534 menutrans Set\ &Distribution 设置发行版(&D) | |
535 menutrans &unstable 不稳定(&U) | |
536 menutrans Set\ &Urgency 设置紧急(&U) | |
537 menutrans &low 低(&L) | |
538 menutrans &medium 中(&M) | |
539 menutrans &high 高(&H) | |
540 menutrans U&nfinalise 未完成(&N) | |
541 menutrans &Finalise 完成(&F) | |
542 " }}} | |
543 | |
544 " ada menu | |
545 " ada menuitems {{{1 | |
546 " From ada.vim | |
547 menutrans Tag 标签 | |
548 menutrans List 列表 | |
549 menutrans Jump 跳转 | |
550 menutrans Create\ File 创建文件 | |
551 menutrans Create\ Dir 创建目录 | |
552 menutrans Highlight 高亮 | |
553 menutrans Toggle\ Space\ Errors 切换空格错误 | |
554 menutrans Toggle\ Lines\ Errors 切换行错误 | |
555 menutrans Toggle\ Rainbow\ Color 切换彩虹颜色 | |
556 menutrans Toggle\ Standard\ Types 切换标准类型 | |
557 " }}} | |
558 | |
559 " gnat menu | |
560 " gnat menuitems {{{1 | |
561 " From gnat.vim | |
562 menutrans Build 构建 | |
563 menutrans Pretty\ Print 重新格式化代码 | |
564 menutrans Find 查找 | |
565 menutrans Set\ Projectfile\.\.\. 设置项目文件\.\.\. | |
566 " }}} | |
567 | |
3507
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1122
diff
changeset
|
568 let &cpo = s:keepcpo |
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1122
diff
changeset
|
569 unlet s:keepcpo |
18053 | 570 |
571 " vim: set ts=4 sw=4 noet fdm=marker fdc=4 : |