bug fix in wbutton.c, made mouse pointer go invisible when typing in
[wmaker-crm.git] / WindowMaker / menu.zh_CN
blobc777f4b581870d9f478eef7901f33df4c0a993e5
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  *      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  * %W - substitute with the number of the current workspace
81  * 
82  * You can override special characters (as % and ") with the \ character:
83  * ex: xterm -T "\"Hello World\""
84  *
85  * You can also use character escapes, like \n
86  *
87  * Each MENU statement must have one mathching END statement at the end.
88  *
89  * Example:
90  *
91  * "Test" MENU
92  *      "XTerm" EXEC xterm
93  *              // creates a submenu with the contents of /usr/openwin/bin
94  *      "XView apps" OPEN_MENU "/usr/openwin/bin"
95  *              // some X11 apps in different directories
96  *      "X11 apps" OPEN_MENU /usr/X11/bin $HOME/bin/X11
97  *              // set some background images
98  *      "Background" OPEN_MENU -noext $HOME/images /usr/share/images WITH wmsetbg -u -t
99  *              // inserts the style.menu in this entry
100  *      "Style" OPEN_MENU style.menu
101  * "Test" END
102  */
104 #include "wmmacros"
106 "Ó¦ÓóÌÐò" MENU
107         "ÐÅÏ¢" MENU
108                 "ÐÅÏ¢Ãæ°å..." INFO_PANEL
109                 "°æȨ..." LEGAL_PANEL
110                 "ϵͳ¿ØÖÆ̨" EXEC xconsole
111                 "ϵͳ¸ºÔØ" EXEC xosview || xload
112                 "½ø³ÌÁбí" EXEC xterm -e top
113                 "ÊÖ²áä¯ÀÀÆ÷" EXEC xman
114         "ÐÅÏ¢" END
115         "ÔËÐÐ..." EXEC %a(Run,Type command to run:)
116         "XTerm" EXEC xterm -sb 
117         "Rxvt" EXEC rxvt -bg black -fg white -fn fixed
119         "³ÌÐò" OPEN_MENU | wmconfig --output wmaker 2>/dev/null
121         "¹¤×÷¿Õ¼ä" WORKSPACE_MENU
123         "Ñ¡Ôñ" MENU
124                 "¸´ÖÆ" EXEC echo '%s' | wxcopy
125                 "·¢ËÍÓʼþ" EXEC xterm -name mail -T "Pine" -e pine %s
126                 "ä¯ÀÀ" EXEC netscape %s
127                 "²éÕÒÊÖ²á" EXEC MANUAL_SEARCH(%s)
128         "Ñ¡Ôñ" END
130         "¹¤×÷¿Õ¼ä" MENU
131                 "Òþ²ØÆäËû" HIDE_OTHERS
132                 "ÏÔʾËùÓÐ" SHOW_ALL
133                 "ÅÅÁÐͼ±ê" ARRANGE_ICONS
134                 "Ë¢ÐÂ" REFRESH
135                 "ËøסÆÁÄ»" EXEC xlock -allowroot -usefirst
136                 "±£´æ»á»°" SAVE_SESSION
137                 "Çå³ý±£´æµÄ»á»°" CLEAR_SESSION
138         "¹¤×÷¿Õ¼ä" END
140         "Íâ¹Û" MENU
141                 "Ö÷Ìâ" OPEN_MENU -noext THEMES_DIR $HOME/GNUstep/Library/WindowMaker/Themes WITH setstyle
142                 "·ç¸ñ" OPEN_MENU -noext STYLES_DIR $HOME/GNUstep/Library/WindowMaker/Styles WITH setstyle
143                 "ͼ±ê¼¯" OPEN_MENU -noext ICON_SETS_DIR $HOME/GNUstep/Library/WindowMaker/IconSets WITH seticons
144                 "±³¾°" MENU
145                         "µ¥É«" MENU
146                                 "ºÚ" WS_BACK '(solid, black)'
147                                 "À¶"  WS_BACK '(solid, "#505075")'
148                                 "Çà" WS_BACK '(solid, "#243e6c")'
149                                 "ÉîÀ¶" WS_BACK '(solid, "#180090")'
150                                 "×Ï" WS_BACK '(solid, "#554466")'
151                                 "µ­»Æ"  WS_BACK '(solid, "wheat4")'
152                                 "Éî»Ò"  WS_BACK '(solid, "#333340")'
153                                 "¾Æºì" WS_BACK '(solid, "#400020")'
154                         "µ¥É«" END
155                         "¹ý¶ÉÉ«" MENU
156                                 "ÈÕÂä" WS_BACK '(mvgradient, deepskyblue4, black, deepskyblue4, tomato4)'
157                                 "Ìì¿Õ" WS_BACK '(vgradient, blue4, white)'
158                                 "À¶É«ÒõÓ°" WS_BACK '(vgradient, "#7080a5", "#101020")'
159                                 "ÇàÉ«ÒõÓ°" WS_BACK '(vgradient, "#746ebc", "#242e4c")'
160                                 "×ÏÉ«ÒõÓ°" WS_BACK '(vgradient, "#654c66", "#151426")'
161                                 "µ­»ÆÉ«ÒõÓ°" WS_BACK '(vgradient, "#a09060", "#302010")'
162                                 "»ÒÉ«ÒõÓ°" WS_BACK '(vgradient, "#636380", "#131318")'
163                                 "¾ÆºìÉ«ÒõÓ°" WS_BACK '(vgradient, "#600040", "#180010")'
164                         "¹ý¶ÉÉ«" END
165                         "ͼÏñ" OPEN_MENU -noext BACKGROUNDS_DIR $HOME/GNUstep/Library/WindowMaker/Backgrounds WITH wmsetbg -u -t
166                 "±³¾°" END
167                 "±£´æÖ÷Ìâ" EXEC getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/"%a(Theme name,Enter file name:)"
168                 "±£´æͼ±ê¼¯" EXEC geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/"%a(IconSet name,Enter file name:)"
169         "Íâ¹Û" END
171         "Í˳ö"  MENU
172                 "ÖØÐÂÆô¶¯" RESTART
173                 "Çл»µ½..." MENU
174                         "AfterStep"             RESTART /usr/X11R6/bin/RunWM.AfterStep
175                         "Fvwm2 (Fvwm95Íâ¹Û)"   RESTART /usr/X11R6/bin/RunWM.Fvwm95
176                         "Fvwm2 (MWMÍâ¹Û)"      RESTART /usr/X11R6/bin/RunWM.MWM
177                 "Çл»µ½..." END                              
178                 "Í˳ö..."  EXIT
179                 "Ç¿ÖƽáÊø»á»°..." SHUTDOWN
180         "Í˳ö" END
181 "Ó¦ÓóÌÐò" END