wok-current view tramys-server/stuff/tramys2.msg @ rev 19698
Up newt (0.52.19)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 14 08:37:15 2017 +0100 (2017-02-14) |
parents | |
children |
line source
1 # Sorry, no gettext here. It needs to install locale packages for used locales,
2 # and I don't want to install them to our Tank server.
4 msg() {
5 case $lang in
6 pt_BR)
7 case $1 in
8 1) echo "#Pacotes instalados: $PKGNUM"
9 echo "#Pesquisando em andamento..." ;;
10 2) echo -e "#\n#Fazendo um arquivo. Por favor, aguarde..." ;;
11 3) SIZE=$(echo $SIZE | sed -e 's|.*|&B|')
12 echo -e "#\n#Feito!"
13 echo -e "#Agora você pode continuar a fazer\n#download e instalar as suas traduções."
14 echo "#O tamanho do arquivo: $SIZE" ;;
15 esac ;;
16 ru*)
17 case $1 in
18 1) echo "#Количество пакетов: $PKGNUM"
19 echo "#Поиск переводов…" ;;
20 2) echo -e "#\n#Создание архива. Подождите…" ;;
21 3) SIZE=$(echo $SIZE | sed -e 's|\.|,|;s|[0-9,]*|& |;s|.*|&Б|')
22 echo -e "#\n#Готово!"
23 echo -e "#Теперь вы можете загрузить\n#и установить найденные переводы."
24 echo "#Размер файла: $SIZE" ;;
25 esac ;;
26 *)
27 case $1 in
28 1) echo "#Number of packages: $PKGNUM"
29 echo "#Searching in progress..." ;;
30 2) echo -e "#\n#Preparing archive. Please wait..." ;;
31 3) SIZE=$(echo $SIZE | sed -e 's|.*|&B|')
32 echo -e "#\n#Done!"
33 echo -e "#Now you can proceed to downloading\n#and installing your translations."
34 echo "#File size: $SIZE" ;;
35 esac ;;
36 esac
37 }