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