update from Han, fixes freebsd error

This commit is contained in:
fluxgen 2003-02-25 07:44:16 +00:00
parent ca8328b6e3
commit 1a77f42d4e

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,v 1.25 2003/02/22 18:03:15 fluxgen Exp $ # $Id: fluxbox-generate_menu,v 1.26 2003/02/25 07:44:16 fluxgen Exp $
# #
# Portability notes: # Portability notes:
@ -218,27 +218,27 @@ case ${LC_ALL} in
XUTILSMENU='X-ÕÔÉÌÉÔÙ' XUTILSMENU='X-ÕÔÉÌÉÔÙ'
;; ;;
de_DE*) # german locales de_DE*) # german locales
#BACKGROUNDMENU='Backgrounds' BACKGROUNDMENU='Hintergrundbilder'
#BACKGROUNDMENUTITLE='Set the Background' BACKGROUNDMENUTITLE='Hintergrundbild setzen'
#FILEUTILSMENU='File utils'
#OFFICEMENU='Bueroprogramme'
#SYSTEMSTYLES='Stile'
#USERSTYLES='Stile'
BROWSERMENU='Internet-Browser' BROWSERMENU='Internet-Browser'
CONFIGUREMENU='Einstellungen' CONFIGUREMENU='Einstellungen'
EDITORMENU='Editoren' EDITORMENU='Editoren'
EXITITEM='Beenden' EXITITEM='Beenden'
FBSETTINGSMENU='Fluxbox-Einstellungen' FBSETTINGSMENU='Fluxbox-Einstellungen'
FILEUTILSMENU='Datei-Utilities'
GNOMEMENUTEXT='Gnome-Menues' GNOMEMENUTEXT='Gnome-Menues'
GRAPHICMENU='Grafik' GRAPHICMENU='Grafik'
KDEMENUTEXT='Kde-Menues' KDEMENUTEXT='Kde-Menues'
MISCMENU='Sonstiges' MISCMENU='Sonstiges'
MUSICMENU='Musik' MUSICMENU='Musik'
NETMENU='Netzwerk' NETMENU='Netzwerk'
OFFICEMENU='Bueroprogramme'
RELOADITEM='Konfiguration neu laden' RELOADITEM='Konfiguration neu laden'
RESTARTITEM='Neustarten' RESTARTITEM='Neustarten'
STYLEMENUTITLE='Einen Stil auswaehlen...' STYLEMENUTITLE='Einen Stil auswaehlen...'
SYSTEMSTYLES='Systemweite Stile'
TERMINALMENU='Terminals' TERMINALMENU='Terminals'
USERSTYLES='Eigene Stile'
WORKSPACEMENU='Arbeitsflaechenliste' WORKSPACEMENU='Arbeitsflaechenliste'
XUTILSMENU='X-Anwendungen' XUTILSMENU='X-Anwendungen'
;; ;;
@ -833,14 +833,14 @@ append_submenu "${FBSETTINGSMENU}"
append_menu_end append_menu_end
append_menu "[submenu] (${BACKGROUNDMENU} $menucounter) {${BACKGROUNDMENUTITLE}}" append_menu "[submenu] (${BACKGROUNDMENU} $menucounter) {${BACKGROUNDMENUTITLE}}"
fi fi
picturename=`basename $i` picturename=`basename "$i"`
append "[exec] (${picturename//.???}) {bsetbg -f $i }" append "[exec] (${picturename%.???}) {bsetbg -f \"$i\" }"
done done
append_menu_end append_menu_end
else else
for i in ${HOME}/.fluxbox/backgrounds/* ${PKGDATADIR}/fluxbox/backgrounds/* ; do for i in ${HOME}/.fluxbox/backgrounds/* ${PKGDATADIR}/fluxbox/backgrounds/* ; do
picturename=`basename $i` picturename=`basename "$i"`
append "[exec] (${picturename//.???}) {bsetbg -f $i }" append "[exec] (${picturename%.???}) {bsetbg -f \"$i\" }"
done done
fi fi
append_menu_end append_menu_end