aboutsummaryrefslogtreecommitdiffstats
path: root/gnome/mandrake.links.sh
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>1999-12-23 22:34:51 +0000
committerPablo Saratxaga <pablo@mandriva.com>1999-12-23 22:34:51 +0000
commitb35eefe534b7dfc11c1d170553807da094ef6349 (patch)
treeb57df38521687d4f9e51f6a9784ddbcc8837a3ef /gnome/mandrake.links.sh
parenta511e502a8f351890e9cf49b246f6465aec56d34 (diff)
downloadcommon-data-b35eefe534b7dfc11c1d170553807da094ef6349.tar
common-data-b35eefe534b7dfc11c1d170553807da094ef6349.tar.gz
common-data-b35eefe534b7dfc11c1d170553807da094ef6349.tar.bz2
common-data-b35eefe534b7dfc11c1d170553807da094ef6349.tar.xz
common-data-b35eefe534b7dfc11c1d170553807da094ef6349.zip
added Gnome desktop icons previously done in gmc package
Diffstat (limited to 'gnome/mandrake.links.sh')
-rw-r--r--gnome/mandrake.links.sh131
1 files changed, 131 insertions, 0 deletions
diff --git a/gnome/mandrake.links.sh b/gnome/mandrake.links.sh
new file mode 100644
index 0000000..f2b2527
--- /dev/null
+++ b/gnome/mandrake.links.sh
@@ -0,0 +1,131 @@
+#!/bin/bash
+
+if [ -n "$LANGUAGE" ]; then
+ LISTLANG="`echo $LANGUAGE | tr ':' ' '`" ;
+else
+ if [ -n "$LANG" ]; then
+ LISTLANG="$LANG"
+ else
+ LISTLANG=en
+ fi
+fi
+
+###################
+# Internet connex #
+###################
+CAPTION=""
+for i in $LISTLANG
+do
+ if [ "$CAPTION" != "" ]; then break ; fi
+ case "$i" in
+ en*) CAPTION="Internet connection" ;;
+ bg*) CAPTION="Èíòåðíåò Âðúçêà" ;;
+ da*) CAPTION="Internet forbindelse" ;;
+ es*) CAPTION="Conexión a Internet" ;;
+ et*) CAPTION="Internetiühendus" ;;
+ fr*) CAPTION="Connexion à l'Internet" ;;
+ hr*) CAPTION="Veza s InterNetom" ;;
+ hu*) CAPTION="Internet kapcsolat" ;;
+ id*) CAPTION="Koneksi Internet" ;;
+ it*) CAPTION="Connessione a Internet" ;;
+ nl*) CAPTION="Internet verbinding" ;;
+ no*) CAPTION="Oppkobling Internett" ;;
+ ru*) CAPTION="Internet-ÓÏÅÄÉÎÅÎÉÅ" ;;
+ uk*) CAPTION="ú'¤ÄÎÁÎÎÑ Ú ¦ÎÔÅÒÎÅÔÏÍ" ;;
+ wa*) CAPTION="Raloyaedje al rantoele daegnrece" ;;
+ esac
+done
+if [ "$CAPTION" = "" ]; then CAPTION="Internet connection" ; fi
+
+/usr/bin/gdesktoplnk \
+ --progname="/usr/bin/gnome-ppp" \
+ --icon-name="gnome-networktool.png" \
+ --icon-caption="$CAPTION" \
+ --link-name="MDKppp" \
+ --desktop-dir="$HOME/.gnome-desktop"
+
+###################
+# Mandrake Update #
+###################
+CAPTION=""
+for i in $LISTLANG
+do
+ if [ "$CAPTION" != "" ]; then break ; fi
+ case "$i" in
+ en*) CAPTION="Mandrake Updates" ;;
+ bg*) CAPTION="Mandrake Îáíîâÿâàíå" ;;
+ br*) CAPTION="Hizivadurioù Mandrake" ;;
+ ca*) CAPTION="Actualitzacions del Mandrake" ;;
+ cs*) CAPTION="Aktualizace Mandrake" ;;
+ da*) CAPTION="Mandrake Opdateringer" ;;
+ de*) CAPTION="Mandrake Updates" ;;
+ es*) CAPTION="Actualizaciones de Mandrake" ;;
+ et*) CAPTION="Mandrake parandused" ;;
+ fr*) CAPTION="Mises à jour de Mandrake" ;;
+ ga*) CAPTION="Nuashonraí Mandrake" ;;
+ gl*) CAPTION="Actualizacións de Mandrake" ;;
+ hr*) CAPTION="Mandrake nadogradnje" ;;
+ hu*) CAPTION="Mandrake frissítések" ;;
+ id*) CAPTION="Situs Update Mandrake" ;;
+ is*) CAPTION="Mandrake uppfærslur" ;;
+ it*) CAPTION="Aggiornamenti Mandrake" ;;
+ lt*) CAPTION="Mandrake atnaujinimai" ;;
+ nl*) CAPTION="Mandrake updates" ;;
+ no*) CAPTION="Mandrake oppdateringer" ;;
+ ro*) CAPTION="Actualizãri pentru Mandrake" ;;
+ uk*) CAPTION="ðÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ Mandrake" ;;
+ wa*) CAPTION="Metaedje a djoû di Mandrake" ;;
+ esac
+done
+if [ "$CAPTION" = "" ]; then CAPTION="Mandrake Updates" ; fi
+
+/usr/bin/gdesktoplnk \
+ --progname="/usr/X11R6/bin/MandrakeUpdate" \
+ --icon-name="../icons/mdk-updates.xpm" \
+ --icon-caption="$CAPTION" \
+ --link-name="MDKUpdates" \
+ --desktop-dir="$HOME/.gnome-desktop"
+
+
+############
+# DrakConf #
+############
+CAPTION=""
+for i in $LISTLANG
+do
+ if [ "$CAPTION" != "" ]; then break ; fi
+ case "$i" in
+ en*) CAPTION="DrakConf" ;;
+ esac
+done
+if [ "$CAPTION" = "" ]; then CAPTION="DrakConf" ; fi
+
+/usr/bin/gdesktoplnk \
+ --progname="/usr/bin/kdesu -c '/usr/X11R6/bin/DrakConf'" \
+ --icon-name="../icons/DrakConf.xpm" \
+ --icon-caption="$CAPTION" \
+ --link-name="DrakConf" \
+ --desktop-dir="$HOME/.gnome-desktop"
+
+
+############
+# rpmdrake #
+############
+CAPTION=""
+for i in $LISTLANG
+do
+ if [ "$CAPTION" != "" ]; then break ; fi
+ case "$i" in
+ en*) CAPTION="RpmDrake" ;;
+ esac
+done
+if [ "$CAPTION" = "" ]; then CAPTION="RpmDrake" ; fi
+
+/usr/bin/gdesktoplnk \
+ --progname="/usr/X11R6/bin/rpmdrake" \
+ --icon-name="../icons/rpmdrake.xpm" \
+ --icon-caption="$CAPTION" \
+ --link-name="rpmdrake" \
+ --desktop-dir="$HOME/.gnome-desktop"
+
+