wok-current diff 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 diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tramys-server/stuff/tramys2.msg Tue Feb 14 08:37:15 2017 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# Sorry, no gettext here. It needs to install locale packages for used locales, 1.5 +# and I don't want to install them to our Tank server. 1.6 + 1.7 +msg() { 1.8 +case $lang in 1.9 + pt_BR) 1.10 + case $1 in 1.11 + 1) echo "#Pacotes instalados: $PKGNUM" 1.12 + echo "#Pesquisando em andamento..." ;; 1.13 + 2) echo -e "#\n#Fazendo um arquivo. Por favor, aguarde..." ;; 1.14 + 3) SIZE=$(echo $SIZE | sed -e 's|.*|&B|') 1.15 + echo -e "#\n#Feito!" 1.16 + echo -e "#Agora você pode continuar a fazer\n#download e instalar as suas traduções." 1.17 + echo "#O tamanho do arquivo: $SIZE" ;; 1.18 + esac ;; 1.19 + ru*) 1.20 + case $1 in 1.21 + 1) echo "#Количество пакетов: $PKGNUM" 1.22 + echo "#Поиск переводов…" ;; 1.23 + 2) echo -e "#\n#Создание архива. Подождите…" ;; 1.24 + 3) SIZE=$(echo $SIZE | sed -e 's|\.|,|;s|[0-9,]*|& |;s|.*|&Б|') 1.25 + echo -e "#\n#Готово!" 1.26 + echo -e "#Теперь вы можете загрузить\n#и установить найденные переводы." 1.27 + echo "#Размер файла: $SIZE" ;; 1.28 + esac ;; 1.29 + *) 1.30 + case $1 in 1.31 + 1) echo "#Number of packages: $PKGNUM" 1.32 + echo "#Searching in progress..." ;; 1.33 + 2) echo -e "#\n#Preparing archive. Please wait..." ;; 1.34 + 3) SIZE=$(echo $SIZE | sed -e 's|.*|&B|') 1.35 + echo -e "#\n#Done!" 1.36 + echo -e "#Now you can proceed to downloading\n#and installing your translations." 1.37 + echo "#File size: $SIZE" ;; 1.38 + esac ;; 1.39 +esac 1.40 +}