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