Mercurial > vim
annotate runtime/lang/menu_zh_tw.utf-8.vim @ 25405:747ebbce2421 v8.2.3239
patch 8.2.3239: Vim9: no error using heredoc for a number variable
Commit: https://github.com/vim/vim/commit/81530e36033dec2c2cd94af6dd48ceb0389e95a2
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 28 21:25:49 2021 +0200
patch 8.2.3239: Vim9: no error using heredoc for a number variable
Problem: Vim9: no error using heredoc for a number variable.
Solution: Add a type check. (closes https://github.com/vim/vim/issues/8627)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 28 Jul 2021 21:30:04 +0200 |
parents | 8201108e9cf0 |
children | a1effd6bb5ba |
rev | line source |
---|---|
148 | 1 " Menu Translations: Traditional Chinese |
2 " Translated By: Hung-Te Lin <piaip@csie.ntu.edu.tw> | |
3507
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
148
diff
changeset
|
3 " Last Change: 2012 May 01 |
7 | 4 |
5 " {{{ Quit when menu translations have already been done. | |
6 if exists("did_menu_trans") | |
7 finish | |
8 endif | |
9 let did_menu_trans = 1 | |
10 " }}} | |
11 | |
3507
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
148
diff
changeset
|
12 let s:keepcpo= &cpo |
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
148
diff
changeset
|
13 set cpo&vim |
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
148
diff
changeset
|
14 |
7 | 15 scriptencoding utf-8 |
16 | |
17 " {{{ Help menu: complete | |
18 menutrans &Help 輔助說明(&H) | |
19 " ------------------------------------------------------------------------ | |
20 menutrans &Overview<Tab><F1> 說明文件總覽(&O)<Tab><F1> | |
21 menutrans &User\ Manual 使用者手冊(&U) | |
22 menutrans &How-to\ links 如何作\.\.\.(&H) | |
23 menutrans &GUI 圖型界面(&G) | |
24 menutrans &Credits 感謝(&C) | |
148 | 25 menutrans Co&pying 版權(&P) |
26 menutrans &Sponsor/Register 贊助/註冊(&S) | |
7 | 27 menutrans O&rphans 拯救孤兒(&R) |
28 " ------------------------------------------------------------------------ | |
29 menutrans &Version 程式版本資訊(&V) | |
30 menutrans &About 關於\ Vim(&A) | |
31 " }}} | |
32 | |
33 " {{{ File menu: complete | |
34 menutrans &File 檔案(&F) | |
35 " ------------------------------------------------------------------------ | |
36 menutrans &Open\.\.\.<Tab>:e 開啟(&O)\.\.\.<Tab>:e | |
37 menutrans Sp&lit-Open\.\.\.<Tab>:sp 分割視窗並開啟(&L)<Tab>:sp | |
38 menutrans &New<Tab>:enew 編輯新檔案(&N)<Tab>:enew | |
39 menutrans &Close<Tab>:close 關閉檔案(&C)<Tab>:close | |
40 " ------------------------------------------------------------------------ | |
41 menutrans &Save<Tab>:w 儲存(&S)<Tab>:w | |
42 menutrans Save\ &As\.\.\.<Tab>:sav 另存新檔(&A)\.\.\.<Tab>:sav | |
43 " ------------------------------------------------------------------------ | |
44 menutrans Split\ &Diff\ with\.\.\. 比較(&Diff)\.\.\. | |
45 menutrans Split\ Patched\ &By\.\.\. 執行Patch(&B)\.\.\. | |
46 " ------------------------------------------------------------------------ | |
47 menutrans &Print 列印(&P) | |
48 " ------------------------------------------------------------------------ | |
49 menutrans Sa&ve-Exit<Tab>:wqa 儲存並離開(&V)<Tab>:wqa | |
50 menutrans E&xit<Tab>:qa 離開(&X)<Tab>:qa | |
51 " }}} | |
52 | |
53 " {{{ Edit menu | |
54 menutrans &Edit 編輯(&E) | |
55 " ------------------------------------------------------------------------ | |
56 menutrans &Undo<Tab>u 復原(&U)<Tab>u | |
57 menutrans &Redo<Tab>^R 取消上次復原(&R)<Tab>^R | |
58 menutrans Rep&eat<Tab>\. 重複上次動作(&E)<Tab>\. | |
59 " ------------------------------------------------------------------------ | |
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 | |
148 | 66 menutrans &Select\ All<Tab>ggVG 全選(&S)<Tab>ggvG |
7 | 67 " ------------------------------------------------------------------------ |
68 menutrans &Find\.\.\. 尋找(&F)\.\.\. | |
69 menutrans Find\ and\ Rep&lace\.\.\. 尋找並取代(&L)\.\.\. | |
70 " ------------------------------------------------------------------------ | |
71 menutrans Settings\ &Window 設定視窗(&W) | |
72 menutrans &Global\ Settings 全域設定(&G) | |
73 menutrans F&ile\ Settings 設定此檔案(&I) | |
74 menutrans C&olor\ Scheme 配色設定(&O) | |
75 menutrans &Keymap 鍵盤對應(&K) | |
76 " "{{{ Keymap: | |
77 menutrans None 無 | |
78 " }}} | |
79 menutrans Select\ Fo&nt\.\.\. 設定字型(&N)\.\.\. | |
80 " }}} | |
81 | |
82 " {{{ Edit.FileSettings | |
83 menutrans Toggle\ Line\ &Numbering<Tab>:set\ nu! 切換顯示行號(&N)<Tab>:set\ nu! | |
84 menutrans Toggle\ &List\ Mode<Tab>:set\ list! 切換顯示行尾及TAB(&L)<Tab>:set\ list! | |
85 menutrans Toggle\ Line\ &Wrap<Tab>:set\ wrap! 切換自動折行顯示(&W)<Tab>:set\ wrap! | |
86 menutrans Toggle\ W&rap\ at\ word<Tab>:set\ lbr! 切換折行顯示可任意斷句(&R)<Tab>:set\ lbr! | |
87 menutrans Toggle\ &expand-tab<Tab>:set\ et! 切換展開TAB(&E)<Tab>:set\ et! | |
88 menutrans Toggle\ &auto-indent<Tab>:set\ ai! 切換自動縮排(&A)<Tab>:set\ ai! | |
89 menutrans Toggle\ &C-indenting<Tab>:set\ cin! 切換C語言縮排(&C)<Tab>:set\ cin! | |
90 " ------------------------------------------------------------------------ | |
91 menutrans &Shiftwidth 縮排寬度(shiftwidth)(&S) | |
92 menutrans Soft\ &Tabstop 軟體模擬TAB(softtabstop)(&T) | |
93 menutrans Te&xt\ Width\.\.\. 文字頁面寬度(textwidth)(&X)\.\.\. | |
94 menutrans &File\ Format\.\.\. 設定檔案格式(對應作業系統)(&F)\.\.\. | |
95 " }}} | |
96 | |
97 " {{{ Edit.GlobalSettings | |
98 menutrans Toggle\ Pattern\ &Highlight<Tab>:set\ hls! 切換高亮度搜尋字串(&H)<Tab>:set\ hls! | |
99 menutrans Toggle\ &Ignore-case<Tab>:set\ ic! 切換忽略大小寫(&I)<Tab>:set\ ic! | |
100 menutrans Toggle\ &Showmatch<Tab>:set\ sm! 切換顯示對應括號(&S)<Tab>:set\ sm! | |
101 menutrans Toggle\ Vi\ C&ompatible<Tab>:set\ cp! 切換傳統Vi相容模式(&O)<Tab>:set\ cp! | |
102 menutrans &Context\ lines 本文前後保留行數(scrolloff)(&C) | |
103 menutrans &Virtual\ Edit 游標任意移動(virtualedit)(&V) | |
104 " {{{ Edit.GlobalSettings.VirtualEdit | |
105 menutrans Never 不使用 | |
106 menutrans Block\ Selection 區塊選擇時 | |
107 menutrans Insert\ mode 插入模式時 | |
108 menutrans Block\ and\ Insert 區塊與插入模式 | |
109 menutrans Always 一直開啟 | |
110 " }}} | |
111 menutrans Toggle\ Insert\ &Mode<Tab>:set\ im! 切換插入模式(&M)<Tab>:set\ im! | |
112 menutrans Search\ &Path\.\.\. 搜尋路徑(&P)\.\.\. | |
113 menutrans Ta&g\ Files\.\.\. Tag\ 標籤索引檔案(&G)\.\.\. | |
114 " ------------------------------------------------------------------------ | |
115 menutrans Toggle\ &Toolbar 切換使用工具列(&T) | |
116 menutrans Toggle\ &Bottom\ Scrollbar 切換使用底端捲動軸(&B) | |
117 menutrans Toggle\ &Left\ Scrollbar 切換使用左端捲動軸(&L) | |
118 menutrans Toggle\ &Right\ Scrollbar 切換使用右端捲動軸(&R) | |
119 " }}} | |
120 | |
121 " {{{ Tools menu: complete | |
122 menutrans &Tools 工具(&T) | |
123 " ------------------------------------------------------------------------ | |
124 menutrans &Jump\ to\ this\ tag<Tab>g^] 檢索游標處的標籤關鍵字(tag)(&J)<Tab>g^] | |
125 menutrans Jump\ &back<Tab>^T 跳回檢索前的位置(&B)<Tab>^T | |
126 menutrans Build\ &Tags\ File 建立標籤索引檔\ Tags(&T) | |
127 " ------------------------------------------------------------------------ | |
128 menutrans &Folding 覆疊(Fold)設定(&F) | |
129 " {{{ Tools.Fold | |
130 menutrans &Enable/Disable\ folds<Tab>zi 切換使用\ Folding(&E)<Tab>zi | |
131 menutrans &View\ Cursor\ Line<Tab>zv 檢視此層\ Fold(&V)<Tab>zv | |
132 menutrans Vie&w\ Cursor\ Line\ only<Tab>zMzx 只檢視此\ Fold(&W)<Tab>zMzx | |
133 menutrans C&lose\ more\ folds<Tab>zm 收起一層\ Folds(&L)<Tab>zm | |
134 menutrans &Close\ all\ folds<Tab>zM 收起所有\ Folds(&C)<Tab>zM | |
135 menutrans O&pen\ more\ folds<Tab>zr 打開一層\ Folds(&P)<Tab>zr | |
136 menutrans &Open\ all\ folds<Tab>zR 打開所有\ Folds(&O)<Tab>zR | |
137 menutrans Fold\ Met&hod Folding\ 方式(&H) | |
138 " {{{ Tools.Fold.Method | |
139 menutrans M&anual 手動建立(&A) | |
140 menutrans I&ndent 依照縮排(&N) | |
141 menutrans E&xpression 自訂運算式(&X) | |
142 menutrans S&yntax 依照語法設定(&Y) | |
143 menutrans &Diff Diff(&D) | |
144 menutrans Ma&rker 標記(Marker)(&R) | |
145 " }}} | |
146 " ------------------------------------------------------------------------ | |
147 menutrans Create\ &Fold<Tab>zf 建立\ Fold(&F)<Tab>zf | |
148 menutrans &Delete\ Fold<Tab>zd 刪除\ Fold(&D)<Tab>zd | |
149 menutrans Delete\ &All\ Folds<Tab>zD 刪除所有\ Fold(&A)<Tab>zD | |
150 " ------------------------------------------------------------------------ | |
151 menutrans Fold\ column\ &width 設定\ Fold欄寬(&W) | |
152 " }}} | |
153 menutrans &Diff Diff(&D) | |
154 " {{{ Tools.Diff | |
155 menutrans &Update 更新(&U) | |
156 menutrans &Get\ Block 取得區塊(&G) | |
157 menutrans &Put\ Block 貼上區塊(&P) | |
158 " }}} | |
159 " ------------------------------------------------------------------------ | |
160 menutrans &Make<Tab>:make 執行\ Make(&M)<Tab>:make | |
161 menutrans &List\ Errors<Tab>:cl 列出編譯錯誤(&E)<Tab>:cl | |
162 menutrans L&ist\ Messages<Tab>:cl! 列出所有訊息(&I)<Tab>:cl! | |
163 menutrans &Next\ Error<Tab>:cn 下一個編譯錯誤處(&N)<Tab>:cn | |
164 menutrans &Previous\ Error<Tab>:cp 上一個編譯錯誤處(&P)<Tab>:cp | |
165 menutrans &Older\ List<Tab>:cold 檢視舊錯誤列表(&O)<Tab>:cold | |
166 menutrans N&ewer\ List<Tab>:cnew 檢視新錯誤列表(&E)<Tab>:cnew | |
167 menutrans Error\ &Window 錯誤訊息視窗(&W) | |
168 " {{{ Tools.ErrorWindow | |
169 menutrans &Update<Tab>:cwin 更新(&U)<Tab>:cwin | |
170 menutrans &Open<Tab>:copen 開啟(&O)<Tab>:copen | |
171 menutrans &Close<Tab>:cclose 關閉(&C)<Tab>:cclose | |
172 " }}} | |
173 menutrans &Set\ Compiler 設定編譯器Compiler(&S) | |
174 " ------------------------------------------------------------------------ | |
175 menutrans &Convert\ to\ HEX<Tab>:%!xxd 轉換成16進位碼(&C)<Tab>:%!xxd | |
176 menutrans Conve&rt\ back<Tab>:%!xxd\ -r 從16進位碼轉換回文字(&R)<Tab>:%!xxd\ -r | |
177 " }}} | |
178 | |
179 " {{{ Syntax menu: compete | |
180 menutrans &Syntax 語法效果(&S) | |
181 " ------------------------------------------------------------------------ | |
182 menutrans &Show\ filetypes\ in\ menu 顯示所有可用檔案格式(&S) | |
183 menutrans Set\ '&syntax'\ only 只使用\ 'syntax'(&S) | |
184 menutrans Set\ '&filetype'\ too 使用\ 'syntax'+'filetype'(&F) | |
185 menutrans &Off 關閉效果(&O) | |
186 menutrans &Manual 手動設定(&M) | |
187 menutrans A&utomatic 自動設定(&U) | |
188 menutrans on/off\ for\ &This\ file 只切換此檔的效果設定(&T) | |
189 " ------------------------------------------------------------------------ | |
190 menutrans Co&lor\ test 色彩顯示測試(&L) | |
191 menutrans &Highlight\ test 語法效果測試(&H) | |
192 menutrans &Convert\ to\ HTML 轉換成\ HTML\ 格式(&C) | |
193 " }}} | |
194 | |
195 " {{{ Buffers menu: complete | |
196 menutrans &Buffers 緩衝區(&B) | |
197 " ------------------------------------------------------------------------ | |
198 menutrans &Refresh\ menu 更新(&R) | |
199 menutrans &Delete 刪除(&D) | |
200 menutrans &Alternate 切換上次編輯緩衝區(&A) | |
201 menutrans &Next 下一個(&N) | |
202 menutrans &Previous 前一個(&P) | |
203 " ------------------------------------------------------------------------ | |
204 " menutrans [No\ file] [無檔案] | |
205 " }}} | |
206 | |
207 " {{{ Window menu: complete | |
208 menutrans &Window 視窗(&W) | |
209 " ------------------------------------------------------------------------ | |
210 menutrans &New<Tab>^Wn 開新視窗(&N)<Tab>^Wn | |
211 menutrans S&plit<Tab>^Ws 分割視窗(&P)<Tab>^Ws | |
212 menutrans Sp&lit\ To\ #<Tab>^W^^ 分割到#(&L)<Tab>^W^^ | |
213 menutrans Split\ &Vertically<Tab>^Wv 垂直分割(&V)<Tab>^Wv | |
214 menutrans Split\ File\ E&xplorer 檔案總管式分割(&X) | |
215 " ------------------------------------------------------------------------ | |
216 menutrans &Close<Tab>^Wc 關閉視窗(&C)<Tab>^Wc | |
217 menutrans Close\ &Other(s)<Tab>^Wo 關閉其它視窗(&O)<Tab>^Wo | |
218 " ------------------------------------------------------------------------ | |
219 menutrans Move\ &To 移至(&T) | |
220 " {{{ Window.MoveTo | |
221 menutrans &Top<Tab>^WK 頂端(&T)<Tab>^WK | |
222 menutrans &Bottom<Tab>^WJ 底端(&B)<Tab>^WJ | |
223 menutrans &Left\ side<Tab>^WH 左邊(&L)<Tab>^WH | |
224 menutrans &Right\ side<Tab>^WL 右邊(&R)<Tab>^WL | |
225 " }}} | |
226 menutrans Rotate\ &Up<Tab>^WR 上移視窗(&U)<Tab>^WR | |
227 menutrans Rotate\ &Down<Tab>^Wr 下移視窗(&D)<Tab>^Wr | |
228 " ------------------------------------------------------------------------ | |
229 menutrans &Equal\ Size<Tab>^W= 所有視窗等高(&E)<Tab>^W= | |
230 menutrans &Max\ Height<Tab>^W_ 最大高度(&M)<Tab>^W | |
231 menutrans M&in\ Height<Tab>^W1_ 最小高度(&I)<Tab>^W1_ | |
232 menutrans Max\ &Width<Tab>^W\| 最大寬度(&W)<Tab>^W\| | |
233 menutrans Min\ Widt&h<Tab>^W1\| 最小寬度(&H)<Tab>^W1\| | |
234 " }}} | |
235 | |
236 " {{{ The popup menu: complete | |
237 menutrans &Undo 復原(&U) | |
238 " ------------------------------------------------------------------------ | |
239 menutrans Cu&t 剪下(&T) | |
240 menutrans &Copy 複製(&C) | |
241 menutrans &Paste 貼上(&P) | |
242 menutrans &Delete 刪除(&D) | |
243 " ------------------------------------------------------------------------ | |
244 menutrans Select\ Blockwise Blockwise式選擇 | |
245 menutrans Select\ &Word 選擇單字(&W) | |
246 menutrans Select\ &Line 選擇行(&L) | |
247 menutrans Select\ &Block 選擇區塊(&B) | |
248 menutrans Select\ &All 全選(&A) | |
249 " }}} | |
250 | |
251 " {{{ The GUI toolbar: complete | |
252 if has("toolbar") | |
253 if exists("*Do_toolbar_tmenu") | |
254 delfun Do_toolbar_tmenu | |
255 endif | |
256 fun Do_toolbar_tmenu() | |
257 tmenu ToolBar.Open 開啟檔案 | |
258 tmenu ToolBar.Save 儲存目前編輯中的檔案 | |
259 tmenu ToolBar.SaveAll 儲存全部檔案 | |
260 tmenu ToolBar.Print 列印 | |
261 " ------------------------------------------------------------------------ | |
262 tmenu ToolBar.Undo 復原上次變動 | |
263 tmenu ToolBar.Redo 取消上次復原動作 | |
264 " ------------------------------------------------------------------------ | |
265 tmenu ToolBar.Cut 剪下至剪貼簿 | |
266 tmenu ToolBar.Copy 複製到剪貼簿 | |
267 tmenu ToolBar.Paste 由剪貼簿貼上 | |
268 " ------------------------------------------------------------------------ | |
269 tmenu ToolBar.Find 尋找... | |
270 tmenu ToolBar.FindNext 找下一個 | |
271 tmenu ToolBar.FindPrev 找上一個 | |
272 tmenu ToolBar.Replace 取代... | |
273 " ------------------------------------------------------------------------ | |
274 tmenu ToolBar.LoadSesn 載入 Session | |
275 tmenu ToolBar.SaveSesn 儲存目前的 Session | |
276 tmenu ToolBar.RunScript 執行 Vim 程式檔 | |
277 " ------------------------------------------------------------------------ | |
278 tmenu ToolBar.Make 執行 Make | |
279 tmenu ToolBar.Shell 開啟一個命令列視窗 DosBox | |
280 tmenu ToolBar.RunCtags 執行 ctags | |
281 tmenu ToolBar.TagJump 跳到目前游標位置的 tag | |
282 tmenu ToolBar.Help Vim 輔助說明 | |
283 tmenu ToolBar.FindHelp 搜尋 Vim 說明文件 | |
284 endfun | |
285 endif | |
286 " }}} | |
287 | |
3507
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
148
diff
changeset
|
288 let &cpo = s:keepcpo |
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
148
diff
changeset
|
289 unlet s:keepcpo |
8201108e9cf0
More runtime file fixes for 'compatible' mode.
Bram Moolenaar <bram@vim.org>
parents:
148
diff
changeset
|
290 |
7 | 291 " vim:foldmethod=marker:nowrap:foldcolumn=2:foldlevel=1 |