fixed some compilation warnings.
[wmaker-crm.git] / WindowMaker / menu.zh_CN
blob9d860a2cc5b73f4caf2fd485eede78c653f49c76
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  * $HOME/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  *      SHEXEC <command> - executes a shell command (like gimp > /dev/null)
26  *      EXIT - exits the window manager
27  *      RESTART [<window manager>] - restarts WindowMaker or start another
28  *                      window manager
29  *      REFRESH - refreshes the desktop
30  *      ARRANGE_ICONS - rearranges the icons on the workspace
31  *      SHUTDOWN - kills all clients (and close the X window session)
32  *      SHOW_ALL - unhides all windows on workspace
33  *      HIDE_OTHERS - hides all windows on the workspace, except the
34  *              focused one (or the last one that received focus)
35  *      SAVE_SESSION - saves the current state of the desktop, which include
36  *                     all running applications, all their hints (geometry,
37  *                     position on screen, workspace they live on, the dock
38  *                     or clip from where they were launched, and
39  *                     if minimized, shaded or hidden. Also saves the current
40  *                     workspace the user is on. All will be restored on every
41  *                     start of windowmaker until another SAVE_SESSION or
42  *                     CLEAR_SESSION is used. If SaveSessionOnExit = Yes; in
43  *                     WindowMaker domain file, then saving is automatically
44  *                     done on every windowmaker exit, overwriting any
45  *                     SAVE_SESSION or CLEAR_SESSION (see below).
46  *      CLEAR_SESSION - clears any previous saved session. This will not have
47  *                     any effect if SaveSessionOnExit is True.
48  *      INFO - shows the Info Panel
49  *
50  * OPEN_MENU syntax:
51  *   1. File menu handling.
52  *      // opens file.menu which must contain a valid menu file and inserts
53  *      // it in current position
54  *      OPEN_MENU file.menu
55  *   2. Pipe menu handling.
56  *      // opens command and uses it's stdout to construct menu.
57  *      // Command's output must be a valid menu description.
58  *      // The space between '|' and command itself is optional.
59  *      OPEN_MENU | command
60  *   3. Directory handling.
61  *      // Opens one or more directories and construct a menu with all
62  *      // the subdirectories and executable files in them sorted
63  *      // alphabetically.
64  *      OPEN_MENU /some/dir [/some/other/dir ...]
65  *   4. Directory handling with command.
66  *      // Opens one or more directories and construct menu with all
67  *      // subdirectories and readable files in them sorted alphabetically,
68  *      // preceding each of them with command.
69  *      OPEN_MENU [options] /some/dir [/some/other/dir ...] WITH command -options
70  *              Options:
71  *                      -noext  strip whatever is after the last dot in the
72  *                              file name
73  *
74  * <Parameters> is the program to execute.
75  *
76  * ** Options for command line in EXEC:
77  * %s - substitute with current selection
78  * %a(title[,prompt]) - opens a input box with the specified title and the
79  *                      optional prompt and do substitution with what you typed
80  * %w - substitute with XID for the current focused window
81  * %W - substitute with the number of the current workspace
82  * 
83  * You can override special characters (as % and ") with the \ character:
84  * ex: xterm -T "\"Hello World\""
85  *
86  * You can also use character escapes, like \n
87  *
88  * Each MENU statement must have one mathching END statement at the end.
89  *
90  * Example:
91  *
92  * "Test" MENU
93  *      "XTerm" EXEC xterm
94  *              // creates a submenu with the contents of /usr/openwin/bin
95  *      "XView apps" OPEN_MENU "/usr/openwin/bin"
96  *              // some X11 apps in different directories
97  *      "X11 apps" OPEN_MENU /usr/X11/bin $HOME/bin/X11
98  *              // set some background images
99  *      "Background" OPEN_MENU -noext $HOME/images /usr/share/images WITH wmsetbg -u -t
100  *              // inserts the style.menu in this entry
101  *      "Style" OPEN_MENU style.menu
102  * "Test" END
103  */
105 #include "wmmacros"
107 "Ó¦ÓóÌÐò" MENU
108         "ÐÅÏ¢" MENU
109                 "ÐÅÏ¢Ãæ°å..." INFO_PANEL
110                 "°æȨ..." LEGAL_PANEL
111                 "ϵͳ¿ØÖÆ̨" EXEC xconsole
112                 "ϵͳ¸ºÔØ" SHEXEC xosview || xload
113                 "½ø³ÌÁбí" EXEC xterm -e top
114                 "ÊÖ²áä¯ÀÀÆ÷" EXEC xman
115         "ÐÅÏ¢" END
116         "ÔËÐÐ..." EXEC %a(ÔËÐÐ,ÒªÖ´ÐеÄÃüÁî:)
117         "XTerm" EXEC xterm -sb 
118         "Rxvt" EXEC rxvt -bg black -fg white -fn fixed
119         "¹¤×÷¿Õ¼ä" WORKSPACE_MENU
120         "Ó¦ÓóÌÐò" OPEN_MENU
121                 "ͼÐÎ" MENU
122                         "Gimp" SHEXEC gimp >/dev/null
123                         "XV" EXEC xv
124                         "XPaint" EXEC xpaint
125                         "XFig" EXEC xfig
126                 "ͼÐÎ" END
127                 "XÎļþ¹ÜÀíÆ÷" EXEC xfm
128                 "OffiX Files" EXEC files
129                 "LyX" EXEC lyx
130                 "Netscape" EXEC netscape
131                 "Ghostview" EXEC ghostview %a(GhostView,ÊäÈëÒª²é¿´µÄÎļþÃû)
132                 "Acrobat" EXEC /usr/local/Acrobat3/bin/acroread %a(Acrobat,ÊäÈëÒª²é¿´µÄPDFÎļþÃû)
133                 "TkDesk" EXEC tkdesk
134         "Ó¦ÓóÌÐò" END
135         "±à¼­Æ÷" MENU
136                 "XFte" EXEC xfte
137                 "XEmacs" SHEXEC xemacs || emacs
138                 "XJed" EXEC xjed
139                 "NEdit" EXEC nedit
140                 "Xedit" EXEC xedit
141                 "VI" EXEC xterm -e vi
142         "±à¼­Æ÷" END
143         "ÆäËû" MENU
144                 "Xmcd" SHEXEC xmcd 2> /dev/null
145                 "Xplaycd" EXEC xplaycd
146                 "Xmixer" EXEC xmixer
147         "ÆäËû" END
148         "¹¤¾ß" MENU
149                 "¼ÆËãÆ÷" EXEC xcalc
150                 "´°¿ÚÊôÐÔ" SHEXEC xprop | xmessage -center -title 'xpro
151 p' -file -
152                 "×ÖÌåÑ¡Ôñ" EXEC xfontsel
153                 "ÖÕ¶ËÄ£ÄâÆ÷" EXEC xminicom
154                 "·Å´ó" EXEC xmag
155                 "ÑÕÉ«±í" EXEC xcmap
156                 "XKill" EXEC xkill
157                 "¼ôÌù°å" EXEC xclipboard
158         "¹¤¾ß" END
160         "Ñ¡Ôñ" MENU
161                 "¸´ÖÆ" SHEXEC echo '%s' | wxcopy
162                 "·¢ËÍÓʼþ" EXEC xterm -name mail -T "Pine" -e pine %s
163                 "ä¯ÀÀ" EXEC netscape %s
164                 "²éÕÒÊÖ²á" SHEXEC MANUAL_SEARCH(%s)
165         "Ñ¡Ôñ" END
167         "¹¤×÷¿Õ¼ä" MENU
168                 "Òþ²ØÆäËû" HIDE_OTHERS
169                 "ÏÔʾËùÓÐ" SHOW_ALL
170                 "ÅÅÁÐͼ±ê" ARRANGE_ICONS
171                 "Ë¢ÐÂ" REFRESH
172                 "ËøסÆÁÄ»" EXEC xlock -allowroot -usefirst
173                 "±£´æ»á»°" SAVE_SESSION
174                 "Çå³ý±£´æµÄ»á»°" CLEAR_SESSION
175         "¹¤×÷¿Õ¼ä" END
177         "Íâ¹Û" MENU
178                 "Ö÷Ìâ" OPEN_MENU -noext THEMES_DIR $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle
179                 "·ç¸ñ" OPEN_MENU -noext STYLES_DIR $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle
180                 "ͼ±ê¼¯" OPEN_MENU -noext ICON_SETS_DIR $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons
181                 "±³¾°" MENU
182                         "µ¥É«" MENU
183                                 "ºÚ" WS_BACK '(solid, black)'
184                                 "À¶"  WS_BACK '(solid, "#505075")'
185                                 "Çà" WS_BACK '(solid, "#243e6c")'
186                                 "ÉîÀ¶" WS_BACK '(solid, "#180090")'
187                                 "×Ï" WS_BACK '(solid, "#554466")'
188                                 "µ­»Æ"  WS_BACK '(solid, "wheat4")'
189                                 "Éî»Ò"  WS_BACK '(solid, "#333340")'
190                                 "¾Æºì" WS_BACK '(solid, "#400020")'
191                         "µ¥É«" END
192                         "¹ý¶ÉÉ«" MENU
193                                 "ÈÕÂä" WS_BACK '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'
194                                 "Ìì¿Õ" WS_BACK '(vgradient, blue4, white)'
195                                 "À¶É«ÒõÓ°" WS_BACK '(vgradient, "#7080a5", "#101020")'
196                                 "ÇàÉ«ÒõÓ°" WS_BACK '(vgradient, "#746ebc", "#242e4c")'
197                                 "×ÏÉ«ÒõÓ°" WS_BACK '(vgradient, "#654c66", "#151426")'
198                                 "µ­»ÆÉ«ÒõÓ°" WS_BACK '(vgradient, "#a09060", "#302010")'
199                                 "»ÒÉ«ÒõÓ°" WS_BACK '(vgradient, "#636380", "#131318")'
200                                 "¾ÆºìÉ«ÒõÓ°" WS_BACK '(vgradient, "#600040", "#180010")'
201                         "¹ý¶ÉÉ«" END
202                         "ͼÏñ" OPEN_MENU -noext BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
203                 "±³¾°" END
204                 "±£´æÖ÷Ìâ" SHEXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Ö÷ÌâÃû,ÊäÈëÎļþÃû:)"
205                 "±£´æͼ±ê¼¯" SHEXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(ͼ±ê¼¯Ãû,ÊäÈëÎļþÃû:)"
206         "Íâ¹Û" END
208         "Í˳ö"  MENU
209                 "ÖØÐÂÆô¶¯" RESTART
210                 "Æô¶¯ BlackBox" RESTART blackbox
211                 "Æô¶¯ kwm" RESTART kwm
212                 "Æô¶¯ IceWM" RESTART icewm
213                 "Í˳ö..."  EXIT
214         "Í˳ö" END
215 "Ó¦ÓóÌÐò" END