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