forked from vern/website
tl: recovery-challenge.cgi > pt-BR
This commit is contained in:
parent
6270b60153
commit
147f01f74a
|
@ -109,32 +109,32 @@ esac
|
|||
|
||||
sedcmd=" -e 's/USERNAME/$arg_username/' -e 's/CHALLENGE/$(<$runtime_dir/$arg_username)/' -e 's/KEYID/$keyid/' -e 's\\NAV\\$(php $(dirname $0)/nav.php | sed 's/\&/\\\&/g')\\' -e 's\\FOOTER\\$($(dirname $0)/footer.cgi | sed '1,2d' | sed 's/\</</g')\\'"
|
||||
sedcmd="$sedcmd $(if [[ $nokey == 1 ]]; then
|
||||
printf '%s' '-e "s/NOKEY/This user has no <code>.pgp.asc</code> file/"'
|
||||
printf '%s' '-e "s/NOKEY/Este usuário não possui o arquivo <code>.pgp.asc</code>/"'
|
||||
else
|
||||
printf '%s' '-e "s/NOKEY//"'
|
||||
fi)"
|
||||
sedcmd="$sedcmd $(if [[ $nouser == 1 ]]; then
|
||||
printf '%s' '-e "s/NOUSER/No such user/"'
|
||||
printf '%s' '-e "s/NOUSER/Usuário inexistente/"'
|
||||
else
|
||||
printf '%s' '-e "s/NOUSER//"'
|
||||
fi)"
|
||||
sedcmd="$sedcmd $(if [[ $nossh == 1 ]]; then
|
||||
printf '%s' '-e "s/NOSSH/No SSH key(s) supplied/"'
|
||||
printf '%s' '-e "s/NOSSH/Nenhuma chave SSH fornecida/"'
|
||||
else
|
||||
printf '%s' '-e "s/NOSSH//"'
|
||||
fi)"
|
||||
sedcmd="$sedcmd $(if [[ $badssh == 1 ]]; then
|
||||
printf '%s' '-e "s/BADSSH/Invalid SSH keyfile/"'
|
||||
printf '%s' '-e "s/BADSSH/Arquivo de chave SSH inválido/"'
|
||||
else
|
||||
printf '%s' '-e "s/BADSSH//"'
|
||||
fi)"
|
||||
sedcmd="$sedcmd $(if [[ $nosig == 1 ]]; then
|
||||
printf '%s' '-e "s/NOSIG/No signature supplied/"'
|
||||
printf '%s' '-e "s/NOSIG/Nenhuma assinatura enviada/"'
|
||||
else
|
||||
printf '%s' '-e "s/NOSIG//"'
|
||||
fi)"
|
||||
sedcmd="$sedcmd $(if [[ $badsig == 1 ]]; then
|
||||
printf '%s' '-e "s/BADSIG/Bad signature/"'
|
||||
printf '%s' '-e "s/BADSIG/Assinatura inválida/"'
|
||||
else
|
||||
printf '%s' '-e "s/BADSIG//"'
|
||||
fi)"
|
||||
|
|
Loading…
Reference in New Issue