update from Han
This commit is contained in:
parent
b1cb6bcf66
commit
fc67d00fa6
1 changed files with 316 additions and 292 deletions
|
@ -22,7 +22,20 @@
|
||||||
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
# DEALINGS IN THE SOFTWARE.
|
# DEALINGS IN THE SOFTWARE.
|
||||||
#
|
#
|
||||||
# $Id: fluxbox-generate_menu,v 1.24 2003/01/23 07:08:24 fluxgen Exp $
|
# $Id: fluxbox-generate_menu,v 1.25 2003/02/22 18:03:15 fluxgen Exp $
|
||||||
|
|
||||||
|
#
|
||||||
|
# Portability notes:
|
||||||
|
# To guarantee this script works on all platforms that support fluxbox
|
||||||
|
# please keep the following restrictions in mind:
|
||||||
|
#
|
||||||
|
# don't use $(), use ``
|
||||||
|
# don't use ~, use ${HOME}
|
||||||
|
# don't use id -u, use whoami
|
||||||
|
# getopts won't work on all platforms, but the config-file can
|
||||||
|
# compensate for that.
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
WHOAMI=`whoami`
|
WHOAMI=`whoami`
|
||||||
[ "$WHOAMI" = "root" ] && PATH=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin
|
[ "$WHOAMI" = "root" ] && PATH=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin
|
||||||
|
@ -151,309 +164,320 @@ mv -f ${FILENAME}.tmp ${FILENAME}
|
||||||
}
|
}
|
||||||
|
|
||||||
# menu defaults (if translation forget to set one of them)
|
# menu defaults (if translation forget to set one of them)
|
||||||
BACKGROUNDMENU="Backgrounds"
|
BACKGROUNDMENU='Backgrounds'
|
||||||
BACKGROUNDMENUTITLE="Set the Background"
|
BACKGROUNDMENUTITLE='Set the Background'
|
||||||
BROWSERMENU="Browsers"
|
BROWSERMENU='Browsers'
|
||||||
CONFIGUREMENU="Configure"
|
CONFIGUREMENU='Configure'
|
||||||
EDITORMENU="Editors"
|
EDITORMENU='Editors'
|
||||||
EXITITEM="Exit"
|
EXITITEM='Exit'
|
||||||
FBSETTINGSMENU="fluxbox menu"
|
FBSETTINGSMENU='fluxbox menu'
|
||||||
GAMESMENU="Games"
|
FILEUTILSMENU='File utils'
|
||||||
GNOMEMENUTEXT="Gnome-menus"
|
GAMESMENU='Games'
|
||||||
GRAPHICMENU="Graphics"
|
GNOMEMENUTEXT='Gnome-menus'
|
||||||
KDEMENUTEXT="KDE-menus"
|
GRAPHICMENU='Graphics'
|
||||||
MISCMENU="Misc"
|
KDEMENUTEXT='KDE-menus'
|
||||||
MULTIMEDIAMENU="Multimedia"
|
MISCMENU='Misc'
|
||||||
MUSICMENU="Music"
|
MULTIMEDIAMENU='Multimedia'
|
||||||
NETMENU="Net"
|
MUSICMENU='Music'
|
||||||
OFFICEMENU="Office"
|
NETMENU='Net'
|
||||||
RELOADITEM="Reload config"
|
OFFICEMENU='Office'
|
||||||
RESTARTITEM="Restart"
|
RELOADITEM='Reload config'
|
||||||
STYLEMENUTITLE="Choose a style..."
|
RESTARTITEM='Restart'
|
||||||
SYSTEMSTYLES="System Styles"
|
STYLEMENUTITLE='Choose a style...'
|
||||||
TERMINALMENU="Terminals"
|
SYSTEMSTYLES='System Styles'
|
||||||
USERSTYLES="User Styles"
|
TERMINALMENU='Terminals'
|
||||||
WORKSPACEMENU="Workspace List"
|
USERSTYLES='User Styles'
|
||||||
XUTILSMENU="X-utils"
|
WORKSPACEMENU='Workspace List'
|
||||||
|
XUTILSMENU='X-utils'
|
||||||
|
|
||||||
# Check translation
|
# Check translation
|
||||||
case ${LC_ALL} in
|
case ${LC_ALL} in
|
||||||
ru_RU*) #Russian locales
|
ru_RU*) #Russian locales
|
||||||
#BACKGROUNDMENU="Backgrounds"
|
#BACKGROUNDMENU='Backgrounds'
|
||||||
#BACKGROUNDMENUTITLE="Set the Background"
|
#BACKGROUNDMENUTITLE='Set the Background'
|
||||||
#OFFICEMENU="Office"
|
#FILEUTILSMENU='File utils'
|
||||||
#SYSTEMSTYLES="óÔÉÌÉ"
|
#OFFICEMENU='Office'
|
||||||
#USERSTYLES="óÔÉÌÉ"
|
#SYSTEMSTYLES='óÔÉÌÉ'
|
||||||
BROWSERMENU="âÒÁÕÚÅÒÙ"
|
#USERSTYLES='óÔÉÌÉ'
|
||||||
CONFIGUREMENU="îÁÓÔÒÏÊËÁ"
|
BROWSERMENU='âÒÁÕÚÅÒÙ'
|
||||||
EDITORMENU="òÅÄÁËÔÏÒÙ"
|
CONFIGUREMENU='îÁÓÔÒÏÊËÁ'
|
||||||
EXITITEM="÷ÙÊÔÉ"
|
EDITORMENU='òÅÄÁËÔÏÒÙ'
|
||||||
FBSETTINGSMENU="FB-ÎÁÓÔÒÏÊËÉ"
|
EXITITEM='÷ÙÊÔÉ'
|
||||||
GNOMEMENUTEXT="Gnome-ÍÅÎÀ"
|
FBSETTINGSMENU='FB-ÎÁÓÔÒÏÊËÉ'
|
||||||
GRAPHICMENU="çÒÁÆÉËÁ"
|
GNOMEMENUTEXT='Gnome-ÍÅÎÀ'
|
||||||
KDEMENUTEXT="KDE-ÍÅÎÀ"
|
GRAPHICMENU='çÒÁÆÉËÁ'
|
||||||
MISCMENU="ðÒÏÞÅÅ"
|
KDEMENUTEXT='KDE-ÍÅÎÀ'
|
||||||
MUSICMENU="ú×ÕË"
|
MISCMENU='ðÒÏÞÅÅ'
|
||||||
NETMENU="óÅÔØ"
|
MUSICMENU='ú×ÕË'
|
||||||
RELOADITEM="ðÅÒÅÎÁÓÔÒÏÉÔØ"
|
NETMENU='óÅÔØ'
|
||||||
RESTARTITEM="ðÅÒÅÚÁÐÕÓÔÉÔØ"
|
RELOADITEM='ðÅÒÅÎÁÓÔÒÏÉÔØ'
|
||||||
STYLEMENUTITLE="÷ÙÂÅÒÉÔÅ ÓÔÉÌØ"
|
RESTARTITEM='ðÅÒÅÚÁÐÕÓÔÉÔØ'
|
||||||
TERMINALMENU="ôÅÒÍÉÎÁÌÙ"
|
STYLEMENUTITLE='÷ÙÂÅÒÉÔÅ ÓÔÉÌØ'
|
||||||
WORKSPACEMENU="òÁÂÏÞÉÅ ÐÒÏÓÔÒÁÎÓÔ×Á"
|
TERMINALMENU='ôÅÒÍÉÎÁÌÙ'
|
||||||
XUTILSMENU="X-ÕÔÉÌÉÔÙ"
|
WORKSPACEMENU='òÁÂÏÞÉÅ ÐÒÏÓÔÒÁÎÓÔ×Á'
|
||||||
|
XUTILSMENU='X-ÕÔÉÌÉÔÙ'
|
||||||
;;
|
;;
|
||||||
de_DE*) # german locales
|
de_DE*) # german locales
|
||||||
#BACKGROUNDMENU="Backgrounds"
|
#BACKGROUNDMENU='Backgrounds'
|
||||||
#BACKGROUNDMENUTITLE="Set the Background"
|
#BACKGROUNDMENUTITLE='Set the Background'
|
||||||
#OFFICEMENU="Bueroprogramme"
|
#FILEUTILSMENU='File utils'
|
||||||
#SYSTEMSTYLES="Stile"
|
#OFFICEMENU='Bueroprogramme'
|
||||||
#USERSTYLES="Stile"
|
#SYSTEMSTYLES='Stile'
|
||||||
BROWSERMENU="Internet-Browser"
|
#USERSTYLES='Stile'
|
||||||
CONFIGUREMENU="Einstellungen"
|
BROWSERMENU='Internet-Browser'
|
||||||
EDITORMENU="Editoren"
|
CONFIGUREMENU='Einstellungen'
|
||||||
EXITITEM="Beenden"
|
EDITORMENU='Editoren'
|
||||||
FBSETTINGSMENU="Fluxbox-Einstellungen"
|
EXITITEM='Beenden'
|
||||||
GNOMEMENUTEXT="Gnome-Menues"
|
FBSETTINGSMENU='Fluxbox-Einstellungen'
|
||||||
GRAPHICMENU="Grafik"
|
GNOMEMENUTEXT='Gnome-Menues'
|
||||||
KDEMENUTEXT="Kde-Menues"
|
GRAPHICMENU='Grafik'
|
||||||
MISCMENU="Sonstiges"
|
KDEMENUTEXT='Kde-Menues'
|
||||||
MUSICMENU="Musik"
|
MISCMENU='Sonstiges'
|
||||||
NETMENU="Netzwerk"
|
MUSICMENU='Musik'
|
||||||
RELOADITEM="Konfiguration neu laden"
|
NETMENU='Netzwerk'
|
||||||
RESTARTITEM="Neustarten"
|
RELOADITEM='Konfiguration neu laden'
|
||||||
STYLEMENUTITLE="Einen Stil auswaehlen..."
|
RESTARTITEM='Neustarten'
|
||||||
TERMINALMENU="Terminals"
|
STYLEMENUTITLE='Einen Stil auswaehlen...'
|
||||||
WORKSPACEMENU="Arbeitsflaechenliste"
|
TERMINALMENU='Terminals'
|
||||||
XUTILSMENU="X-Anwendungen"
|
WORKSPACEMENU='Arbeitsflaechenliste'
|
||||||
|
XUTILSMENU='X-Anwendungen'
|
||||||
;;
|
;;
|
||||||
sv_SE*) #Swedish locales
|
sv_SE*) #Swedish locales
|
||||||
#BACKGROUNDMENU="Backgrounds"
|
#BACKGROUNDMENU='Backgrounds'
|
||||||
#BACKGROUNDMENUTITLE="Set the Background"
|
#BACKGROUNDMENUTITLE='Set the Background'
|
||||||
#OFFICEMENU="Office"
|
#FILEUTILSMENU='File utils'
|
||||||
#SYSTEMSTYLES="Stiler"
|
#OFFICEMENU='Office'
|
||||||
#USERSTYLES="Stiler"
|
#SYSTEMSTYLES='Stiler'
|
||||||
BROWSERMENU="Browsers"
|
#USERSTYLES='Stiler'
|
||||||
CONFIGUREMENU="Konfiguration"
|
BROWSERMENU='Browsers'
|
||||||
EDITORMENU="Editorer"
|
CONFIGUREMENU='Konfiguration'
|
||||||
EXITITEM="Exit"
|
EDITORMENU='Editorer'
|
||||||
FBSETTINGSMENU="FB-inställningar"
|
EXITITEM='Exit'
|
||||||
GNOMEMENUTEXT="Gnome-menyer"
|
FBSETTINGSMENU='FB-inställningar'
|
||||||
GRAPHICMENU="Grafik"
|
GNOMEMENUTEXT='Gnome-menyer'
|
||||||
KDEMENUTEXT="KDE-menyer"
|
GRAPHICMENU='Grafik'
|
||||||
MISCMENU="Blandat"
|
KDEMENUTEXT='KDE-menyer'
|
||||||
MUSICMENU="Musik"
|
MISCMENU='Blandat'
|
||||||
NETMENU="Net"
|
MUSICMENU='Musik'
|
||||||
RELOADITEM="Ladda om konfig"
|
NETMENU='Net'
|
||||||
RESTARTITEM="Starta om"
|
RELOADITEM='Ladda om konfig'
|
||||||
STYLEMENUTITLE="Välj en stil"
|
RESTARTITEM='Starta om'
|
||||||
TERMINALMENU="Terminaler"
|
STYLEMENUTITLE='Välj en stil'
|
||||||
WORKSPACEMENU="Arbetsytor"
|
TERMINALMENU='Terminaler'
|
||||||
XUTILSMENU="X-program"
|
WORKSPACEMENU='Arbetsytor'
|
||||||
|
XUTILSMENU='X-program'
|
||||||
;;
|
;;
|
||||||
nl_NL*) #Nederlandse locales
|
nl_NL*) #Nederlandse locales
|
||||||
BACKGROUNDMENU="Achtergrond"
|
BACKGROUNDMENU='Achtergrond'
|
||||||
BACKGROUNDMENUTITLE="Kies een achtergrond"
|
BACKGROUNDMENUTITLE='Kies een achtergrond'
|
||||||
BROWSERMENU="Browsers"
|
BROWSERMENU='Browsers'
|
||||||
CONFIGUREMENU="Instellingen"
|
CONFIGUREMENU='Instellingen'
|
||||||
EDITORMENU="Editors"
|
EDITORMENU='Editors'
|
||||||
EXITITEM="Afsluiten"
|
EXITITEM='Afsluiten'
|
||||||
FBSETTINGSMENU="FB-Instellingen"
|
FBSETTINGSMENU='FB-Instellingen'
|
||||||
GNOMEMENUTEXT="Gnome-menu"
|
FILEUTILSMENU='Verkenners'
|
||||||
GRAPHICMENU="Grafisch"
|
GNOMEMENUTEXT='Gnome-menu'
|
||||||
KDEMENUTEXT="KDE-menu"
|
GRAPHICMENU='Grafisch'
|
||||||
MISCMENU="Onregelmatig"
|
KDEMENUTEXT='KDE-menu'
|
||||||
MUSICMENU="Muziek"
|
MISCMENU='Onregelmatig'
|
||||||
NETMENU="Net"
|
MUSICMENU='Muziek'
|
||||||
OFFICEMENU="Office"
|
NETMENU='Net'
|
||||||
RELOADITEM="Vernieuw instellingen"
|
OFFICEMENU='Office'
|
||||||
RESTARTITEM="Restart"
|
RELOADITEM='Vernieuw instellingen'
|
||||||
STYLEMENUTITLE="Kies een styl"
|
RESTARTITEM='Restart'
|
||||||
SYSTEMSTYLES="Systeem Stylen"
|
STYLEMENUTITLE='Kies een styl'
|
||||||
TERMINALMENU="Terminals"
|
SYSTEMSTYLES='Systeem Stylen'
|
||||||
USERSTYLES="Gebruikers Stylen"
|
TERMINALMENU='Terminals'
|
||||||
WORKSPACEMENU="Werkveld Lijst"
|
USERSTYLES='Gebruikers Stylen'
|
||||||
XUTILSMENU="X-utils"
|
WORKSPACEMENU='Werkveld Lijst'
|
||||||
|
XUTILSMENU='X-utils'
|
||||||
;;
|
;;
|
||||||
fi_FI*) #Finnish locales
|
fi_FI*) #Finnish locales
|
||||||
#BACKGROUNDMENU="Backgrounds"
|
#BACKGROUNDMENU='Backgrounds'
|
||||||
#BACKGROUNDMENUTITLE="Set the Background"
|
#BACKGROUNDMENUTITLE='Set the Background'
|
||||||
#OFFICEMENU="Office"
|
#FILEUTILSMENU='File utils'
|
||||||
#SYSTEMSTYLES="Tyylit"
|
#OFFICEMENU='Office'
|
||||||
#USERSTYLES="Tyylit"
|
#SYSTEMSTYLES='Tyylit'
|
||||||
BROWSERMENU="Selaimet"
|
#USERSTYLES='Tyylit'
|
||||||
CONFIGUREMENU="Konfigurointi"
|
BROWSERMENU='Selaimet'
|
||||||
EDITORMENU="Editorit"
|
CONFIGUREMENU='Konfigurointi'
|
||||||
EXITITEM="Lopeta"
|
EDITORMENU='Editorit'
|
||||||
FBSETTINGSMENU="FB:n Asetukset"
|
EXITITEM='Lopeta'
|
||||||
GNOMEMENUTEXT="Gnomen valikot"
|
FBSETTINGSMENU='FB:n Asetukset'
|
||||||
GRAPHICMENU="Grafiikka"
|
GNOMEMENUTEXT='Gnomen valikot'
|
||||||
KDEMENUTEXT="KDE:n valikot"
|
GRAPHICMENU='Grafiikka'
|
||||||
MISCMENU="Sekalaista"
|
KDEMENUTEXT='KDE:n valikot'
|
||||||
MUSICMENU="Musikki"
|
MISCMENU='Sekalaista'
|
||||||
NETMENU="Verkko"
|
MUSICMENU='Musikki'
|
||||||
RELOADITEM="Päivitä"
|
NETMENU='Verkko'
|
||||||
RESTARTITEM="Käynnistä uudelleen"
|
RELOADITEM='Päivitä'
|
||||||
STYLEMENUTITLE="Valitse tyyli"
|
RESTARTITEM='Käynnistä uudelleen'
|
||||||
TERMINALMENU="Terminaalit"
|
STYLEMENUTITLE='Valitse tyyli'
|
||||||
WORKSPACEMENU="Työaluet"
|
TERMINALMENU='Terminaalit'
|
||||||
XUTILSMENU="X-Ohjelmat"
|
WORKSPACEMENU='Työaluet'
|
||||||
|
XUTILSMENU='X-Ohjelmat'
|
||||||
;;
|
;;
|
||||||
ja_JP*) #Japanese locales
|
ja_JP*) #Japanese locales
|
||||||
#BACKGROUNDMENU="Backgrounds"
|
#BACKGROUNDMENU='Backgrounds'
|
||||||
#BACKGROUNDMENUTITLE="Set the Background"
|
#BACKGROUNDMENUTITLE='Set the Background'
|
||||||
#OFFICEMENU="Office"
|
#FILEUTILSMENU='File utils'
|
||||||
#SYSTEMSTYLES="¥¹¥¿¥¤¥ë"
|
#OFFICEMENU='Office'
|
||||||
#USERSTYLES="¥¹¥¿¥¤¥ë"
|
#SYSTEMSTYLES='¥¹¥¿¥¤¥ë'
|
||||||
BROWSERMENU="¥Ö¥é¥¦¥¶"
|
#USERSTYLES='¥¹¥¿¥¤¥ë'
|
||||||
CONFIGUREMENU="ÀßÄê"
|
BROWSERMENU='¥Ö¥é¥¦¥¶'
|
||||||
EDITORMENU="¥¨¥Ç¥£¥¿"
|
CONFIGUREMENU='ÀßÄê'
|
||||||
EXITITEM="½ªÎ»"
|
EDITORMENU='¥¨¥Ç¥£¥¿'
|
||||||
FBSETTINGSMENU="FluxboxÀßÄê"
|
EXITITEM='½ªÎ»'
|
||||||
GNOMEMENUTEXT="Gnome¥á¥Ë¥å¡¼"
|
FBSETTINGSMENU='FluxboxÀßÄê'
|
||||||
GRAPHICMENU="²èÁü"
|
GNOMEMENUTEXT='Gnome¥á¥Ë¥å¡¼'
|
||||||
KDEMENUTEXT="KDE¥á¥Ë¥å¡¼"
|
GRAPHICMENU='²èÁü'
|
||||||
MISCMENU="¤¤¤í¤¤¤í"
|
KDEMENUTEXT='KDE¥á¥Ë¥å¡¼'
|
||||||
MUSICMENU="²»³Ú"
|
MISCMENU='¤¤¤í¤¤¤í'
|
||||||
NETMENU="¥Í¥Ã¥È¥ï¡¼¥¯"
|
MUSICMENU='²»³Ú'
|
||||||
RELOADITEM="ºÆÆɤ߹þ¤ß"
|
NETMENU='¥Í¥Ã¥È¥ï¡¼¥¯'
|
||||||
RESTARTITEM="ºÆµ¯Æ°"
|
RELOADITEM='ºÆÆɤ߹þ¤ß'
|
||||||
STYLEMENUTITLE="¥¹¥¿¥¤¥ëÁªÂò..."
|
RESTARTITEM='ºÆµ¯Æ°'
|
||||||
TERMINALMENU="¥¿¡¼¥ß¥Ê¥ë"
|
STYLEMENUTITLE='¥¹¥¿¥¤¥ëÁªÂò...'
|
||||||
WORKSPACEMENU="¥ï¡¼¥¯¥¹¥Ú¡¼¥¹"
|
TERMINALMENU='¥¿¡¼¥ß¥Ê¥ë'
|
||||||
XUTILSMENU="X¥æ¡¼¥Æ¥£¥ê¥Æ¥£"
|
WORKSPACEMENU='¥ï¡¼¥¯¥¹¥Ú¡¼¥¹'
|
||||||
|
XUTILSMENU='X¥æ¡¼¥Æ¥£¥ê¥Æ¥£'
|
||||||
;;
|
;;
|
||||||
fr_FR*) # french locales
|
fr_FR*) # french locales
|
||||||
#BACKGROUNDMENU="Backgrounds"
|
#BACKGROUNDMENU='Backgrounds'
|
||||||
#BACKGROUNDMENUTITLE="Set the Background"
|
#BACKGROUNDMENUTITLE='Set the Background'
|
||||||
#OFFICEMENU="Office"
|
#FILEUTILSMENU='File utils'
|
||||||
#SYSTEMSTYLES="Styles de la Systeme"
|
#OFFICEMENU='Office'
|
||||||
#USERSTYLES="Styles de la "
|
#SYSTEMSTYLES='Styles de la Systeme'
|
||||||
BROWSERMENU="Navigateurs"
|
#USERSTYLES='Styles de la '
|
||||||
CONFIGUREMENU="Configurer"
|
BROWSERMENU='Navigateurs'
|
||||||
EDITORMENU="Editeurs"
|
CONFIGUREMENU='Configurer'
|
||||||
EXITITEM="Sortir"
|
EDITORMENU='Editeurs'
|
||||||
FBSETTINGSMENU="FB-Settings"
|
EXITITEM='Sortir'
|
||||||
GNOMEMENUTEXT="menus-Gnome"
|
FBSETTINGSMENU='FB-Settings'
|
||||||
GRAPHICMENU="Graphisme"
|
GNOMEMENUTEXT='menus-Gnome'
|
||||||
KDEMENUTEXT="menus-KDE"
|
GRAPHICMENU='Graphisme'
|
||||||
MISCMENU="Misc"
|
KDEMENUTEXT='menus-KDE'
|
||||||
MUSICMENU="Musique"
|
MISCMENU='Misc'
|
||||||
NETMENU="Net"
|
MUSICMENU='Musique'
|
||||||
RELOADITEM="Recharger config"
|
NETMENU='Net'
|
||||||
RESTARTITEM="Redémarrer"
|
RELOADITEM='Recharger config'
|
||||||
STYLEMENUTITLE="Choisir un style..."
|
RESTARTITEM='Redémarrer'
|
||||||
TERMINALMENU="Terminaux"
|
STYLEMENUTITLE='Choisir un style...'
|
||||||
WORKSPACEMENU="Liste des bureaux"
|
TERMINALMENU='Terminaux'
|
||||||
XUTILSMENU="X-utils"
|
WORKSPACEMENU='Liste des bureaux'
|
||||||
|
XUTILSMENU='X-utils'
|
||||||
;;
|
;;
|
||||||
it_IT*) # italian locales
|
it_IT*) # italian locales
|
||||||
#BACKGROUNDMENU="Backgrounds"
|
#BACKGROUNDMENU='Backgrounds'
|
||||||
#BACKGROUNDMENUTITLE="Set the Background"
|
#BACKGROUNDMENUTITLE='Set the Background'
|
||||||
#OFFICEMENU="Office"
|
#FILEUTILSMENU='File utils'
|
||||||
#SYSTEMSTYLES="Stile"
|
#OFFICEMENU='Office'
|
||||||
#USERSTYLES="Stile"
|
#SYSTEMSTYLES='Stile'
|
||||||
BROWSERMENU="Browsers"
|
#USERSTYLES='Stile'
|
||||||
CONFIGUREMENU="Configurazione"
|
BROWSERMENU='Browsers'
|
||||||
EDITORMENU="Editori"
|
CONFIGUREMENU='Configurazione'
|
||||||
EXITITEM="Esci"
|
EDITORMENU='Editori'
|
||||||
FBSETTINGSMENU="Preferenze"
|
EXITITEM='Esci'
|
||||||
GAMESMENU="Giochi"
|
FBSETTINGSMENU='Preferenze'
|
||||||
GNOMEMENUTEXT="Gnome"
|
GAMESMENU='Giochi'
|
||||||
GRAPHICMENU="Grafica"
|
GNOMEMENUTEXT='Gnome'
|
||||||
KDEMENUTEXT="KDE"
|
GRAPHICMENU='Grafica'
|
||||||
MISCMENU="Varie"
|
KDEMENUTEXT='KDE'
|
||||||
MUSICMENU="Musica"
|
MISCMENU='Varie'
|
||||||
NETMENU="Internet"
|
MUSICMENU='Musica'
|
||||||
RELOADITEM="Rileggi la configurazione"
|
NETMENU='Internet'
|
||||||
RESTARTITEM="Riavvia"
|
RELOADITEM='Rileggi la configurazione'
|
||||||
STYLEMENUTITLE="Scegli uno stile"
|
RESTARTITEM='Riavvia'
|
||||||
TERMINALMENU="Terminali"
|
STYLEMENUTITLE='Scegli uno stile'
|
||||||
WORKSPACEMENU="Aree di lavoro"
|
TERMINALMENU='Terminali'
|
||||||
XUTILSMENU="X-utils"
|
WORKSPACEMENU='Aree di lavoro'
|
||||||
|
XUTILSMENU='X-utils'
|
||||||
;;
|
;;
|
||||||
ro_RO*) # Romanian locales
|
ro_RO*) # Romanian locales
|
||||||
#OFFICEMENU="Office"
|
#FILEUTILSMENU='File utils'
|
||||||
#RESTARTITEM="Restart"
|
#OFFICEMENU='Office'
|
||||||
BACKGROUNDMENU="Fundaluri"
|
#RESTARTITEM='Restart'
|
||||||
BACKGROUNDMENUTITLE="Alege fundalul"
|
BACKGROUNDMENU='Fundaluri'
|
||||||
BROWSERMENU="Navigatoare"
|
BACKGROUNDMENUTITLE='Alege fundalul'
|
||||||
CONFIGUREMENU="Configurare"
|
BROWSERMENU='Navigatoare'
|
||||||
EDITORMENU="Editoare"
|
CONFIGUREMENU='Configurare'
|
||||||
EXITITEM="Iesire"
|
EDITORMENU='Editoare'
|
||||||
FBSETTINGSMENU="Meniul Fluxbox"
|
EXITITEM='Iesire'
|
||||||
GAMESMENU="Jocuri"
|
FBSETTINGSMENU='Meniul Fluxbox'
|
||||||
GNOMEMENUTEXT="Meniu Gnome"
|
GAMESMENU='Jocuri'
|
||||||
GRAPHICMENU="Grafica"
|
GNOMEMENUTEXT='Meniu Gnome'
|
||||||
KDEMENUTEXT="Meniu KDE"
|
GRAPHICMENU='Grafica'
|
||||||
MISCMENU="Diverse"
|
KDEMENUTEXT='Meniu KDE'
|
||||||
MULTIMEDIAMENU="Multimedia"
|
MISCMENU='Diverse'
|
||||||
MUSICMENU="Muzica"
|
MULTIMEDIAMENU='Multimedia'
|
||||||
NETMENU="Net"
|
MUSICMENU='Muzica'
|
||||||
RELOADITEM="Reincarca configuratia"
|
NETMENU='Net'
|
||||||
STYLEMENUTITLE="Alege un stil..."
|
RELOADITEM='Reincarca configuratia'
|
||||||
SYSTEMSTYLES="Stiluri sistem"
|
STYLEMENUTITLE='Alege un stil...'
|
||||||
TERMINALMENU="Terminale"
|
SYSTEMSTYLES='Stiluri sistem'
|
||||||
USERSTYLES="Stiluri utilizator"
|
TERMINALMENU='Terminale'
|
||||||
WORKSPACEMENU="Lista workspace-uri"
|
USERSTYLES='Stiluri utilizator'
|
||||||
XUTILSMENU="Utilitare X"
|
WORKSPACEMENU='Lista workspace-uri'
|
||||||
|
XUTILSMENU='Utilitare X'
|
||||||
;;
|
;;
|
||||||
es_ES*) # spanish locales
|
es_ES*) # spanish locales
|
||||||
BACKGROUNDMENU="Fondos"
|
#FILEUTILSMENU='File utils'
|
||||||
BACKGROUNDMENUTITLE="Seleccionar Fondo"
|
BACKGROUNDMENU='Fondos'
|
||||||
BROWSERMENU="Navegadores"
|
BACKGROUNDMENUTITLE='Seleccionar Fondo'
|
||||||
CONFIGUREMENU="Configurar"
|
BROWSERMENU='Navegadores'
|
||||||
EDITORMENU="Editores"
|
CONFIGUREMENU='Configurar'
|
||||||
EXITITEM="Salir"
|
EDITORMENU='Editores'
|
||||||
FBSETTINGSMENU="Menú fluxbox"
|
EXITITEM='Salir'
|
||||||
GAMESMENU="Juegos"
|
FBSETTINGSMENU='Menú fluxbox'
|
||||||
GNOMEMENUTEXT="Menús Gnome"
|
GAMESMENU='Juegos'
|
||||||
GRAPHICMENU="Gráficos"
|
GNOMEMENUTEXT='Menús Gnome'
|
||||||
KDEMENUTEXT="Menús KDE"
|
GRAPHICMENU='Gráficos'
|
||||||
MISCMENU="Varios"
|
KDEMENUTEXT='Menús KDE'
|
||||||
MULTIMEDIAMENU="Multimedia"
|
MISCMENU='Varios'
|
||||||
MUSICMENU="Música"
|
MULTIMEDIAMENU='Multimedia'
|
||||||
NETMENU="Red"
|
MUSICMENU='Música'
|
||||||
OFFICEMENU="Oficina"
|
NETMENU='Red'
|
||||||
RELOADITEM="Reconfigurar"
|
OFFICEMENU='Oficina'
|
||||||
RESTARTITEM="Reiniciar"
|
RELOADITEM='Reconfigurar'
|
||||||
STYLEMENUTITLE="Escoge un Estilo..."
|
RESTARTITEM='Reiniciar'
|
||||||
SYSTEMSTYLES="Estilos del Sistema"
|
STYLEMENUTITLE='Escoge un Estilo...'
|
||||||
TERMINALMENU="Terminales"
|
SYSTEMSTYLES='Estilos del Sistema'
|
||||||
USERSTYLES="Estilos del Usuario"
|
TERMINALMENU='Terminales'
|
||||||
WORKSPACEMENU="Lista de Escritorios"
|
USERSTYLES='Estilos del Usuario'
|
||||||
XUTILSMENU="Utilidades X"
|
WORKSPACEMENU='Lista de Escritorios'
|
||||||
|
XUTILSMENU='Utilidades X'
|
||||||
;;
|
;;
|
||||||
pl_PL*) # Polish locales
|
pl_PL*) # Polish locales
|
||||||
BACKGROUNDMENU="Tapety"
|
#FILEUTILSMENU='File utils'
|
||||||
BACKGROUNDMENUTITLE="Ustaw tapet?"
|
BACKGROUNDMENU='Tapety'
|
||||||
BROWSERMENU="Przegl?darki"
|
BACKGROUNDMENUTITLE='Ustaw tapet?'
|
||||||
CONFIGUREMENU="Konfiguracja"
|
BROWSERMENU='Przegl?darki'
|
||||||
EDITORMENU="Edytory"
|
CONFIGUREMENU='Konfiguracja'
|
||||||
EXITITEM="Wyj?cie"
|
EDITORMENU='Edytory'
|
||||||
FBSETTINGSMENU="Menu Fluxbox"
|
EXITITEM='Wyj?cie'
|
||||||
GAMESMENU="Gry"
|
FBSETTINGSMENU='Menu Fluxbox'
|
||||||
GNOMEMENUTEXT="Menu Gnome"
|
GAMESMENU='Gry'
|
||||||
GRAPHICMENU="Grafika"
|
GNOMEMENUTEXT='Menu Gnome'
|
||||||
KDEMENUTEXT="Menu KDE"
|
GRAPHICMENU='Grafika'
|
||||||
MISCMENU="Ró?ne"
|
KDEMENUTEXT='Menu KDE'
|
||||||
MULTIMEDIAMENU="Multimedia"
|
MISCMENU='Ró?ne'
|
||||||
MUSICMENU="Muzyka"
|
MULTIMEDIAMENU='Multimedia'
|
||||||
NETMENU="Sie?"
|
MUSICMENU='Muzyka'
|
||||||
OFFICEMENU="Aplikacje biurowe"
|
NETMENU='Sie?'
|
||||||
RELOADITEM="Od?wie? konfiguracj?"
|
OFFICEMENU='Aplikacje biurowe'
|
||||||
RESTARTITEM="Restart"
|
RELOADITEM='Od?wie? konfiguracj?'
|
||||||
STYLEMENUTITLE="Wybierz styl..."
|
RESTARTITEM='Restart'
|
||||||
SYSTEMSTYLES="Style systemowe"
|
STYLEMENUTITLE='Wybierz styl...'
|
||||||
TERMINALMENU="Terminale"
|
SYSTEMSTYLES='Style systemowe'
|
||||||
USERSTYLES="Style u?ytkownika"
|
TERMINALMENU='Terminale'
|
||||||
WORKSPACEMENU="Lista pulpitów"
|
USERSTYLES='Style u?ytkownika'
|
||||||
XUTILSMENU="Narz?dzia X"
|
WORKSPACEMENU='Lista pulpitów'
|
||||||
|
XUTILSMENU='Narz?dzia X'
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
||||||
# Set Defaults
|
# Set Defaults
|
||||||
FILENAME="${HOME}/.fluxbox/menu"
|
FILENAME="${HOME}/.fluxbox/menu"
|
||||||
MENUTITLE="Fluxbox"
|
MENUTITLE="Fluxbox"
|
||||||
|
@ -517,7 +541,6 @@ EOF
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
# Get options.
|
# Get options.
|
||||||
while getopts ":Bkhragb:t:p:w:u:n:q:o:m:" COMMAND_LINE_ARGUMENT ; do
|
while getopts ":Bkhragb:t:p:w:u:n:q:o:m:" COMMAND_LINE_ARGUMENT ; do
|
||||||
case "${COMMAND_LINE_ARGUMENT}" in
|
case "${COMMAND_LINE_ARGUMENT}" in
|
||||||
|
@ -539,7 +562,6 @@ while getopts ":Bkhragb:t:p:w:u:n:q:o:m:" COMMAND_LINE_ARGUMENT ; do
|
||||||
*) display_usage ; exit 1 ;;
|
*) display_usage ; exit 1 ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
# Check defaults
|
# Check defaults
|
||||||
|
|
||||||
# Can we actually create ${FILENAME}
|
# Can we actually create ${FILENAME}
|
||||||
|
@ -558,7 +580,7 @@ if [ -w "${FILENAME}" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# packagedatadir
|
# packagedatadir
|
||||||
if [ ! -d "${PKGDATADIR}" -o "${PKGDATADIR}" = "" ]; then
|
if [ ! -d "${PKGDATADIR}" -o -z "${PKGDATADIR}" ]; then
|
||||||
if [ "`uname`" = "Linux" ];then
|
if [ "`uname`" = "Linux" ];then
|
||||||
PKGDATADIR=/usr/share
|
PKGDATADIR=/usr/share
|
||||||
else
|
else
|
||||||
|
@ -567,12 +589,12 @@ if [ ! -d "${PKGDATADIR}" -o "${PKGDATADIR}" = "" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# gnome packagedatadir
|
# gnome packagedatadir
|
||||||
if [ ! -d "${GPKGDATADIR}" -o "${GPKGDATADIR}" = "" ]; then
|
if [ ! -d "${GPKGDATADIR}" -o -z "${GPKGDATADIR}" ]; then
|
||||||
GPKGDATADIR=${PKGDATADIR}
|
GPKGDATADIR=${PKGDATADIR}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# kde packagedatadir
|
# kde packagedatadir
|
||||||
if [ ! -d "${KPKGDATADIR}" -o "${KPKGDATADIR}" = "" ]; then
|
if [ ! -d "${KPKGDATADIR}" -o -z "${KPKGDATADIR}" ]; then
|
||||||
KPKGDATADIR=${PKGDATADIR}
|
KPKGDATADIR=${PKGDATADIR}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -580,7 +602,7 @@ fi
|
||||||
# find the default terminal
|
# find the default terminal
|
||||||
find_it $MY_TERM
|
find_it $MY_TERM
|
||||||
if [ $? -ne 0 ];then
|
if [ $? -ne 0 ];then
|
||||||
[ -n "$MY_TERM" ] && echo "Warning: you choose an invalid term." >&2
|
[ -n "$MY_TERM" ] && echo "Warning: you chose an invalid term." >&2
|
||||||
#The precise order is up for debate.
|
#The precise order is up for debate.
|
||||||
for term in Eterm aterm rxvt wterm xterm konsole gnome-terminal; do
|
for term in Eterm aterm rxvt wterm xterm konsole gnome-terminal; do
|
||||||
if find_it $term; then
|
if find_it $term; then
|
||||||
|
@ -596,7 +618,7 @@ fi
|
||||||
# find the default browser
|
# find the default browser
|
||||||
find_it $MY_BROWSER
|
find_it $MY_BROWSER
|
||||||
if [ $? -ne 0 ];then
|
if [ $? -ne 0 ];then
|
||||||
[ -n "$MY_BROWSER" ] && echo "Warning: you choose an invalid browser." >&2
|
[ -n "$MY_BROWSER" ] && echo "Warning: you chose an invalid browser." >&2
|
||||||
#The precise order is up for debate.
|
#The precise order is up for debate.
|
||||||
for browser in opera skipstone phoenix mozilla galeon konqueror dillo netscape links w3m lynx; do
|
for browser in opera skipstone phoenix mozilla galeon konqueror dillo netscape links w3m lynx; do
|
||||||
if find_it $browser; then
|
if find_it $browser; then
|
||||||
|
@ -625,14 +647,13 @@ cat << EOF > ${FILENAME}
|
||||||
# If you read this it means you want to edit this file manualy, so here
|
# If you read this it means you want to edit this file manualy, so here
|
||||||
# are some usefull tips:
|
# are some usefull tips:
|
||||||
#
|
#
|
||||||
# - You can add your own menu-entries to ~/.fluxbox/usermenu and will be
|
# - You can add your own menu-entries to ~/.fluxbox/usermenu
|
||||||
# included
|
|
||||||
#
|
#
|
||||||
# - If you miss apps please let me know and I will add them for the next
|
# - If you miss apps please let me know and I will add them for the next
|
||||||
# release.
|
# release.
|
||||||
#
|
#
|
||||||
# - The -r option prevents removing of empty menu entries and makes
|
# - The -r option prevents removing of empty menu entries and lines which
|
||||||
# thing much more readable.
|
# makes things much more readable.
|
||||||
#
|
#
|
||||||
# - To prevent any other app from overwriting your menu
|
# - To prevent any other app from overwriting your menu
|
||||||
# you can change the menu name in .fluxbox/init to:
|
# you can change the menu name in .fluxbox/init to:
|
||||||
|
@ -696,6 +717,11 @@ append_submenu "${EDITORMENU}"
|
||||||
normal_find nedit gvim xemacs emacs gedit xedit kword kwrite kate
|
normal_find nedit gvim xemacs emacs gedit xedit kword kwrite kate
|
||||||
append_menu_end
|
append_menu_end
|
||||||
|
|
||||||
|
append_submenu "${FILEUTILSMENU}"
|
||||||
|
normal_find konqueror
|
||||||
|
find_it nautilus append "[exec] (nautilus) {nautilus --no-desktop}"
|
||||||
|
find_it mc append "[exec] (mc) {${DEFAULT_TERM} -e mc}"
|
||||||
|
append_menu_end
|
||||||
|
|
||||||
append_submenu "${MULTIMEDIAMENU}"
|
append_submenu "${MULTIMEDIAMENU}"
|
||||||
append_submenu "${GRAPHICMENU}"
|
append_submenu "${GRAPHICMENU}"
|
||||||
|
@ -720,7 +746,7 @@ append_submenu "${MULTIMEDIAMENU}"
|
||||||
append_menu_end
|
append_menu_end
|
||||||
|
|
||||||
append_submenu "${XUTILSMENU}"
|
append_submenu "${XUTILSMENU}"
|
||||||
normal_find xfontsel xman xload xfigxbiff editres viewres xclock
|
normal_find xfontsel xman xload xfigxbiff editres viewres xclock xmag
|
||||||
append_menu_end
|
append_menu_end
|
||||||
append_menu_end
|
append_menu_end
|
||||||
|
|
||||||
|
@ -823,9 +849,7 @@ append_submenu "${FBSETTINGSMENU}"
|
||||||
append "[workspaces] (${WORKSPACEMENU})"
|
append "[workspaces] (${WORKSPACEMENU})"
|
||||||
|
|
||||||
append_submenu Tools
|
append_submenu Tools
|
||||||
find_it fluxconf append "[exec] (FluxConf) {fluxconf}"
|
normal_find fluxconf fluxkeys fluxmenu
|
||||||
find_it fluxkeys append "[exec] (FluxKeys) {fluxkeys}"
|
|
||||||
find_it fluxmenu append "[exec] (FluxMenu) {fluxmenu}"
|
|
||||||
# if gxmessage exitst use it; else use xmessage
|
# if gxmessage exitst use it; else use xmessage
|
||||||
find_it gxmessage append \
|
find_it gxmessage append \
|
||||||
"[exec] (Windowname) {xprop|grep WM_CLASS|cut -d \\\" -f 2|gxmessage -file - -center}" || \
|
"[exec] (Windowname) {xprop|grep WM_CLASS|cut -d \\\" -f 2|gxmessage -file - -center}" || \
|
||||||
|
@ -850,5 +874,5 @@ if [ ! "${REMOVE}" ];then
|
||||||
clean_up
|
clean_up
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Menu succesfully generated."
|
echo 'Menu succesfully generated.'
|
||||||
echo "Use fluxbox-generate_menu -h to read all about the latest features."
|
echo 'Use fluxbox-generate_menu -h to read all about the latest features.'
|
||||||
|
|
Loading…
Reference in a new issue