blob: 1cb3b3e6f7f487e7e175266675cb0331a626ddb3 (
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
|
#!/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="Èíòåðíåò Âðúçêà" ;;
ca*) CAPTION="Connexió a Internet" ;;
cs*) CAPTION="Pøipojení k Internetu" ;;
da*) CAPTION="Internet forbindelse" ;;
de*) CAPTION="Internetverbindung" ;;
es*) CAPTION="Conexión a Internet" ;;
et*) CAPTION="Internetiühendus" ;;
fr*) CAPTION="Connexion à l'Internet" ;;
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" ;;
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" ;;
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="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/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" ;;
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"
|