Runa A. Sandvik commited on 2011-06-29 21:05:15
Zeige 1 geänderte Dateien mit 11 Einfügungen und 0 Löschungen.
| ... | ... |
@@ -251,6 +251,17 @@ for file in $po ; do |
| 251 | 251 |
echo '#include "foot.wmi"' >> "$wmldir/$subdir/$lang/$wmlfile" |
| 252 | 252 |
fi |
| 253 | 253 |
|
| 254 |
+ # If the file is overview.wml, make sure we |
|
| 255 |
+ # include the correct set of images |
|
| 256 |
+ if [ $wmlfile = "overview.wml" ] && [[ $lang = "de" || $lang = "es" || $lang = "fr" || |
|
| 257 |
+ $lang = "ja" || $lang = "nl" || $lang = "no" || $lang = "pl" || $lang = "ru" || |
|
| 258 |
+ $lang = "zh" ]] |
|
| 259 |
+ then |
|
| 260 |
+ sed -i "s/htw1.png/htw1_$lang.png/" "$wmldir/$subdir/$lang/$wmlfile" |
|
| 261 |
+ sed -i "s/htw2.png/htw2_$lang.png/" "$wmldir/$subdir/$lang/$wmlfile" |
|
| 262 |
+ sed -i "s/htw3.png/htw3_$lang.png/" "$wmldir/$subdir/$lang/$wmlfile" |
|
| 263 |
+ fi |
|
| 264 |
+ |
|
| 254 | 265 |
# If the translation is Polish, include the |
| 255 | 266 |
# correct header, menu files and footer |
| 256 | 267 |
if [ $lang = "pl" ] |
| 257 | 268 |