From 1a77f42d4e7301dbe9e2ec9b9a2fcedb9127bc7a Mon Sep 17 00:00:00 2001
From: fluxgen <fluxgen>
Date: Tue, 25 Feb 2003 07:44:16 +0000
Subject: update from Han, fixes freebsd error

---
 util/fluxbox-generate_menu | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/util/fluxbox-generate_menu b/util/fluxbox-generate_menu
index 2a9f990..3e55e6c 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.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:
@@ -218,27 +218,27 @@ case ${LC_ALL} in
         XUTILSMENU='X-�������'
         ;;
     de_DE*) # german locales
-        #BACKGROUNDMENU='Backgrounds'
-        #BACKGROUNDMENUTITLE='Set the Background'
-        #FILEUTILSMENU='File utils'
-        #OFFICEMENU='Bueroprogramme'
-        #SYSTEMSTYLES='Stile'
-        #USERSTYLES='Stile'
+        BACKGROUNDMENU='Hintergrundbilder'
+        BACKGROUNDMENUTITLE='Hintergrundbild setzen'
         BROWSERMENU='Internet-Browser'
         CONFIGUREMENU='Einstellungen'
         EDITORMENU='Editoren'
         EXITITEM='Beenden'
         FBSETTINGSMENU='Fluxbox-Einstellungen'
+        FILEUTILSMENU='Datei-Utilities'
         GNOMEMENUTEXT='Gnome-Menues'
         GRAPHICMENU='Grafik'
         KDEMENUTEXT='Kde-Menues'
         MISCMENU='Sonstiges'
         MUSICMENU='Musik'
         NETMENU='Netzwerk'
+        OFFICEMENU='Bueroprogramme'
         RELOADITEM='Konfiguration neu laden'
         RESTARTITEM='Neustarten'
         STYLEMENUTITLE='Einen Stil auswaehlen...'
+        SYSTEMSTYLES='Systemweite Stile'
         TERMINALMENU='Terminals'
+        USERSTYLES='Eigene Stile'
         WORKSPACEMENU='Arbeitsflaechenliste'
         XUTILSMENU='X-Anwendungen'
         ;;
@@ -833,14 +833,14 @@ append_submenu "${FBSETTINGSMENU}"
                     append_menu_end
                     append_menu "[submenu] (${BACKGROUNDMENU} $menucounter) {${BACKGROUNDMENUTITLE}}"
                 fi
-                picturename=`basename $i`
-                append "[exec] (${picturename//.???}) {bsetbg -f $i }"
+                picturename=`basename "$i"`
+                append "[exec] (${picturename%.???}) {bsetbg -f \"$i\" }"
             done
             append_menu_end
         else
             for i in ${HOME}/.fluxbox/backgrounds/* ${PKGDATADIR}/fluxbox/backgrounds/* ; do
-                picturename=`basename $i`
-                append "[exec] (${picturename//.???}) {bsetbg -f $i }"
+                picturename=`basename "$i"`
+                append "[exec] (${picturename%.???}) {bsetbg -f \"$i\" }"
             done
         fi
         append_menu_end
-- 
cgit v0.11.2