tl: recovery-challenge.cgi > pt-BR

This commit is contained in:
Vitor Gonçalves 2023-12-02 14:34:54 -03:00
parent 6270b60153
commit 147f01f74a
Signed by: vitorg
GPG Key ID: B90BF113DF56EB41
1 changed files with 6 additions and 6 deletions

View File

@ -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/\&lt;/</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)"