summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-03-01 13:15:30 (GMT)
committerfluxgen <fluxgen>2004-03-01 13:15:30 (GMT)
commit677a82d5c452e95703b06e0b3663387f52b7d055 (patch)
tree8dd2ed841ba1010f6ae38c42b4f580750329bbfe
parent604c2b9363e0d259d45b09e33e49e92e05aaad5a (diff)
downloadfluxbox_lack-677a82d5c452e95703b06e0b3663387f52b7d055.zip
fluxbox_lack-677a82d5c452e95703b06e0b3663387f52b7d055.tar.bz2
patch from Han
-rwxr-xr-xutil/fluxbox-generate_menu.in43
1 files changed, 19 insertions, 24 deletions
diff --git a/util/fluxbox-generate_menu.in b/util/fluxbox-generate_menu.in
index 7da3594..d8dec8b 100755
--- a/util/fluxbox-generate_menu.in
+++ b/util/fluxbox-generate_menu.in
@@ -22,7 +22,7 @@
22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23# DEALINGS IN THE SOFTWARE. 23# DEALINGS IN THE SOFTWARE.
24# 24#
25# $Id: fluxbox-generate_menu.in,v 1.13 2004/02/10 12:57:42 rathnor Exp $ 25# $Id: fluxbox-generate_menu.in,v 1.14 2004/03/01 13:15:30 fluxgen Exp $
26 26
27# 27#
28# Portability notes: 28# Portability notes:
@@ -33,7 +33,7 @@
33# - don't use [ -e file ] use [ -r file ] 33# - don't use [ -e file ] use [ -r file ]
34# - don't use $(), use `` 34# - don't use $(), use ``
35# - don't use ~, use ${HOME} 35# - don't use ~, use ${HOME}
36# - don't use id -u, use whoami 36# - don't use id -u or $UID, use whoami
37# - getopts won't work on all platforms, but the config-file can 37# - getopts won't work on all platforms, but the config-file can
38# compensate for that. 38# compensate for that.
39# - various software like grep/sed/perl may be not present or not 39# - various software like grep/sed/perl may be not present or not
@@ -319,42 +319,37 @@ case ${LC_ALL} in
319 XUTILSMENU='X-ÕÔÉÌÉÔÙ' 319 XUTILSMENU='X-ÕÔÉÌÉÔÙ'
320 ;; 320 ;;
321 de_DE*) # german locales 321 de_DE*) # german locales
322# Ah my German hero. Please help me update the translation
323# $ cp fluxbox-generate-menu.in fluxbox-generate-menu.in.orig
324# $ $EDITOR fluxbox-generate-menu.in
325# $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff
326# email fbgm.diff to han@mijncomputer.nl
327 BACKGROUNDMENU='Hintergrundbilder' 322 BACKGROUNDMENU='Hintergrundbilder'
328 BACKGROUNDMENUTITLE='Hintergrundbild setzen' 323 BACKGROUNDMENUTITLE='Hintergrundbild setzen'
329 BROWSERMENU='Internet-Browser (CHANGE ME!)' 324 BROWSERMENU='Internet-Browser'
330 CONFIGUREMENU='Einstellungen (CHANGE ME!)' 325 CONFIGUREMENU='Einstellungen'
331 EDITORMENU='Editoren' 326 EDITORMENU='Editoren'
332 EXITITEM='Beenden' 327 EXITITEM='Beenden'
333 FBSETTINGSMENU='Fluxbox-Einstellungen' 328 FBSETTINGSMENU='Fluxbox-Einstellungen'
334 FILEUTILSMENU='Datei-Utilities' 329 FILEUTILSMENU='Datei-Utilities'
335 FLUXBOXCOMMAND='Fluxbox Command (CHANGE ME!)' 330 FLUXBOXCOMMAND='Fluxbox Befehl'
336 GAMESMENU='Games (CHANGE ME!)' 331 GAMESMENU='Spiele'
337 GNOMEMENUTEXT='Gnome-Menues' 332 GNOMEMENUTEXT='Gnome-Menues'
338 GRAPHICMENU='Grafik' 333 GRAPHICMENU='Grafik'
339 KDEMENUTEXT='Kde-Menues' 334 KDEMENUTEXT='Kde-Menues'
340 LOCKSCREEN='Lock screen (CHANGE ME!)' 335 LOCKSCREEN='Bildschirmsperre'
341 MISCMENU='Sonstiges' 336 MISCMENU='Sonstiges'
342 MUSICMENU='Musik' 337 MUSICMENU='Musik'
343 NETMENU='Netzwerk' 338 NETMENU='Netzwerk'
344 OFFICEMENU='Bueroprogramme' 339 OFFICEMENU='Bueroprogramme'
345 RANDOMBACKGROUND='Random Background (CHANGE ME!)' 340 RANDOMBACKGROUND='Zufaelliger Hintergrund'
346 REGENERATEMENU='Regen Menu (CHANGE ME!)' 341 REGENERATEMENU='Menu-Regeneration'
347 RELOADITEM='Konfiguration neu laden' 342 RELOADITEM='Konfiguration neu laden'
348 RESTARTITEM='Neustarten' 343 RESTARTITEM='Neustarten'
349 RUNCOMMAND='Run (CHANGE ME!)' 344 RUNCOMMAND='Ausführen'
350 SCREENSHOT='Screenshot (CHANGE ME!)' 345 SCREENSHOT='Bildschirmfoto'
351 STYLEMENUTITLE='Einen Stil auswaehlen...' 346 STYLEMENUTITLE='Einen Stil auswaehlen...'
352 SYSTEMSTYLES='Systemweite Stile' 347 SYSTEMSTYLES='Systemweite Stile'
353 TERMINALMENU='Terminals (CHANGE ME!)' 348 TERMINALMENU='Terminals'
354 TOOLS='Tools (CHANGE ME!)' 349 TOOLS='Helfer'
355 USERSTYLES='Eigene Stile' 350 USERSTYLES='Eigene Stile'
356 WINDOWMANAGERS='Window Managers (CHANGE ME!)' 351 WINDOWMANAGERS='Window Manager'
357 WINDOWNAME='Window name (CHANGE ME!)' 352 WINDOWNAME='Window Name'
358 WORKSPACEMENU='Arbeitsflaechenliste' 353 WORKSPACEMENU='Arbeitsflaechenliste'
359 XUTILSMENU='X-Anwendungen' 354 XUTILSMENU='X-Anwendungen'
360 ;; 355 ;;
@@ -984,7 +979,7 @@ if find_it_options $MY_BROWSER; then
984else 979else
985 [ -n "$MY_BROWSER" ] && echo "Warning: you chose an invalid browser." >&2 980 [ -n "$MY_BROWSER" ] && echo "Warning: you chose an invalid browser." >&2
986 #The precise order is up for debate. 981 #The precise order is up for debate.
987 for browser in mozilla-firebird MozillaFirebird opera skipstone mozilla galeon konqueror dillo netscape w3m links lynx; do 982 for browser in firefox mozilla-firebird MozillaFirebird opera skipstone mozilla galeon konqueror dillo netscape w3m links lynx; do
988 if find_it $browser; then 983 if find_it $browser; then
989 DEFAULT_BROWSER=$browser 984 DEFAULT_BROWSER=$browser
990 break 985 break
@@ -1049,7 +1044,7 @@ append_menu_end
1049 1044
1050append_submenu "${NETMENU}" 1045append_submenu "${NETMENU}"
1051 append_submenu "${BROWSERMENU}" 1046 append_submenu "${BROWSERMENU}"
1052 normal_find mozilla-firefox MozillaFirefox galeon mozilla dillo netscape 1047 normal_find firefox mozilla-firefox MozillaFirefox galeon mozilla dillo netscape
1053 find_it opera append "[exec] (opera) {env QT_XFT=true opera}" 1048 find_it opera append "[exec] (opera) {env QT_XFT=true opera}"
1054 find_it konqueror append "[exec] (konqueror) {kfmclient openProfile webbrowsing}" 1049 find_it konqueror append "[exec] (konqueror) {kfmclient openProfile webbrowsing}"
1055 find_it links append "[exec] (links) {${DEFAULT_TERM} -e links ${HOMEPAGE}}" 1050 find_it links append "[exec] (links) {${DEFAULT_TERM} -e links ${HOMEPAGE}}"
@@ -1102,7 +1097,7 @@ append_submenu "${EDITORMENU}"
1102 find_it vim append "[exec] (vim) {${DEFAULT_TERM} -e vim}" 1097 find_it vim append "[exec] (vim) {${DEFAULT_TERM} -e vim}"
1103 normal_find nedit gedit xedit kword kwrite kate anjuta wings xemacs emacs 1098 normal_find nedit gedit xedit kword kwrite kate anjuta wings xemacs emacs
1104 find_it emacs append "[exec] (emacs-nw) {${DEFAULT_TERM} -e emacs -nw}" 1099 find_it emacs append "[exec] (emacs-nw) {${DEFAULT_TERM} -e emacs -nw}"
1105 find_it xemacs append "[exec] (emacs-nw) {${DEFAULT_TERM} -e xemacs -nw}" 1100 find_it xemacs append "[exec] (xemacs-nw) {${DEFAULT_TERM} -e xemacs -nw}"
1106append_menu_end 1101append_menu_end
1107 1102
1108append_submenu "${FILEUTILSMENU}" 1103append_submenu "${FILEUTILSMENU}"
@@ -1171,7 +1166,7 @@ append_menu_end
1171append_submenu "${GAMESMENU}" 1166append_submenu "${GAMESMENU}"
1172 normal_find bzflag gnibbles gnobots2 tuxpuck gataxx glines \ 1167 normal_find bzflag gnibbles gnobots2 tuxpuck gataxx glines \
1173 gnect mahjongg gnomine gnome-stones gnometris gnotravex \ 1168 gnect mahjongg gnomine gnome-stones gnometris gnotravex \
1174 gnotski iagno knights eboard xboard freecell pysol \ 1169 gnotski iagno knights eboard xboard scid freecell pysol \
1175 gtali tuxracer xpenguins xsnow xeyes xpenguins smclone openmortal \ 1170 gtali tuxracer xpenguins xsnow xeyes xpenguins smclone openmortal \
1176 quake2 quake3 skoosh same-gnome enigma xbill icebreaker 1171 quake2 quake3 skoosh same-gnome enigma xbill icebreaker
1177 find_it et append "[exec] (Enemy Territory) {et}" 1172 find_it et append "[exec] (Enemy Territory) {et}"