aboutsummaryrefslogtreecommitdiffstats
path: root/gnome/mandrake.links.sh
blob: 1d5fde8a9f6177feaf4aa7f121a8623fa280616e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
#!/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" ;;
#		af*) CAPTION="Internetkonneksie" ;;
#		bg*) CAPTION="Èíòåðíåò Âðúçêà" ;;
#		br*) CAPTION="Kevreañ ouzh ar genrouedad" ;;
#		ca*) CAPTION="Connexió a Internet" ;;
#		cs*) CAPTION="Pøipojení k Internetu" ;;
#		cy*) CAPTION="Cysylltiad Rhyngrwyd" ;;
# 		da*) CAPTION="Internet forbindelse" ;;
#		de*) CAPTION="Internetverbindung" ;;
#		el*) CAPTION="Óýíäåóç Internet" ;;
#		eo*) CAPTION="Interreta konekto" ;;
#		es*) CAPTION="Conexión a Internet" ;;
#		et*) CAPTION="Internetiühendus" ;;
#		fi*) CAPTION="Internet yhteys" ;;
#		fr*) CAPTION="Connexion à l'Internet" ;;
#		ga*) CAPTION="Nasc idirlíon" ;;
#		gl*) CAPTION="Conexión a Internet" ;;
#		hr*) CAPTION="Veza s InterNetom" ;;
#		hu*) CAPTION="Internet kapcsolat" ;;
#		id*) CAPTION="Koneksi Internet" ;;
#		it*) CAPTION="Connessione a Internet" ;;
#		is*) CAPTION="Lýðnets tenging" ;;
#		lt*) CAPTION="Prisijungimas prie interneto" ;;
#		lv*) CAPTION="Interneta pieslçgums" ;;
#		nl*) CAPTION="Internetverbinding" ;;
#		no*) CAPTION="Oppkobling Internett" ;;
#		ro*) CAPTION="Conectare la Internet" ;;
#		ru*) CAPTION="Internet-ÓÏÅÄÉÎÅÎÉÅ" ;;
#		sk*) CAPTION="Pripojenie k internetu" ;;
#		sl*) CAPTION="Povezava v internet" ;;
#		sv*) CAPTION="Internet uppkoppling" ;;
#		tr*) CAPTION="Ýnternet baðlantýsý" ;;
#		uk*) CAPTION="ú'¤ÄÎÁÎÎÑ Ú ¦ÎÔÅÒÎÅÔÏÍ" ;;
#		wa*) CAPTION="Raloyaedje al rantoele daegnrece" ;;
#		zh_CN*) CAPTION="»¥ÁªÍøÁ¬½Ó" ;;
#	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" ;;
#		af*) CAPTION="Mandrake Opdaterings" ;;
#		bg*) CAPTION="Mandrake Îáíîâÿâàíå" ;;
#		br*) CAPTION="Hizivadurioù Mandrake" ;;
#		ca*) CAPTION="Actualitzacions del Mandrake" ;;
#		cs*) CAPTION="Aktualizace Mandrake" ;;
#		cy*) CAPTION="Diweddariadau Mandrake" ;;
#		da*) CAPTION="Mandrake Opdateringer" ;;
#		de*) CAPTION="Mandrake Updates" ;;
#		el*) CAPTION="Áíáâáèìßóåéò ôïõ Mandrake" ;;
#		eo*) CAPTION="Mandrejkaj Øisdatigoj" ;;
#		es*) CAPTION="Actualizaciones de Mandrake" ;;
#		et*) CAPTION="Mandrake parandused" ;;
#		fi*) CAPTION="Mandrake päivitykset" ;;
#		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" ;;
#		lv*) CAPTION="Mandrake atjauninâjumi" ;;
#		nl*) CAPTION="Mandrake updates" ;;
#		no*) CAPTION="Mandrake oppdateringer" ;;
#		ro*) CAPTION="Actualizãri pentru Mandrake" ;;
#		sk*) CAPTION="Mandrake Updates" ;;
#		sl*) CAPTION="Nadgradnje Mandrake" ;;
#		sv*) CAPTION="Mandrake Uppdateringar" ;;
#		tr*) CAPTION="Mandrake güncellemesi" ;;
#		uk*) CAPTION="ðÏÎÏ×ÌÅÎÎÑ ÓÉÓÔÅÍÉ Mandrake" ;;
#		wa*) CAPTION="Metaedje a djoû di Mandrake" ;;
#		zh_CN*) CAPTION="Mandrake Éý¼¶" ;;
#	esac
#done
#if [ "$CAPTION" = "" ]; then CAPTION="Mandrake Updates" ; fi
#
#/usr/bin/gdesktoplnk \
#	--progname="/usr/X11R6/bin/MandrakeUpdate" \
#	--icon-name="../icons/updates-mdk.xpm" \
#	--icon-caption="$CAPTION" \
#	--link-name="Mandrake Updates" \
#	--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/X11R6/bin/DrakConf" \
	--icon-name="../icons/large/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" ;;
#		zh_CN*) 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"
#

############
# Netscape #
############
#CAPTION=""
#for i in $LISTLANG
#do
#	if [ "$CAPTION" != "" ]; then break ; fi
#	case "$i" in
#		en*) CAPTION="Netscape" ;;
#		ja*) CAPTION="¥Í¥Ã¥È¥¹¥±¡¼¥×" ;;
#		ko*) CAPTION="³Ý½ºÄÉÀÌÇÁ" ;;
#	esac
#done
#if [ "$CAPTION" = "" ]; then CAPTION="Netscape" ; fi
#
#/usr/bin/gdesktoplnk \
#	--progname="/usr/bin/netscape" \
#	--icon-name="../icons/netscape.xpm" \
#	--icon-caption="$CAPTION" \
#	--link-name="Netscape" \
#	--desktop-dir="$HOME/.gnome-desktop"

cp /usr/share/gnome/apps/Networking/WWW/Netscape-Navigator.desktop $HOME/.gnome-desktop/ -f