Add option to merge the workspace-switching functionality into the dock
[wmaker-crm.git] / WindowMaker / menu.zh_TW
blobcd78998b7bdbaef4c9aac1ea8659be915e547b38
1 /*
2  * Root Menu definition for WindowMaker
3  *
4  * Syntax is:
5  *
6  * <Title> [SHORTCUT <Shortcut>] <Command> <Parameters>
7  *
8  * <Title> is any string to be used as title. Must be enclosed with " if it
9  *      has spaces
10  * 
11  * SHORTCUT specifies a shortcut for that item. <Shortcut> has the
12  * same syntax of the shortcuts key options in the 
13  * ~/GNUstep/Defaults/WindowMaker file, such as RootMenuKey or MiniaturizeKey.
14  *
15  * You can't specify a shortcut for a MENU or OPEN_MENU entry.
16  * 
17  * <Command> one of the valid commands: 
18  *      MENU - starts (sub)menu definition
19  *      END  - end (sub)menu definition
20  *      OPEN_MENU - opens a menu from a file, pipe or directory(ies) contents
21  *                  and eventually precede each with a command.
22  *      WORKSPACE_MENU - adds a submenu for workspace operations. Only one
23  *                  workspace_menu is allowed.          
24  *      EXEC <program> - executes an external program
25  *      EXIT - exits the window manager
26  *      RESTART [<window manager>] - restarts WindowMaker or start another
27  *                      window manager
28  *      REFRESH - refreshes the desktop
29  *      ARRANGE_ICONS - rearranges the icons on the workspace
30  *      SHUTDOWN - kills all clients (and close the X window session)
31  *      SHOW_ALL - unhides all windows on workspace
32  *      HIDE_OTHERS - hides all windows on the workspace, except the
33  *              focused one (or the last one that received focus)
34  *      SAVE_SESSION - saves the current state of the desktop, which include
35  *                     all running applications, all their hints (geometry,
36  *                     position on screen, workspace they live on, the dock
37  *                     or clip from where they were launched, and
38  *                     if minimized, shaded or hidden. Also saves the current
39  *                     workspace the user is on. All will be restored on every
40  *                     start of windowmaker until another SAVE_SESSION or
41  *                     CLEAR_SESSION is used. If SaveSessionOnExit = Yes; in
42  *                     WindowMaker domain file, then saving is automatically
43  *                     done on every windowmaker exit, overwriting any
44  *                     SAVE_SESSION or CLEAR_SESSION (see below).
45  *      CLEAR_SESSION - clears any previous saved session. This will not have
46  *                     any effect if SaveSessionOnExit is True.
47  *      INFO - shows the Info Panel
48  *
49  * OPEN_MENU syntax:
50  *   1. File menu handling.
51  *      // opens file.menu which must contain a valid menu file and inserts
52  *      // it in current position
53  *      OPEN_MENU file.menu
54  *   2. Pipe menu handling.
55  *      // opens command and uses it's stdout to construct menu.
56  *      // Command's output must be a valid menu description.
57  *      // The space between '|' and command itself is optional.
58  *      OPEN_MENU | command
59  *   3. Directory handling.
60  *      // Opens one or more directories and construct a menu with all
61  *      // the subdirectories and executable files in them sorted
62  *      // alphabetically.
63  *      OPEN_MENU /some/dir [/some/other/dir ...]
64  *   4. Directory handling with command.
65  *      // Opens one or more directories and construct menu with all
66  *      // subdirectories and readable files in them sorted alphabetically,
67  *      // preceding each of them with command.
68  *      OPEN_MENU [options] /some/dir [/some/other/dir ...] WITH command -options
69  *              Options:
70  *                      -noext  strip whatever is after the last dot in the
71  *                              file name
72  *
73  * <Parameters> is the program to execute.
74  *
75  * ** Options for command line in EXEC:
76  * %s - substitute with current selection
77  * %a(title[,prompt]) - opens a input box with the specified title and the
78  *                      optional prompt and do substitution with what you typed
79  * %w - substitute with XID for the current focused window
80  *
81  * You can override special characters (as % and ") with the \ character:
82  * ex: xterm -T "\"Hello World\""
83  *
84  * You can also use character escapes, like \n
85  *
86  * Each MENU statement must have one mathching END statement at the end.
87  *
88  * Example:
89  *
90  * "Test" MENU
91  *      "XTerm" EXEC xterm
92  *              // creates a submenu with the contents of /usr/openwin/bin
93  *      "XView apps" OPEN_MENU "/usr/openwin/bin"
94  *              // some X11 apps in different directories
95  *      "X11 apps" OPEN_MENU /usr/X11/bin ~/bin/X11
96  *              // set some background images
97  *      "Background" OPEN_MENU -noext ~/images /usr/share/images WITH wmsetbg -u -t
98  *              // inserts the style.menu in this entry
99  *      "Style" OPEN_MENU style.menu
100  * "Test" END
101  */
103 #include "wmmacros"
105 "應用程式" MENU
106         "資訊" MENU
107                 "資訊面板..." INFO_PANEL
108                 "法律..." LEGAL_PANEL
109                 "系統主控台" EXEC xconsole
110                 "系統負載" SHEXEC xosview || xload
111                 "行程清單" EXEC xterm -e top
112                 "手冊瀏覽器" EXEC xman
113         "資訊" END
114         "執行..." EXEC %a (執行,輸入執行的命令:)
115         "終端機" EXEC crxvt -thin -ls -T 終端機 -n 終端機
116         "工作區" WORKSPACE_MENU
117         "應用程式" MENU
118                 "影像處理" MENU
119                         "Gimp" SHEXEC gimp >/dev/null
120                         "XV" EXEC xv
121                         "XPaint" EXEC xpaint
122                         "XFig" EXEC xfig
123                 "影像處理" END
124                 "X 檔案管理員" EXEC xfm
125                 "OffiX Files" EXEC files
126                 "LyX" EXEC lyx
127                 "Netscape" EXEC netscape 
128                 "Ghostview" EXEC ghostview %a(GhostView,輸入要檢視的檔案)
129                 "Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(輸入要檢視的 PDF)
130                 "TkDesk" EXEC tkdesk
131         "應用程式" END
132         "編輯器" MENU
133                 "XFte" EXEC xfte
134                 "XEmacs" SHEXEC xemacs || emacs
135                 "XJed" EXEC xjed 
136                 "NEdit" EXEC nedit
137                 "Xedit" EXEC xedit
138                 "VI" EXEC xterm -e vi
139         "編輯器" END
140         "雜項" MENU
141                 "Xmcd" SHEXEC xmcd 2> /dev/null
142                 "Xplaycd" EXEC xplaycd
143                 "Xmixer" EXEC xmixer
144         "雜項" END
145         "公用程式" MENU
146                 "計算機" EXEC xcalc
147                 "Window Properties" SHEXEC xprop | xmessage -center -title 'xprop' -file -
148                 "Font Chooser" EXEC xfontsel
149                 "終端機模擬器" EXEC xminicom
150                 "Magnify" EXEC xmag
151                 "Colormap" EXEC xcmap
152                 "XKill" EXEC xkill
153                 "Clipboard" EXEC xclipboard
154         "公用程式" END
156         "選取" MENU
157                 "複製" SHEXEC echo '%s' | wxcopy
158                 "郵寄至" EXEC xterm -name mail -T "Pine" -e pine %s
159                 "Navigate" EXEC netscape %s
160                 "在手冊中搜尋" SHEXEC MANUAL_SEARCH(%s)
161         "選取" END
163         "工作區" MENU
164                 "隱藏其他" HIDE_OTHERS
165                 "全部顯示" SHOW_ALL
166                 "排列圖示" ARRANGE_ICONS
167                 "更新畫面" REFRESH
168                 "鎖定" EXEC xlock -allowroot -usefirst
169                 "儲存階段狀態" SAVE_SESSION
170                 "清除階段狀態" CLEAR_SESSION
171         "工作區" END
173         "外觀" MENU
174                 "主題" OPEN_MENU THEMES_DIR $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle
175                 "風格" OPEN_MENU STYLES_DIR $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle
176                 "圖示集" OPEN_MENU ICON_SETS_DIR $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons
177                 "背景" MENU
178                         "實體色" MENU
179                                 "Black" WS_BACK '(solid, black)'
180                                 "Blue"  WS_BACK '(solid, "#505075")'
181                                 "Indigo" WS_BACK '(solid, "#243e6c")'
182                                 "Bleumarine" WS_BACK '(solid, "#224477")'
183                                 "Purple" WS_BACK '(solid, "#554466")'
184                                 "Wheat"  WS_BACK '(solid, "wheat4")'
185                                 "Dark Gray"  WS_BACK '(solid, "#333340")'
186                                 "Wine" WS_BACK '(solid, "#400020")'
187                         "實體色" END
188                         "漸層色" MENU
189                                 "Sunset" WS_BACK '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'
190                                 "Sky" WS_BACK '(vgradient, blue4, white)'
191                                 "Blue Shades" WS_BACK '(vgradient, "#7080a5", "#101020")'
192                                 "Indigo Shades" WS_BACK '(vgradient, "#746ebc", "#242e4c")'
193                                 "Purple Shades" WS_BACK '(vgradient, "#654c66", "#151426")'
194                                 "Wheat Shades" WS_BACK '(vgradient, "#a09060", "#302010")'
195                                 "Grey Shades" WS_BACK '(vgradient, "#636380", "#131318")'
196                                 "Wine Shades" WS_BACK '(vgradient, "#600040", "#180010")'
197                         "漸層色" END
198                         "圖片" OPEN_MENU BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
199                 "背景" END
200                 "儲存主題" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(主題名稱)"
201                 "儲存圖示集" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(圖示集名稱)"
202                 "偏好設定公用程式" EXEC /usr/local/GNUstep/Applications/WPrefs.app/WPrefs
203         "外觀" END
205         "離開"    MENU
206                 "重新啟動" RESTART
207                 "啟動 BlackBox" RESTART blackbox
208                 "啟動 kwm" RESTART kwm
209                 "啟動 IceWM" RESTART icewm
210                 "離開..."  EXIT
211         "離開" END
212 "應用程式" END