Mercurial > vim
annotate runtime/lang/menu_zh_cn.utf-8.vim @ 16459:4ea761ce795b v8.1.1234
patch 8.1.1234: swap file test fails on MS-Windows
commit https://github.com/vim/vim/commit/701df4eb64ae9945c63f83621b54aa69e1336a79
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Apr 28 23:07:18 2019 +0200
patch 8.1.1234: swap file test fails on MS-Windows
Problem: Swap file test fails on MS-Windows.
Solution: Only compare the tail of the file names.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 Apr 2019 23:15:07 +0200 |
parents | 31f7581068a9 |
children | 8ac85adee561 |
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> |
31f7581068a9
Update runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
3507
diff
changeset
|
4 " Last Change: 2014 Oct 15 |
837 | 5 |
6 " vim: ts=8 sw=8 noet | |
7 | 7 |
8 " Quit when menu translations have already been done. | |
9 if exists("did_menu_trans") | |
10 finish | |
11 endif | |
12 let did_menu_trans = 1 | |
3507
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1122
diff
changeset
|
13 let s:keepcpo= &cpo |
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1122
diff
changeset
|
14 set cpo&vim |
7 | 15 |
16 scriptencoding utf-8 | |
17 | |
18 " Help menu | |
19 menutrans &Help 帮助(&H) | |
843 | 20 menutrans &Overview<Tab><F1> 纵览(&O)<Tab><F1> |
7 | 21 menutrans &User\ Manual 用户手册(&U) |
857 | 22 menutrans &How-to\ links How-to\ 指引(&H) |
837 | 23 menutrans &Find\.\.\. 查找(&F)\.\.\. |
857 | 24 menutrans &Credits 致谢(&C) |
7 | 25 menutrans Co&pying 版权(&P) |
837 | 26 menutrans &Sponsor/Register 赞助/注册(&S) |
27 menutrans O&rphans 孤儿(&R) | |
28 menutrans &Version 版本(&V) | |
29 menutrans &About 关于(&A) | |
7 | 30 |
31 " File menu | |
32 menutrans &File 文件(&F) | |
33 menutrans &Open\.\.\.<Tab>:e 打开(&O)\.\.\.<Tab>:e | |
837 | 34 menutrans Sp&lit-Open\.\.\.<Tab>:sp 分割并打开(&L)\.\.\.<Tab>:sp |
35 menutrans Open\ Tab\.\.\.<Tab>:tabnew 打开标签\.\.\.<Tab>:tabnew | |
7 | 36 menutrans &New<Tab>:enew 新建(&N)<Tab>:enew |
37 menutrans &Close<Tab>:close 关闭(&C)<Tab>:close | |
38 menutrans &Save<Tab>:w 保存(&S)<Tab>:w | |
39 menutrans Save\ &As\.\.\.<Tab>:sav 另存为(&A)\.\.\.<Tab>:sav | |
837 | 40 menutrans Split\ &Diff\ with\.\.\. 分割比较(Diff)(&D)\.\.\. |
41 menutrans Split\ Patched\ &By\.\.\. 分割打补丁(Patch)(&B)\.\.\. | |
7 | 42 menutrans &Print 打印(&P) |
43 menutrans Sa&ve-Exit<Tab>:wqa 保存并退出(&V)<Tab>:wqa | |
44 menutrans E&xit<Tab>:qa 退出(&X)<Tab>:qa | |
45 | |
46 " Edit menu | |
47 menutrans &Edit 编辑(&E) | |
837 | 48 menutrans &Undo<Tab>u 撤销(&U)<Tab>u |
7 | 49 menutrans &Redo<Tab>^R 重做(&R)<Tab>^R |
837 | 50 menutrans Rep&eat<Tab>\. 重复上次操作(&E)<Tab>\. |
7 | 51 menutrans Cu&t<Tab>"+x 剪切(&T)<Tab>"+x |
52 menutrans &Copy<Tab>"+y 复制(&C)<Tab>"+y | |
837 | 53 menutrans &Paste<Tab>"+gP 粘贴(&P)<Tab>"+gP |
54 menutrans Put\ &Before<Tab>[p 粘贴到光标前(&B)<Tab>[p | |
55 menutrans Put\ &After<Tab>]p 粘贴到光标后(&A)<Tab>]p | |
7 | 56 menutrans &Delete<Tab>x 删除(&D)<Tab>x |
839 | 57 menutrans &Select\ All<Tab>ggVG 全选(&S)<Tab>ggVG |
7 | 58 menutrans &Find\.\.\. 查找(&F)\.\.\. |
837 | 59 menutrans Find\ and\ Rep&lace\.\.\. 查找和替换(&L)\.\.\. |
60 menutrans &Find<Tab>/ 查找(&F)<Tab>/ | |
61 menutrans Find\ and\ Rep&lace<Tab>:%s 查找和替换(&L)<Tab>:%s | |
7 | 62 menutrans Settings\ &Window 设定窗口(&W) |
837 | 63 menutrans Startup\ &Settings 启动设定(&S) |
7 | 64 menutrans &Global\ Settings 全局设定(&G) |
65 | |
837 | 66 " Edit/Global Settings |
67 menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! 开/关模式高亮(&H)<Tab>:set\ hls! | |
68 menutrans Toggle\ &Ignore-case<Tab>:set\ ic! 开/关忽略大小写(&I)<Tab>:set\ ic! | |
69 menutrans Toggle\ &Showmatch<Tab>:set\ sm! 开/关显示配对(&S)<Tab>:set\ sm! | |
7 | 70 menutrans &Context\ lines 上下文行数(&C) |
71 | |
837 | 72 menutrans &Virtual\ Edit 虚拟编辑(&V) |
7 | 73 menutrans Never 从不 |
74 menutrans Block\ Selection 块选择 | |
75 menutrans Insert\ mode 插入模式 | |
837 | 76 menutrans Block\ and\ Insert 块选择和插入模式 |
77 menutrans Always 总是 | |
7 | 78 |
837 | 79 menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! 开/关插入模式(&M)<Tab>:set\ im! |
80 menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! 开/关\ Vi\ 兼容<Tab>:set\ cp! | |
81 menutrans Search\ &Path\.\.\. 查找路径(&P)\.\.\. | |
82 menutrans Ta&g\ Files\.\.\. Tag\ 文件(&T)\.\.\. | |
7 | 83 |
84 " GUI options | |
843 | 85 menutrans Toggle\ &Toolbar 开/关工具栏(&T) |
7 | 86 menutrans Toggle\ &Bottom\ Scrollbar 开/关底部滚动条(&B) |
87 menutrans Toggle\ &Left\ Scrollbar 开/关左端滚动条(&L) | |
88 menutrans Toggle\ &Right\ Scrollbar 开/关右端滚动条(&R) | |
89 | |
90 " Edit/File Settings | |
837 | 91 menutrans F&ile\ Settings 文件设定(&I) |
7 | 92 |
93 " Boolean options | |
837 | 94 menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! 开/关显示行号(&N)<Tab>:set\ nu! |
6292
31f7581068a9
Update runtime files and translations.
Bram Moolenaar <bram@vim.org>
parents:
3507
diff
changeset
|
95 menutrans Toggle\ relati&ve\ Line\ Numbering<Tab>:set\ rnu! 开/关相对行号(&V)<Tab>:set\ rnu! |
837 | 96 menutrans Toggle\ &List\ Mode<Tab>:set\ list! 开/关\ list\ 模式(&L)<Tab>:set\ list! |
97 menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! 开/关折行(&W)<Tab>:set\ wrap! | |
98 menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! 开/关整词折行(&R)<Tab>:set\ lbr! | |
99 menutrans Toggle\ &expand-tab<Tab>:set\ et! 开/关扩展\ tab(&E)<Tab>:set\ et! | |
100 menutrans Toggle\ &auto-indent<Tab>:set\ ai! 开/关自动缩进(&A)<Tab>:set\ ai! | |
101 menutrans Toggle\ &C-indenting<Tab>:set\ cin! 开/关\ C\ 缩进(&C)<Tab>:set\ cin! | |
7 | 102 |
103 " other options | |
837 | 104 menutrans &Shiftwidth 缩进宽度(&S) |
105 menutrans Soft\ &Tabstop Soft\ Tab\ 宽度(&T) | |
106 menutrans Te&xt\ Width\.\.\. 文本宽度(&X)\.\.\. | |
7 | 107 menutrans &File\ Format\.\.\. 文件格式(&F)\.\.\. |
837 | 108 menutrans C&olor\ Scheme 配色方案(&O) |
109 menutrans Select\ Fo&nt\.\.\. 选择字体(&N)\.\.\. | |
857 | 110 menutrans &Keymap 键盘映射(&K) |
7 | 111 |
112 " Programming menu | |
113 menutrans &Tools 工具(&T) | |
837 | 114 menutrans &Jump\ to\ this\ tag<Tab>g^] 跳转到这个\ tag(&J)<Tab>g^] |
115 menutrans Jump\ &back<Tab>^T 跳转返回(&B)<Tab>^T | |
1122 | 116 menutrans Build\ &Tags\ File 建立\ Tags\ 文件(&T) |
837 | 117 |
118 " Tools.Spelling Menu | |
119 menutrans &Spelling 拼写检查(&S) | |
120 menutrans &Spell\ Check\ On 打开拼写检查(&S) | |
121 menutrans Spell\ Check\ &Off 关闭拼写检查(&O) | |
122 menutrans To\ &Next\ error<Tab>]s 上一个错误(&N)<Tab>]s | |
123 menutrans To\ &Previous\ error<Tab>[s 下一个错误(&P)<Tab>[s | |
124 menutrans Suggest\ &Corrections<Tab>z= 修正建议(&C)<Tab>z= | |
125 menutrans &Repeat\ correction<Tab>:spellrepall 重复修正(&R)<Tab>:spellrepall | |
126 menutrans Set\ language\ to\ "en" 设定语言为\ "en" | |
127 menutrans Set\ language\ to\ "en_au" 设定语言为\ "en_au" | |
128 menutrans Set\ language\ to\ "en_ca" 设定语言为\ "en_ca" | |
129 menutrans Set\ language\ to\ "en_gb" 设定语言为\ "en_gb" | |
130 menutrans Set\ language\ to\ "en_nz" 设定语言为\ "en_nz" | |
131 menutrans Set\ language\ to\ "en_us" 设定语言为\ "en_us" | |
132 menutrans &Find\ More\ Languages 查找更多语言(&F) | |
7 | 133 |
134 " Tools.Fold Menu | |
837 | 135 " open close folds |
136 menutrans &Folding 折叠(&F) | |
137 menutrans &Enable/Disable\ folds<Tab>zi 启用/禁用折叠(&E)<Tab>zi | |
7 | 138 menutrans &View\ Cursor\ Line<Tab>zv 查看此行(&V)<Tab>zv |
837 | 139 menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx 仅查看此行(&W)<Tab>zMzx |
140 menutrans C&lose\ more\ folds<Tab>zm 关闭更多折叠(&L)<Tab>zm | |
141 menutrans &Close\ all\ folds<Tab>zM 关闭所有折叠(&C)<Tab>zM | |
142 menutrans O&pen\ more\ folds<Tab>zr 打开更多折叠(&P)<Tab>zr | |
143 menutrans &Open\ all\ folds<Tab>zR 打开所有折叠(&O)<Tab>zR | |
7 | 144 " fold method |
837 | 145 menutrans Fold\ Met&hod 折叠方法(&H) |
146 menutrans M&anual 手工(&A) | |
147 menutrans I&ndent 缩进(&N) | |
148 menutrans E&xpression 表达式(&X) | |
149 menutrans S&yntax 语法(&Y) | |
150 menutrans &Diff 比较(Diff)(&D) | |
151 menutrans Ma&rker 标记(&R) | |
152 " create and delete folds | |
153 menutrans Create\ &Fold<Tab>zf 创建折叠(&F)<Tab>zf | |
154 menutrans &Delete\ Fold<Tab>zd 删除折叠(&D)<Tab>zd | |
155 menutrans Delete\ &All\ Folds<Tab>zD 删除所有折叠(&A)<Tab>zD | |
7 | 156 " moving around in folds |
837 | 157 menutrans Fold\ column\ &width 折叠栏宽度(&W) |
7 | 158 |
159 " Tools.Diff Menu | |
837 | 160 menutrans &Diff 比较(Diff)(&D) |
161 menutrans &Update 更新(&U) | |
162 menutrans &Get\ Block 得到块(&G) | |
163 menutrans &Put\ Block 放置块(&P) | |
7 | 164 |
837 | 165 menutrans &Make<Tab>:make Make(&M)<Tab>:make |
166 menutrans &List\ Errors<Tab>:cl 列出错误(&L)<Tab>:cl | |
167 menutrans L&ist\ Messages<Tab>:cl! 列出消息(&I)<Tab>:cl! | |
168 menutrans &Next\ Error<Tab>:cn 下一个错误(&N)<Tab>:cn | |
169 menutrans &Previous\ Error<Tab>:cp 上一个错误(&P)<Tab>:cp | |
170 menutrans &Older\ List<Tab>:cold 更旧的错误列表(&O)<Tab>:cold | |
171 menutrans N&ewer\ List<Tab>:cnew 更新的错误列表(&E)<Tab>:cnew | |
172 menutrans Error\ &Window 错误窗口(&W) | |
173 menutrans &Update<Tab>:cwin 更新(&U)<Tab>:cwin | |
174 menutrans &Open<Tab>:copen 打开(&O)<Tab>:copen | |
175 menutrans &Close<Tab>:cclose 关闭(&C)<Tab>:cclose | |
176 menutrans &Convert\ to\ HEX<Tab>:%!xxd 转换成十六进制<Tab>:%!xxd | |
177 menutrans Conve&rt\ back<Tab>:%!xxd\ -r 转换返回<Tab>:%!xxd\ -r | |
178 menutrans Se&T\ Compiler 设定编译器(&T) | |
7 | 179 |
180 " Names for buffer menu. | |
181 menutrans &Buffers 缓冲区(&B) | |
837 | 182 menutrans &Refresh\ menu 更新菜单(&R) |
7 | 183 menutrans &Delete 删除(&D) |
837 | 184 menutrans &Alternate 交替(&A) |
7 | 185 menutrans &Next 下一个(&N) |
837 | 186 menutrans &Previous 上一个(&P) |
7 | 187 |
188 " Window menu | |
189 menutrans &Window 窗口(&W) | |
837 | 190 menutrans &New<Tab>^Wn 新建(&N)<Tab>^Wn |
191 menutrans S&plit<Tab>^Ws 分割(&P)<Tab>^Ws | |
192 menutrans Sp&lit\ To\ #<Tab>^W^^ 分割到\ #(&L)<Tab>^W^^ | |
7 | 193 menutrans Split\ &Vertically<Tab>^Wv 垂直分割(&V)<Tab>^Wv |
837 | 194 menutrans Split\ File\ E&xplorer 分割文件浏览器(&X) |
195 menutrans &Close<Tab>^Wc 关闭(&C)<Tab>^Wc | |
7 | 196 menutrans Close\ &Other(s)<Tab>^Wo 关闭其它窗口(&O)<Tab>^Wo |
197 menutrans Move\ &To 移动到(&T) | |
198 menutrans &Top<Tab>^WK 顶端(&T)<Tab>^WK | |
199 menutrans &Bottom<Tab>^WJ 底端(&B)<Tab>^WJ | |
200 menutrans &Left\ side<Tab>^WH 左边(&L)<Tab>^WH | |
201 menutrans &Right\ side<Tab>^WL 右边(&R)<Tab>^WL | |
202 " menutrans Ne&xt<Tab>^Ww 下一个(&X)<Tab>^Ww | |
203 " menutrans P&revious<Tab>^WW 上一个(&R)<Tab>^WW | |
837 | 204 menutrans Rotate\ &Up<Tab>^WR 向上轮换(&U)<Tab>^WR |
205 menutrans Rotate\ &Down<Tab>^Wr 向下轮换(&D)<Tab>^Wr | |
206 menutrans &Equal\ Size<Tab>^W= 等大(&E)<Tab>^W= | |
7 | 207 menutrans &Max\ Height<Tab>^W_ 最大高度(&M)<Tab>^W |
837 | 208 menutrans M&in\ Height<Tab>^W1_ 最小高度(&I)<Tab>^W1_ |
7 | 209 menutrans Max\ &Width<Tab>^W\| 最大宽度(&W)<Tab>^W\| |
837 | 210 menutrans Min\ Widt&h<Tab>^W1\| 最小宽度(&H)<Tab>^W1\| |
7 | 211 " |
212 " The popup menu | |
213 menutrans &Undo 撤销(&U) | |
214 menutrans Cu&t 剪切(&T) | |
215 menutrans &Copy 复制(&C) | |
1122 | 216 menutrans &Paste 粘贴(&P) |
7 | 217 menutrans &Delete 删除(&D) |
837 | 218 menutrans Select\ Blockwise 选择块 |
7 | 219 menutrans Select\ &Word 选择单词(&W) |
837 | 220 menutrans Select\ &Sentence 选择句子(&S) |
221 menutrans Select\ Pa&ragraph 选择段落(&R) | |
7 | 222 menutrans Select\ &Line 选择行(&L) |
223 menutrans Select\ &Block 选择块(&B) | |
224 menutrans Select\ &All 全选(&A) | |
225 " | |
226 " The GUI toolbar | |
227 if has("toolbar") | |
228 if exists("*Do_toolbar_tmenu") | |
229 delfun Do_toolbar_tmenu | |
230 endif | |
231 fun Do_toolbar_tmenu() | |
232 tmenu ToolBar.Open 打开文件 | |
233 tmenu ToolBar.Save 保存当前文件 | |
234 tmenu ToolBar.SaveAll 保存全部文件 | |
235 tmenu ToolBar.Print 打印 | |
837 | 236 tmenu ToolBar.Undo 撤销 |
237 tmenu ToolBar.Redo 重做 | |
238 tmenu ToolBar.Cut 剪切到剪贴板 | |
7 | 239 tmenu ToolBar.Copy 复制到剪贴板 |
1122 | 240 tmenu ToolBar.Paste 从剪贴板粘贴 |
7 | 241 tmenu ToolBar.Find 查找... |
242 tmenu ToolBar.FindNext 查找下一个 | |
243 tmenu ToolBar.FindPrev 查找上一个 | |
837 | 244 tmenu ToolBar.Replace 查找和替换... |
7 | 245 tmenu ToolBar.LoadSesn 加载会话 |
837 | 246 tmenu ToolBar.SaveSesn 保存当前会话 |
247 tmenu ToolBar.RunScript 运行 Vim 脚本 | |
248 tmenu ToolBar.Make 执行 Make (:make) | |
249 tmenu ToolBar.RunCtags 在当前目录建立 tags (!ctags -R .) | |
250 tmenu ToolBar.TagJump 跳转到光标位置的 tag | |
7 | 251 tmenu ToolBar.Help Vim 帮助 |
252 tmenu ToolBar.FindHelp 查找 Vim 帮助 | |
253 endfun | |
254 endif | |
255 | |
256 " Syntax menu | |
837 | 257 menutrans &Syntax 语法(&S) |
857 | 258 menutrans &Show\ filetypes\ in\ menu 在菜单中显示文件类型(&S) |
259 menutrans &Off 关闭(&O) | |
837 | 260 menutrans &Manual 手工(&M) |
261 menutrans A&utomatic 自动(&U) | |
262 menutrans on/off\ for\ &This\ file 仅对这个文件开/关(&T) | |
263 menutrans Co&lor\ test 色彩测试(&L) | |
264 menutrans &Highlight\ test 高亮测试(&H) | |
265 menutrans &Convert\ to\ HTML 转换成\ HTML(&C) | |
266 menutrans Set\ '&syntax'\ only 仅设定\ 'syntax'(&S) | |
267 menutrans Set\ '&filetype'\ too 也设定\ 'filetype'(&F) | |
3507
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1122
diff
changeset
|
268 |
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1122
diff
changeset
|
269 let &cpo = s:keepcpo |
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
1122
diff
changeset
|
270 unlet s:keepcpo |