Added more international keywords and Portuguese locales (Thanks Antonio Gomez), Added automatic reload of the new menu.

This commit is contained in:
fluxgen 2004-01-21 21:57:46 +00:00
parent 09c055f7b2
commit cbcdfc70cf

View file

@ -22,7 +22,7 @@
# 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.in,v 1.11 2004/01/12 11:14:55 fluxgen Exp $ # $Id: fluxbox-generate_menu.in,v 1.12 2004/01/21 21:57:46 fluxgen Exp $
# #
# Portability notes: # Portability notes:
@ -246,108 +246,158 @@ EDITORMENU='Editors'
EXITITEM='Exit' EXITITEM='Exit'
FBSETTINGSMENU='fluxbox menu' FBSETTINGSMENU='fluxbox menu'
FILEUTILSMENU='File utils' FILEUTILSMENU='File utils'
FLUXBOXCOMMAND='Fluxbox Command'
GAMESMENU='Games' GAMESMENU='Games'
GNOMEMENUTEXT='Gnome-menus' GNOMEMENUTEXT='Gnome-menus'
GRAPHICMENU='Graphics' GRAPHICMENU='Graphics'
KDEMENUTEXT='KDE-menus' KDEMENUTEXT='KDE-menus'
LOCKSCREEN='Lock screen'
MISCMENU='Misc' MISCMENU='Misc'
MULTIMEDIAMENU='Multimedia' MULTIMEDIAMENU='Multimedia'
MUSICMENU='Audio' MUSICMENU='Audio'
NETMENU='Net' NETMENU='Net'
OFFICEMENU='Office' OFFICEMENU='Office'
RANDOMBACKGROUND='Random Background'
REGENERATEMENU='Regen Menu'
RELOADITEM='Reload config' RELOADITEM='Reload config'
RESTARTITEM='Restart' RESTARTITEM='Restart'
RUNCOMMAND='Run'
SCREENSHOT='Screenshot'
STYLEMENUTITLE='Choose a style...' STYLEMENUTITLE='Choose a style...'
SYSTEMSTYLES='System Styles' SYSTEMSTYLES='System Styles'
TERMINALMENU='Terminals' TERMINALMENU='Terminals'
TOOLS='Tools'
USERSTYLES='User Styles' USERSTYLES='User Styles'
VIDEOMENU='Video' VIDEOMENU='Video'
WINDOWMANAGERS='Window Managers' WINDOWMANAGERS='Window Managers'
WINDOWNAME='Window name'
WORKSPACEMENU='Workspace List' WORKSPACEMENU='Workspace List'
XUTILSMENU='X-utils' 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'
#BACKGROUNDMENUTITLE='Set the Background' # Ah my Russian hero. Please help me update the translation
#FILEUTILSMENU='File utils' # $ cp fluxbox-generate-menu.in fluxbox-generate-menu.in.orig
#OFFICEMENU='Office' # $ $EDITOR fluxbox-generate-menu.in
#SYSTEMSTYLES='óÔÉÌÉ' # $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff
#USERSTYLES='óÔÉÌÉ' # email fbgm.diff to han@mijncomputer.nl
#WINDOWMANAGERS='WindowManagers'
BACKGROUNDMENU='Backgrounds (CHANGE ME!)'
BACKGROUNDMENUTITLE='Set the Background (CHANGE ME!)'
BROWSERMENU='âÒÁÕÚÅÒÙ' BROWSERMENU='âÒÁÕÚÅÒÙ'
CONFIGUREMENU='îÁÓÔÒÏÊËÁ' CONFIGUREMENU='îÁÓÔÒÏÊËÁ'
EDITORMENU='òÅÄÁËÔÏÒÙ' EDITORMENU='òÅÄÁËÔÏÒÙ'
EXITITEM='÷ÙÊÔÉ' EXITITEM='÷ÙÊÔÉ'
FBSETTINGSMENU='FB-ÎÁÓÔÒÏÊËÉ' FBSETTINGSMENU='FB-ÎÁÓÔÒÏÊËÉ'
# GAMESMENU='Games' FILEUTILSMENU='File utils (CHANGE ME!)'
FLUXBOXCOMMAND='Fluxbox Command (CHANGE ME!)'
GAMESMENU='Games (CHANGE ME!)'
GNOMEMENUTEXT='Gnome-ÍÅÎÀ' GNOMEMENUTEXT='Gnome-ÍÅÎÀ'
GRAPHICMENU='çÒÁÆÉËÁ' GRAPHICMENU='çÒÁÆÉËÁ'
KDEMENUTEXT='KDE-ÍÅÎÀ' KDEMENUTEXT='KDE-ÍÅÎÀ'
LOCKSCREEN='Lock screen (CHANGE ME!)'
MISCMENU='ðÒÏÞÅÅ' MISCMENU='ðÒÏÞÅÅ'
MUSICMENU='ú×ÕË' MUSICMENU='ú×ÕË'
NETMENU='óÅÔØ' NETMENU='óÅÔØ'
OFFICEMENU='Office (CHANGE ME!)'
RANDOMBACKGROUND='Random Background (CHANGE ME!)'
REGENERATEMENU='Regen Menu (CHANGE ME!)'
RELOADITEM='ðÅÒÅÎÁÓÔÒÏÉÔØ' RELOADITEM='ðÅÒÅÎÁÓÔÒÏÉÔØ'
RESTARTITEM='ðÅÒÅÚÁÐÕÓÔÉÔØ' RESTARTITEM='ðÅÒÅÚÁÐÕÓÔÉÔØ'
RUNCOMMAND='Run (CHANGE ME!)'
SCREENSHOT='Screenshot (CHANGE ME!)'
STYLEMENUTITLE='÷ÙÂÅÒÉÔÅ ÓÔÉÌØ' STYLEMENUTITLE='÷ÙÂÅÒÉÔÅ ÓÔÉÌØ'
SYSTEMSTYLES='óÔÉÌÉ'
TERMINALMENU='ôÅÒÍÉÎÁÌÙ' TERMINALMENU='ôÅÒÍÉÎÁÌÙ'
TOOLS='Tools (CHANGE ME!)'
USERSTYLES='óÔÉÌÉ'
WINDOWMANAGERS='WindowManagers (CHANGE ME!)'
WINDOWNAME='Window name (CHANGE ME!)'
WORKSPACEMENU='òÁÂÏÞÉÅ ÐÒÏÓÔÒÁÎÓÔ×Á' WORKSPACEMENU='òÁÂÏÞÉÅ ÐÒÏÓÔÒÁÎÓÔ×Á'
XUTILSMENU='X-ÕÔÉÌÉÔÙ' XUTILSMENU='X-ÕÔÉÌÉÔÙ'
;; ;;
de_DE*) # german locales de_DE*) # german locales
#WINDOWMANAGERS='Window Managers' # Ah my German hero. Please help me update the translation
# $ cp fluxbox-generate-menu.in fluxbox-generate-menu.in.orig
# $ $EDITOR fluxbox-generate-menu.in
# $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff
# email fbgm.diff to han@mijncomputer.nl
BACKGROUNDMENU='Hintergrundbilder' BACKGROUNDMENU='Hintergrundbilder'
BACKGROUNDMENUTITLE='Hintergrundbild setzen' BACKGROUNDMENUTITLE='Hintergrundbild setzen'
BROWSERMENU='Internet-Browser' BROWSERMENU='Internet-Browser (CHANGE ME!)'
CONFIGUREMENU='Einstellungen' CONFIGUREMENU='Einstellungen (CHANGE ME!)'
EDITORMENU='Editoren' EDITORMENU='Editoren'
EXITITEM='Beenden' EXITITEM='Beenden'
FBSETTINGSMENU='Fluxbox-Einstellungen' FBSETTINGSMENU='Fluxbox-Einstellungen'
FILEUTILSMENU='Datei-Utilities' FILEUTILSMENU='Datei-Utilities'
# GAMESMENU='Games' FLUXBOXCOMMAND='Fluxbox Command (CHANGE ME!)'
GAMESMENU='Games (CHANGE ME!)'
GNOMEMENUTEXT='Gnome-Menues' GNOMEMENUTEXT='Gnome-Menues'
GRAPHICMENU='Grafik' GRAPHICMENU='Grafik'
KDEMENUTEXT='Kde-Menues' KDEMENUTEXT='Kde-Menues'
LOCKSCREEN='Lock screen (CHANGE ME!)'
MISCMENU='Sonstiges' MISCMENU='Sonstiges'
MUSICMENU='Musik' MUSICMENU='Musik'
NETMENU='Netzwerk' NETMENU='Netzwerk'
OFFICEMENU='Bueroprogramme' OFFICEMENU='Bueroprogramme'
RANDOMBACKGROUND='Random Background (CHANGE ME!)'
REGENERATEMENU='Regen Menu (CHANGE ME!)'
RELOADITEM='Konfiguration neu laden' RELOADITEM='Konfiguration neu laden'
RESTARTITEM='Neustarten' RESTARTITEM='Neustarten'
RUNCOMMAND='Run (CHANGE ME!)'
SCREENSHOT='Screenshot (CHANGE ME!)'
STYLEMENUTITLE='Einen Stil auswaehlen...' STYLEMENUTITLE='Einen Stil auswaehlen...'
SYSTEMSTYLES='Systemweite Stile' SYSTEMSTYLES='Systemweite Stile'
TERMINALMENU='Terminals' TERMINALMENU='Terminals (CHANGE ME!)'
TOOLS='Tools (CHANGE ME!)'
USERSTYLES='Eigene Stile' USERSTYLES='Eigene Stile'
WINDOWMANAGERS='Window Managers (CHANGE ME!)'
WINDOWNAME='Window name (CHANGE ME!)'
WORKSPACEMENU='Arbeitsflaechenliste' WORKSPACEMENU='Arbeitsflaechenliste'
XUTILSMENU='X-Anwendungen' XUTILSMENU='X-Anwendungen'
;; ;;
sv_SE*) #Swedish locales sv_SE*) #Swedish locales
# Ah my Swedish hero. Please help me update the translation
# $ cp fluxbox-generate-menu.in fluxbox-generate-menu.in.orig
# $ $EDITOR fluxbox-generate-menu.in
# $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff
# email fbgm.diff to han@mijncomputer.nl
BACKGROUNDMENU='Bakgrunder' BACKGROUNDMENU='Bakgrunder'
BACKGROUNDMENUTITLE='Sätt bakgrund' BACKGROUNDMENUTITLE='Sätt bakgrund'
#FILEUTILSMENU='File utils'
#OFFICEMENU='Office'
#SYSTEMSTYLES='Stiler'
#USERSTYLES='Stiler'
WINDOWMANAGERS='Fönsterhanterare'
BROWSERMENU='Browsers' BROWSERMENU='Browsers'
CONFIGUREMENU='Konfiguration' CONFIGUREMENU='Konfiguration'
EDITORMENU='Editorer' EDITORMENU='Editorer'
EXITITEM='Exit' EXITITEM='Exit (CHANGE ME!)'
FBSETTINGSMENU='FB-inställningar' FBSETTINGSMENU='FB-inställningar'
FILEUTILSMENU='File utils (CHANGE ME!)'
FLUXBOXCOMMAND='Fluxbox Command (CHANGE ME!)'
GAMESMENU='Spel' GAMESMENU='Spel'
GNOMEMENUTEXT='Gnome-menyer' GNOMEMENUTEXT='Gnome-menyer'
GRAPHICMENU='Grafik' GRAPHICMENU='Grafik'
KDEMENUTEXT='KDE-menyer' KDEMENUTEXT='KDE-menyer'
LOCKSCREEN='Lock screen'
MISCMENU='Blandat' MISCMENU='Blandat'
MUSICMENU='Musik' MUSICMENU='Musik'
NETMENU='Net' NETMENU='Net'
OFFICEMENU='Office (CHANGE ME!)'
RANDOMBACKGROUND='Random Background (CHANGE ME!)'
REGENERATEMENU='Regen Menu (CHANGE ME!)'
RELOADITEM='Ladda om konfig' RELOADITEM='Ladda om konfig'
RESTARTITEM='Starta om' RESTARTITEM='Starta om'
RUNCOMMAND='Run (CHANGE ME!)'
SCREENSHOT='Screenshot (CHANGE ME!)'
STYLEMENUTITLE='Välj en stil' STYLEMENUTITLE='Välj en stil'
SYSTEMSTYLES='Stiler'
TERMINALMENU='Terminaler' TERMINALMENU='Terminaler'
TOOLS='Tools (CHANGE ME!)'
USERSTYLES='Stiler'
WINDOWMANAGERS='Fönsterhanterare'
WINDOWNAME='Window name (CHANGE ME!)'
WORKSPACEMENU='Arbetsytor' WORKSPACEMENU='Arbetsytor'
XUTILSMENU='X-program' XUTILSMENU='X-program (CHANGE ME!)'
;; ;;
nl_NL*) #Nederlandse locales nl_NL*) #Nederlandse locales
BACKGROUNDMENU='Achtergrond' BACKGROUNDMENU='Achtergrond'
@ -358,25 +408,39 @@ case ${LC_ALL} in
EXITITEM='Afsluiten' EXITITEM='Afsluiten'
FBSETTINGSMENU='FB-Instellingen' FBSETTINGSMENU='FB-Instellingen'
FILEUTILSMENU='Verkenners' FILEUTILSMENU='Verkenners'
FLUXBOXCOMMAND='Fluxbox Commando'
GAMESMENU='Spelletjes' GAMESMENU='Spelletjes'
GNOMEMENUTEXT='Gnome-menu' GNOMEMENUTEXT='Gnome-menu'
GRAPHICMENU='Grafisch' GRAPHICMENU='Grafisch'
KDEMENUTEXT='KDE-menu' KDEMENUTEXT='KDE-menu'
LOCKSCREEN='Scherm op slot'
MISCMENU='Onregelmatig' MISCMENU='Onregelmatig'
MUSICMENU='Muziek' MUSICMENU='Muziek'
NETMENU='Net' NETMENU='Internet'
OFFICEMENU='Office' OFFICEMENU='Office'
RANDOMBACKGROUND='Willekeurige Achtergrond'
REGENERATEMENU='Nieuw Menu'
RELOADITEM='Vernieuw instellingen' RELOADITEM='Vernieuw instellingen'
RESTARTITEM='Herstart' RESTARTITEM='Herstart'
RUNCOMMAND='Voer uit'
SCREENSHOT='Schermafdruk'
STYLEMENUTITLE='Kies een stijl' STYLEMENUTITLE='Kies een stijl'
SYSTEMSTYLES='Systeem Stijlen' SYSTEMSTYLES='Systeem Stijlen'
TERMINALMENU='Terminals' TERMINALMENU='Terminals'
TOOLS='Gereedschap'
USERSTYLES='Gebruikers Stijlen' USERSTYLES='Gebruikers Stijlen'
WINDOWMANAGERS='Window Managers' WINDOWMANAGERS='Venster Managers'
WINDOWNAME='Venster Naam'
WORKSPACEMENU='Werkveld menu' WORKSPACEMENU='Werkveld menu'
XUTILSMENU='X-utils' XUTILSMENU='X-Gereedschap'
;; ;;
fi_FI*) #Finnish locales fi_FI*) #Finnish locales
# Ah my finish hero. Please help me update the translation
# $ cp fluxbox-generate-menu.in fluxbox-generate-menu.in.orig
# $ $EDITOR fluxbox-generate-menu.in
# $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff
# email fbgm.diff to han@mijncomputer.nl
BACKGROUNDMENU='Taustat' BACKGROUNDMENU='Taustat'
BACKGROUNDMENUTITLE='Määritä tausta' BACKGROUNDMENUTITLE='Määritä tausta'
BROWSERMENU='Selaimet' BROWSERMENU='Selaimet'
@ -385,52 +449,80 @@ case ${LC_ALL} in
EXITITEM='Lopeta' EXITITEM='Lopeta'
FBSETTINGSMENU='FB:n Asetukset' FBSETTINGSMENU='FB:n Asetukset'
FILEUTILSMENU='Tiedostoapuohjelmat' FILEUTILSMENU='Tiedostoapuohjelmat'
# GAMESMENU='Games' FLUXBOXCOMMAND='Fluxbox Command (CHANGE ME!)'
GAMESMENU='Games (CHANGE ME!)'
GNOMEMENUTEXT='Gnomen valikot' GNOMEMENUTEXT='Gnomen valikot'
GRAPHICMENU='Grafiikka' GRAPHICMENU='Grafiikka'
KDEMENUTEXT='KDE:n valikot' KDEMENUTEXT='KDE:n valikot'
LOCKSCREEN='Lock screen'
MISCMENU='Sekalaista' MISCMENU='Sekalaista'
MUSICMENU='Musiikki' MUSICMENU='Musiikki'
NETMENU='Verkko' NETMENU='Verkko'
OFFICEMENU='Toimistotyökalut' OFFICEMENU='Toimistotyökalut'
RANDOMBACKGROUND='Random Background (CHANGE ME!)'
REGENERATEMENU='Regen Menu (CHANGE ME!)'
RELOADITEM='Päivitä' RELOADITEM='Päivitä'
RESTARTITEM='Käynnistä uudelleen' RESTARTITEM='Käynnistä uudelleen'
RUNCOMMAND='Run (CHANGE ME!)'
SCREENSHOT='Screenshot (CHANGE ME!)'
STYLEMENUTITLE='Valitse tyyli' STYLEMENUTITLE='Valitse tyyli'
SYSTEMSTYLES='Järjestelmän tyylit' SYSTEMSTYLES='Järjestelmän tyylit'
TERMINALMENU='Terminaalit' TERMINALMENU='Terminaalit'
TOOLS='Tools (CHANGE ME!)'
USERSTYLES='Käyttäjän tyylit' USERSTYLES='Käyttäjän tyylit'
WINDOWMANAGERS='Ikkunanhallintaohjelmat' WINDOWMANAGERS='Ikkunanhallintaohjelmat'
WINDOWNAME='Window name (CHANGE ME!)'
WORKSPACEMENU='Työalueet' WORKSPACEMENU='Työalueet'
XUTILSMENU='X-Ohjelmat' XUTILSMENU='X-Ohjelmat'
;; ;;
ja_JP*) #Japanese locales ja_JP*) #Japanese locales
#BACKGROUNDMENU='Backgrounds' # Ah my Japanese hero. Please help me update the translation
#BACKGROUNDMENUTITLE='Set the Background' # $ cp fluxbox-generate-menu.in fluxbox-generate-menu.in.orig
#FILEUTILSMENU='File utils' # $ $EDITOR fluxbox-generate-menu.in
#OFFICEMENU='Office' # $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff
#SYSTEMSTYLES='¥¹¥¿¥¤¥ë' # email fbgm.diff to han@mijncomputer.nl
#USERSTYLES='¥¹¥¿¥¤¥ë'
#WINDOWMANAGERS='Window Managers' BACKGROUNDMENU='Backgrounds (CHANGE ME!)'
BACKGROUNDMENUTITLE='Set the Background (CHANGE ME!)'
BROWSERMENU='¥Ö¥é¥¦¥¶' BROWSERMENU='¥Ö¥é¥¦¥¶'
CONFIGUREMENU='ÀßÄê' CONFIGUREMENU='ÀßÄê'
EDITORMENU='¥¨¥Ç¥£¥¿' EDITORMENU='¥¨¥Ç¥£¥¿'
EXITITEM='½ªÎ»' EXITITEM='½ªÎ»'
FBSETTINGSMENU='FluxboxÀßÄê' FBSETTINGSMENU='FluxboxÀßÄê'
# GAMESMENU='Games' FILEUTILSMENU='File utils (CHANGE ME!)'
FLUXBOXCOMMAND='Fluxbox Command (CHANGE ME!)'
GAMESMENU='Games (CHANGE ME!)'
GNOMEMENUTEXT='Gnome¥á¥Ë¥å¡¼' GNOMEMENUTEXT='Gnome¥á¥Ë¥å¡¼'
GRAPHICMENU='²èÁü' GRAPHICMENU='²èÁü'
KDEMENUTEXT='KDE¥á¥Ë¥å¡¼' KDEMENUTEXT='KDE¥á¥Ë¥å¡¼'
LOCKSCREEN='Lock screen (CHANGE ME!)'
MISCMENU='¤¤¤í¤¤¤í' MISCMENU='¤¤¤í¤¤¤í'
MUSICMENU='²»³Ú' MUSICMENU='²»³Ú'
NETMENU='¥Í¥Ã¥È¥ï¡¼¥¯' NETMENU='¥Í¥Ã¥È¥ï¡¼¥¯'
OFFICEMENU='Office (CHANGE ME!)'
RANDOMBACKGROUND='Random Background (CHANGE ME!)'
REGENERATEMENU='Regen Menu (CHANGE ME!)'
RELOADITEM='ºÆÆɤ߹þ¤ß' RELOADITEM='ºÆÆɤ߹þ¤ß'
RESTARTITEM='ºÆµ¯Æ°' RESTARTITEM='ºÆµ¯Æ°'
RUNCOMMAND='Run (CHANGE ME!)'
SCREENSHOT='Screenshot (CHANGE ME!)'
STYLEMENUTITLE='¥¹¥¿¥¤¥ëÁªÂò...' STYLEMENUTITLE='¥¹¥¿¥¤¥ëÁªÂò...'
SYSTEMSTYLES='¥¹¥¿¥¤¥ë'
TERMINALMENU='¥¿¡¼¥ß¥Ê¥ë' TERMINALMENU='¥¿¡¼¥ß¥Ê¥ë'
TOOLS='Tools (CHANGE ME!)'
USERSTYLES='¥¹¥¿¥¤¥ë'
WINDOWMANAGERS='Window Managers (CHANGE ME!)'
WINDOWNAME='Window name (CHANGE ME!)'
WORKSPACEMENU='¥ï¡¼¥¯¥¹¥Ú¡¼¥¹' WORKSPACEMENU='¥ï¡¼¥¯¥¹¥Ú¡¼¥¹'
XUTILSMENU='X¥æ¡¼¥Æ¥£¥ê¥Æ¥£' XUTILSMENU='X¥æ¡¼¥Æ¥£¥ê¥Æ¥£'
;; ;;
fr_FR*) # french locales fr_FR*) # french locales
# Ah my french hero. Please help me update the translation
# $ cp fluxbox-generate-menu.in fluxbox-generate-menu.in.orig
# $ $EDITOR fluxbox-generate-menu.in
# $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff
# email fbgm.diff to han@mijncomputer.nl
BACKGROUNDMENU="Fond d'écran" BACKGROUNDMENU="Fond d'écran"
BACKGROUNDMENUTITLE="Changer le fond d'écran" BACKGROUNDMENUTITLE="Changer le fond d'écran"
BROWSERMENU='Navigateurs' BROWSERMENU='Navigateurs'
@ -439,56 +531,80 @@ case ${LC_ALL} in
EXITITEM='Sortir' EXITITEM='Sortir'
FBSETTINGSMENU='Configurer Fluxbox' FBSETTINGSMENU='Configurer Fluxbox'
FILEUTILSMENU='Outils fichiers' FILEUTILSMENU='Outils fichiers'
# GAMESMENU='Games' FLUXBOXCOMMAND='Fluxbox Command (CHANGE ME!)'
GAMESMENU='Games (CHANGE ME!)'
GNOMEMENUTEXT='Menus Gnome' GNOMEMENUTEXT='Menus Gnome'
GRAPHICMENU='Graphisme' GRAPHICMENU='Graphisme'
KDEMENUTEXT='Menus KDE' KDEMENUTEXT='Menus KDE'
LOCKSCREEN='Lock screen (CHANGE ME!)'
MISCMENU='Divers' MISCMENU='Divers'
MUSICMENU='Musique' MUSICMENU='Musique'
NETMENU='Réseau' NETMENU='Réseau'
OFFICEMENU='Bureautique' OFFICEMENU='Bureautique'
RANDOMBACKGROUND='Random Background (CHANGE ME!)'
REGENERATEMENU='Regen Menu (CHANGE ME!)'
RELOADITEM='Recharger la configuration' RELOADITEM='Recharger la configuration'
RESTARTITEM='Redémarrer Fluxbox' RESTARTITEM='Redémarrer Fluxbox'
RUNCOMMAND='Run (CHANGE ME!)'
SCREENSHOT='Screenshot (CHANGE ME!)'
STYLEMENUTITLE='Choisir un style...' STYLEMENUTITLE='Choisir un style...'
SYSTEMSTYLES='Styles Systeme' SYSTEMSTYLES='Styles Systeme'
TERMINALMENU='Terminaux' TERMINALMENU='Terminaux'
TOOLS='Tools (CHANGE ME!)'
USERSTYLES='Styles Utilisateur' USERSTYLES='Styles Utilisateur'
WINDOWMANAGERS='Gestionnaires de fenêtres' WINDOWMANAGERS='Gestionnaires de fenêtres'
WINDOWNAME='Window name (CHANGE ME!)'
WORKSPACEMENU='Liste des bureaux' WORKSPACEMENU='Liste des bureaux'
XUTILSMENU='Outils X' XUTILSMENU='Outils X'
;; ;;
it_IT*) # italian locales it_IT*) # italian locales
#BACKGROUNDMENU='Backgrounds' # Ah my Italian hero. Please help me update the translation
#BACKGROUNDMENUTITLE='Set the Background' # $ cp fluxbox-generate-menu.in fluxbox-generate-menu.in.orig
#FILEUTILSMENU='File utils' # $ $EDITOR fluxbox-generate-menu.in
#OFFICEMENU='Office' # $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff
#SYSTEMSTYLES='Stile' # email fbgm.diff to han@mijncomputer.nl
#USERSTYLES='Stile'
#WINDOWMANAGERS='Window Managers' BACKGROUNDMENU='Backgrounds (CHANGE ME!)'
BROWSERMENU='Browsers' BACKGROUNDMENUTITLE='Set the Background (CHANGE ME!)'
BROWSERMENU='Browsers (CHANGE ME!)'
CONFIGUREMENU='Configurazione' CONFIGUREMENU='Configurazione'
EDITORMENU='Editori' EDITORMENU='Editori'
EXITITEM='Esci' EXITITEM='Esci'
FBSETTINGSMENU='Preferenze' FBSETTINGSMENU='Preferenze'
FILEUTILSMENU='File utils (CHANGE ME!)'
FLUXBOXCOMMAND='Fluxbox Command (CHANGE ME!)'
GAMESMENU='Giochi' GAMESMENU='Giochi'
GNOMEMENUTEXT='Gnome' GNOMEMENUTEXT='Gnome'
GRAPHICMENU='Grafica' GRAPHICMENU='Grafica'
KDEMENUTEXT='KDE' KDEMENUTEXT='KDE'
LOCKSCREEN='Lock screen (CHANGE ME!)'
MISCMENU='Varie' MISCMENU='Varie'
MUSICMENU='Musica' MUSICMENU='Musica'
NETMENU='Internet' NETMENU='Internet'
OFFICEMENU='Office'
RANDOMBACKGROUND='Random Background (CHANGE ME!)'
REGENERATEMENU='Regen Menu (CHANGE ME!)'
RELOADITEM='Rileggi la configurazione' RELOADITEM='Rileggi la configurazione'
RESTARTITEM='Riavvia' RESTARTITEM='Riavvia'
RUNCOMMAND='Run (CHANGE ME!)'
SCREENSHOT='Screenshot (CHANGE ME!)'
STYLEMENUTITLE='Scegli uno stile' STYLEMENUTITLE='Scegli uno stile'
SYSTEMSTYLES='Stile'
TERMINALMENU='Terminali' TERMINALMENU='Terminali'
TOOLS='Tools (CHANGE ME!)'
USERSTYLES='Stile'
WINDOWMANAGERS='Window Managers (CHANGE ME!)'
WINDOWNAME='Window name (CHANGE ME!)'
WORKSPACEMENU='Aree di lavoro' WORKSPACEMENU='Aree di lavoro'
XUTILSMENU='X-utils' XUTILSMENU='X-utils (CHANGE ME!)'
;; ;;
ro_RO*) # Romanian locales ro_RO*) # Romanian locales
#FILEUTILSMENU='File utils' # Ah my Russian hero. Please help me update the translation
#OFFICEMENU='Office' # $ cp fluxbox-generate-menu.in fluxbox-generate-menu.in.orig
#RESTARTITEM='Restart' # $ $EDITOR fluxbox-generate-menu.in
#WINDOWMANAGERS='WindowManagers' # $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff
# email fbgm.diff to han@mijncomputer.nl
BACKGROUNDMENU='Fundaluri' BACKGROUNDMENU='Fundaluri'
BACKGROUNDMENUTITLE='Alege fundalul' BACKGROUNDMENUTITLE='Alege fundalul'
BROWSERMENU='Navigatoare' BROWSERMENU='Navigatoare'
@ -496,26 +612,41 @@ case ${LC_ALL} in
EDITORMENU='Editoare' EDITORMENU='Editoare'
EXITITEM='Iesire' EXITITEM='Iesire'
FBSETTINGSMENU='Meniul Fluxbox' FBSETTINGSMENU='Meniul Fluxbox'
FILEUTILSMENU='File utils (CHANGE ME!)'
FLUXBOXCOMMAND='Fluxbox Command (CHANGE ME!)'
GAMESMENU='Jocuri' GAMESMENU='Jocuri'
GNOMEMENUTEXT='Meniu Gnome' GNOMEMENUTEXT='Meniu Gnome'
GRAPHICMENU='Grafica' GRAPHICMENU='Grafica'
KDEMENUTEXT='Meniu KDE' KDEMENUTEXT='Meniu KDE'
LOCKSCREEN='Lock screen (CHANGE ME!)'
MISCMENU='Diverse' MISCMENU='Diverse'
MULTIMEDIAMENU='Multimedia' MULTIMEDIAMENU='Multimedia (CHANGE ME!)'
MUSICMENU='Muzica' MUSICMENU='Muzica'
NETMENU='Net' NETMENU='Net (CHANGE ME!)'
OFFICEMENU='Office (CHANGE ME!)'
RANDOMBACKGROUND='Random Background (CHANGE ME!)'
REGENERATEMENU='Regen Menu (CHANGE ME!)'
RELOADITEM='Reincarca configuratia' RELOADITEM='Reincarca configuratia'
RESTARTITEM='Restart (CHANGE ME!)'
RUNCOMMAND='Run (CHANGE ME!)'
SCREENSHOT='Screenshot (CHANGE ME!)'
STYLEMENUTITLE='Alege un stil...' STYLEMENUTITLE='Alege un stil...'
SYSTEMSTYLES='Stiluri sistem' SYSTEMSTYLES='Stiluri sistem'
TERMINALMENU='Terminale' TERMINALMENU='Terminale'
TOOLS='Tools (CHANGE ME!)'
USERSTYLES='Stiluri utilizator' USERSTYLES='Stiluri utilizator'
WINDOWMANAGERS='WindowManagers'
WINDOWNAME='Window name (CHANGE ME!)'
WORKSPACEMENU='Lista workspace-uri' WORKSPACEMENU='Lista workspace-uri'
XUTILSMENU='Utilitare X' XUTILSMENU='Utilitare X'
;; ;;
es_ES*) # spanish locales es_ES*) # spanish locales
#FILEUTILSMENU='File utils' # Ah my Spanish hero. Please help me update the translation
#WINDOWMANAGERS='WindowManagers' # $ cp fluxbox-generate-menu.in fluxbox-generate-menu.in.orig
BACKGROUNDMENU='Fondos' # $ $EDITOR fluxbox-generate-menu.in
# $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff
# email fbgm.diff to han@mijncomputer.nl
BACKGROUNDMENUTITLE='Seleccionar Fondo' BACKGROUNDMENUTITLE='Seleccionar Fondo'
BROWSERMENU='Navegadores' BROWSERMENU='Navegadores'
CONFIGUREMENU='Configurar' CONFIGUREMENU='Configurar'
@ -539,10 +670,25 @@ case ${LC_ALL} in
USERSTYLES='Estilos del Usuario' USERSTYLES='Estilos del Usuario'
WORKSPACEMENU='Lista de Escritorios' WORKSPACEMENU='Lista de Escritorios'
XUTILSMENU='Utilidades X' XUTILSMENU='Utilidades X'
BACKGROUNDMENU='Fondos'
FILEUTILSMENU='File utils (CHANGE ME!)'
FLUXBOXCOMMAND='Fluxbox Command (CHANGE ME!)'
LOCKSCREEN='Lock screen (CHANGE ME!)'
RANDOMBACKGROUND='Random Background (CHANGE ME!)'
REGENERATEMENU='Regen Menu (CHANGE ME!)'
RUNCOMMAND='Run (CHANGE ME!)'
SCREENSHOT='Screenshot (CHANGE ME!)'
TOOLS='Tools (CHANGE ME!)'
WINDOWMANAGERS='WindowManagers (CHANGE ME!)'
WINDOWNAME='Window name (CHANGE ME!)'
;; ;;
pl_PL*) # Polish locales pl_PL*) # Polish locales
#FILEUTILSMENU='File utils' # Ah my Russian hero. Please help me update the translation
#WINDOWMANAGERS='WindowManagers' # $ cp fluxbox-generate-menu.in fluxbox-generate-menu.in.orig
# $ $EDITOR fluxbox-generate-menu.in
# $ diff u fluxbox-generate-menu.in.orig fluxbox-generate-menu.in > fbgm.diff
# email fbgm.diff to han@mijncomputer.nl
BACKGROUNDMENU='Tapety' BACKGROUNDMENU='Tapety'
BACKGROUNDMENUTITLE='Ustaw tapet?' BACKGROUNDMENUTITLE='Ustaw tapet?'
BROWSERMENU='Przegl?darki' BROWSERMENU='Przegl?darki'
@ -550,24 +696,71 @@ case ${LC_ALL} in
EDITORMENU='Edytory' EDITORMENU='Edytory'
EXITITEM='Wyj?cie' EXITITEM='Wyj?cie'
FBSETTINGSMENU='Menu Fluxbox' FBSETTINGSMENU='Menu Fluxbox'
FILEUTILSMENU='File utils (CHANGE ME!)'
FLUXBOXCOMMAND='Fluxbox Command (CHANGE ME!)'
GAMESMENU='Gry' GAMESMENU='Gry'
GNOMEMENUTEXT='Menu Gnome' GNOMEMENUTEXT='Menu Gnome'
GRAPHICMENU='Grafika' GRAPHICMENU='Grafika'
KDEMENUTEXT='Menu KDE' KDEMENUTEXT='Menu KDE'
LOCKSCREEN='Lock screen (CHANGE ME!)'
MISCMENU='Ró?ne' MISCMENU='Ró?ne'
MULTIMEDIAMENU='Multimedia' MULTIMEDIAMENU='Multimedia (CHANGE ME!)'
MUSICMENU='Muzyka' MUSICMENU='Muzyka'
NETMENU='Sie?' NETMENU='Sie?'
OFFICEMENU='Aplikacje biurowe' OFFICEMENU='Aplikacje biurowe'
RANDOMBACKGROUND='Random Background'
REGENERATEMENU='Regen Menu (CHANGE ME!)'
RELOADITEM='Od?wie? konfiguracj?' RELOADITEM='Od?wie? konfiguracj?'
RESTARTITEM='Restart' RESTARTITEM='Restart (CHANGE ME!)'
RUNCOMMAND='Run (CHANGE ME!)'
SCREENSHOT='Screenshot (CHANGE ME!)'
STYLEMENUTITLE='Wybierz styl...' STYLEMENUTITLE='Wybierz styl...'
SYSTEMSTYLES='Style systemowe' SYSTEMSTYLES='Style systemowe'
TERMINALMENU='Terminale' TERMINALMENU='Terminale'
TOOLS='Tools (CHANGE ME!)'
USERSTYLES='Style u?ytkownika' USERSTYLES='Style u?ytkownika'
WINDOWMANAGERS='WindowManagers (CHANGE ME!)'
WINDOWNAME='Window name (CHANGE ME!)'
WORKSPACEMENU='Lista pulpitów' WORKSPACEMENU='Lista pulpitów'
XUTILSMENU='Narz?dzia X' XUTILSMENU='Narz?dzia X'
;; ;;
pt_PT*) # Portuguese locales
BACKGROUNDMENU='Imagens de Fundo'
BACKGROUNDMENUTITLE='Definir Imagem de Fundo'
BROWSERMENU='Browsers'
CONFIGUREMENU='Configuração'
EDITORMENU='Editores'
EXITITEM='Sair'
FBSETTINGSMENU='Menu Fluxbox'
FILEUTILSMENU='Utilitários de Ficheiros'
FLUXBOXCOMMAND='Comando Fluxbox'
GAMESMENU='Jogos'
GNOMEMENUTEXT='Menu Gnome'
GRAPHICMENU='Gráficos'
KDEMENUTEXT='Menu KDE'
LOCKSCREEN='Trancar Ecrã'
MISCMENU='Misc.'
MULTIMEDIAMENU='Multimédia'
MUSICMENU='Áudio'
NETMENU='Rede'
OFFICEMENU='Escritório'
RANDOMBACKGROUND='Imagem Aleatória'
REGENERATEMENU='Regenerar Menu'
RELOADITEM='Recarregar configuração'
RESTARTITEM='Reiniciar'
RUNCOMMAND='Executar'
SCREENSHOT='Capturar Ecrã'
STYLEMENUTITLE='Escolha um estilo...'
SYSTEMSTYLES='Estilos do Sistema'
TERMINALMENU='Terminais'
TOOLS='Ferramentas'
USERSTYLES='Estilos do Utilizador'
VIDEOMENU='Vídeo'
WINDOWMANAGERS='Gestores de Janelas'
WINDOWNAME='Nome da Janela'
WORKSPACEMENU='Lista de Áreas de Trabalho'
XUTILSMENU='Utilitários X'
;;
*) *)
;; ;;
esac esac
@ -845,7 +1038,7 @@ case "$DEFAULT_BROWSERNAME" in
*) append "[exec] ($DEFAULT_BROWSERNAME) {$DEFAULT_BROWSER}" ;; *) append "[exec] ($DEFAULT_BROWSERNAME) {$DEFAULT_BROWSER}" ;;
esac esac
find_it fbrun append "[exec] (Run) {fbrun $FBRUNOPTIONS}" find_it fbrun append "[exec] (${RUNCOMMAND}) {fbrun $FBRUNOPTIONS}"
append_submenu "${TERMINALMENU}" append_submenu "${TERMINALMENU}"
@ -1017,7 +1210,7 @@ append_submenu "${FBSETTINGSMENU}"
NUMBER_OF_BACKGROUNDS=`find $BACKGROUND_DIRS -follow -type f 2> /dev/null|wc -l` NUMBER_OF_BACKGROUNDS=`find $BACKGROUND_DIRS -follow -type f 2> /dev/null|wc -l`
if [ "$NUMBER_OF_BACKGROUNDS" -gt 0 ]; then if [ "$NUMBER_OF_BACKGROUNDS" -gt 0 ]; then
append_menu "[submenu] (${BACKGROUNDMENU}) {${BACKGROUNDMENUTITLE}}" append_menu "[submenu] (${BACKGROUNDMENU}) {${BACKGROUNDMENUTITLE}}"
append "[exec] (random background) {fbsetbg -r ${HOME}/.fluxbox/backgrounds}" append "[exec] (${RANDOMBACKGROUND}) {fbsetbg -r ${HOME}/.fluxbox/backgrounds}"
if [ "$NUMBER_OF_BACKGROUNDS" -gt 30 ]; then if [ "$NUMBER_OF_BACKGROUNDS" -gt 30 ]; then
menucounter=1 ; counter=1 menucounter=1 ; counter=1
append_menu "[submenu] (${BACKGROUNDMENU} $menucounter) {${BACKGROUNDMENUTITLE}}" append_menu "[submenu] (${BACKGROUNDMENU} $menucounter) {${BACKGROUNDMENUTITLE}}"
@ -1046,18 +1239,18 @@ append_submenu "${FBSETTINGSMENU}"
append "[workspaces] (${WORKSPACEMENU})" append "[workspaces] (${WORKSPACEMENU})"
append_submenu Tools append_submenu ${TOOLS}
normal_find fluxconf fluxkeys fluxmenu normal_find fluxconf fluxkeys 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 WM_CLASS|cut -d \\\" -f 2|gxmessage -file - -center}" || \ "[exec] (${WINDOWNAME}) {xprop WM_CLASS|cut -d \\\" -f 2|gxmessage -file - -center}" || \
find_it xmessage append \ find_it xmessage append \
"[exec] (Windowname) {xprop WM_CLASS|cut -d \\\" -f 2|xmessage -file - -center}" "[exec] (${WINDOWNAME}) {xprop WM_CLASS|cut -d \\\" -f 2|xmessage -file - -center}"
find_it import append "[exec] (screenshot) {import screenshot.png && qiv -W 50 screenshot.png}" find_it import append "[exec] (${SCREENSHOT}) {import screenshot.png && qiv -W 50 screenshot.png}"
find_it fbrun append "[exec] (Run) {fbrun $FBRUNOPTIONS}" find_it fbrun append "[exec] (${RUNCOMMAND}) {fbrun $FBRUNOPTIONS}"
find_it switch append "[exec] (gtk-theme-switch) {switch}" find_it switch append "[exec] (gtk-theme-switch) {switch}"
find_it switch2 append "[exec] (gtk2-theme-switch) {switch2}" find_it switch2 append "[exec] (gtk2-theme-switch) {switch2}"
find_it fluxbox-generate_menu append "[exec] (regenerate menu) {fluxbox-generate_menu}" find_it fluxbox-generate_menu append "[exec] (${REGENERATEMENU}) {fluxbox-generate_menu}"
append_menu_end append_menu_end
append_submenu ${WINDOWMANAGERS} append_submenu ${WINDOWMANAGERS}
@ -1072,9 +1265,9 @@ append_submenu "${FBSETTINGSMENU}"
find_it startwindowmaker append "[restart] (windowmaker) {startwindowmaker}" ||\ find_it startwindowmaker append "[restart] (windowmaker) {startwindowmaker}" ||\
find_it wmaker append "[restart] (windowmaker) {wmaker}" find_it wmaker append "[restart] (windowmaker) {wmaker}"
append_menu_end append_menu_end
find_it xlock append "[exec] (Lock Screen) {xlock}" ||\ find_it xlock append "[exec] (${LOCKSCREEN}) {xlock}" ||\
find_it xscreensaver-command append "[exec] (Lock Screen) {xscreensaver-command -lock}" find_it xscreensaver-command append "[exec] (${LOCKSCREEN}) {xscreensaver-command -lock}"
append "[commanddialog] (Fluxbox Command)" append "[commanddialog] (${FLUXBOXCOMMAND})"
append "[reconfig] (${RELOADITEM})" append "[reconfig] (${RELOADITEM})"
append "[restart] (${RESTARTITEM})" append "[restart] (${RESTARTITEM})"
append "[separator]" append "[separator]"
@ -1090,5 +1283,10 @@ if [ ! "${REMOVE}" ]; then
clean_up clean_up
fi fi
# force all running fluxbox'es to reload their settings.
for i in `ps xo pid,command|grep -v awk|grep -v /bin/sh|awk '/fluxbox/ {print $1}'`; do
kill -s USR1 $i
done
echo 'Menu successfully generated.' echo 'Menu successfully generated.'
echo 'Use fluxbox-generate_menu -h to read about all the latest features.' echo 'Use fluxbox-generate_menu -h to read about all the latest features.'