Browse Source

add missing gui translation variables

fix small gui output "glitches"
pull/16/head
gorgone 5 years ago
parent
commit
d6ca953d77
  1. 15
      support/functions/_compress
  2. 2
      support/functions/_gui_build
  3. 1
      support/translation/en

15
support/functions/_compress

@ -29,12 +29,9 @@ compress_cam_gui(){
erg=$(upx "$upx_c" "$1" |grep oscam |awk '{print $1" "$3" "$4 }')
e1="$(echo "$erg"| awk '{printf("%4.2f k\n", $1 /1024)}')"
e2="$(echo "$erg"| awk '{printf("%4.2fk\n", $2 /1024)}')"
e3="$(echo "$erg"| awk '{print $3}')"
e3="$(echo "$erg"| awk '{print $3}')\n"
echo -en "
$txt_compress1\t= $e1
$txt_compress2\t= $e2
$txt_compress3\t= $e3"
echo -en "\n$txt_compress1\t= $e1\n$txt_compress2\t= $e2\n$txt_compress3\t= $e3"
}
tar_cam_gui(){
@ -43,18 +40,18 @@ tar_cam_gui(){
if [ -f "$1.tar.gz" ]
then
printf "\n $1.tar.gz\n created\n"
printf "\n$1.tar.gz\ncreated\n"
if [ -f "$adir/$1.tar.gz" ]
then
rm -rf "$adir/$1.tar.gz"
mv -f "$1.tar.gz" "$adir"
printf "\n $1.tar.gz\n $txt_to\n $workdir/archive\n"
printf "\n$1.tar.gz\n$txt_to\n$workdir/archive\n"
else
mv -f "$1.tar.gz" "$adir"
printf "\n $1.tar.gz\n $txt_to\n $workdir/archive\n"
printf "\n$1.tar.gz\n$txt_to\n$workdir/archive\n"
fi
else
printf "\nerror\n no $1.tar.gz\n created\n"
printf "\nerror\nno $1.tar.gz\ncreated\n"
fi
}

2
support/functions/_gui_build

@ -115,7 +115,7 @@ _gui_build(){
fi
#show buildtime
printf "\n | TIME >\t[ $txt_buildtime $((Tcalc / 60)) min(s) $((Tcalc % 60)) secs ]"| tee -a "$ldir/$log_name"
printf "\n | TIME >\t[ $txt_buildtime $((Tcalc / 60)) min(s) $((Tcalc % 60)) secs ]\n"| tee -a "$ldir/$log_name"
sleep 1
#remove debug binary

1
support/translation/en

@ -14,6 +14,7 @@ txt_menu='menu'
txt_done=' done'
txt_no='no'
txt_use='use'
txt_save='save'
txt_back='back'
txt_error='error'
txt_load='load'

Loading…
Cancel
Save