From 84ee408a288718518d6c745ef37571f57debd3f2 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 16 Dec 2002 11:10:44 +0000 Subject: [PATCH] update from Han --- util/fluxbox-generate_menu | 36 +++++++++++++++++++++++------------- 1 file changed, 23 insertions(+), 13 deletions(-) diff --git a/util/fluxbox-generate_menu b/util/fluxbox-generate_menu index a3a89915..be2e6d66 100755 --- a/util/fluxbox-generate_menu +++ b/util/fluxbox-generate_menu @@ -22,7 +22,7 @@ # FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER # DEALINGS IN THE SOFTWARE. # -# $Id: fluxbox-generate_menu,v 1.17 2002/12/14 23:58:13 fluxgen Exp $ +# $Id: fluxbox-generate_menu,v 1.18 2002/12/16 11:10:44 fluxgen Exp $ WHOAMI=`whoami` [ "$WHOAMI" = "root" ] && PATH=/bin:/usr/bin/:/usr/local/bin:/usr/X11R6/bin @@ -283,7 +283,8 @@ NETMENU="Net" OFFICEMENU="Office" RELOADITEM="Reload config" RESTARTITEM="Restart" -STYLEMENU="Styles" +SYSTEMSTYLES="System Styles" +USERSTYLES="User Styles" STYLEMENUTITLE="Choose a style..." TERMINALMENU="Terminals" WORKSPACEMENU="Workspace List" @@ -308,7 +309,8 @@ case ${LC_ALL} in NETMENU="óÅÔØ" RELOADITEM="ðÅÒÅÎÁÓÔÒÏÉÔØ" RESTARTITEM="ðÅÒÅÚÁÐÕÓÔÉÔØ" - STYLEMENU="óÔÉÌÉ" + SYSTEMSTYLES="óÔÉÌÉ" + USERSTYLES="óÔÉÌÉ" STYLEMENUTITLE="÷ÙÂÅÒÉÔÅ ÓÔÉÌØ" TERMINALMENU="ôÅÒÍÉÎÁÌÙ" WORKSPACEMENU="òÁÂÏÞÉÅ ÐÒÏÓÔÒÁÎÓÔ×Á" @@ -331,7 +333,8 @@ case ${LC_ALL} in NETMENU="Net" RELOADITEM="Ladda om konfig" RESTARTITEM="Starta om" - STYLEMENU="Stiler" + SYSTEMSTYLES="Stiler" + USERSTYLES="Stiler" STYLEMENUTITLE="Välj en stil" TERMINALMENU="Terminaler" WORKSPACEMENU="Arbetsytor" @@ -354,7 +357,8 @@ case ${LC_ALL} in NETMENU="Net" RELOADITEM="Vernieuw instellingen" RESTARTITEM="Restart" - STYLEMENU="Stylen" + SYSTEMSTYLES="Systeem Stylen" + USERSTYLES="Gebruikers Stylen" STYLEMENUTITLE="Kies een styl" TERMINALMENU="Terminals" WORKSPACEMENU="Werkveld Lijst" @@ -377,7 +381,8 @@ case ${LC_ALL} in NETMENU="Verkko" RELOADITEM="Päivitä" RESTARTITEM="Käynnistä uudelleen" - STYLEMENU="Tyylit" + SYSTEMSTYLES="Tyylit" + USERSTYLES="Tyylit" STYLEMENUTITLE="Valitse tyyli" TERMINALMENU="Terminaalit" WORKSPACEMENU="Työaluet" @@ -400,7 +405,8 @@ case ${LC_ALL} in NETMENU="¥Í¥Ã¥È¥ï¡¼¥¯" RELOADITEM="ºÆÆɤ߹þ¤ß" RESTARTITEM="ºÆµ¯Æ°" - STYLEMENU="¥¹¥¿¥¤¥ë" + SYSTEMSTYLES="¥¹¥¿¥¤¥ë" + USERSTYLES="¥¹¥¿¥¤¥ë" STYLEMENUTITLE="¥¹¥¿¥¤¥ëÁªÂò..." TERMINALMENU="¥¿¡¼¥ß¥Ê¥ë" WORKSPACEMENU="¥ï¡¼¥¯¥¹¥Ú¡¼¥¹" @@ -423,7 +429,8 @@ case ${LC_ALL} in NETMENU="Net" RELOADITEM="Recharger config" RESTARTITEM="Redémarrer" - STYLEMENU="Styles" + SYSTEMSTYLES="Styles de la Systeme" + USERSTYLES="Styles" STYLEMENUTITLE="Choisir un style..." TERMINALMENU="Terminaux" WORKSPACEMENU="Liste des bureaux" @@ -447,8 +454,9 @@ case ${LC_ALL} in NETMENU="Internet" RELOADITEM="Rileggi la configurazione" RESTARTITEM="Riavvia" - STYLEMENU="Scegli uno stile..." - STYLEMENUTITLE="Scegli uno stile..." + SYSTEMSTYLES="Stile" + USERSTYLES="Stile" + STYLEMENUTITLE="Scegli uno stile" TERMINALMENU="Terminali" WORKSPACEMENU="Aree di lavoro" XUTILSMENU="X-utils" @@ -600,13 +608,15 @@ fi append_submenu Fluxbox-menu append "[config] (${CONFIGUREMENU})" - - append_menu "[submenu] (${STYLEMENU}) {${STYLEMENUTITLE}}" + append_menu "[submenu] (${SYSTEMSTYLES}) {${STYLEMENUTITLE}}" append "[stylesdir] (${PKGDATADIR}/fluxbox/styles)" + append_menu_end + + append_menu "[submenu] (${USERSTYLES}) {${STYLEMENUTITLE}}" append "[stylesdir] (~/.fluxbox/styles)" append_menu_end - if [ $BACKGROUNDMENUITEM="yes" ];then + if [ "$BACKGROUNDMENUITEM" = "yes" ];then append_menu "[submenu] (${BACKGROUNDMENU}) {${BACKGROUNDMENUTITLE}}" for i in ~/.fluxbox/backgrounds/* ; do append "[exec] (`basename "$i"`) {bsetbg -f $i }"