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=" -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 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 else
printf '%s' '-e "s/NOKEY//"' printf '%s' '-e "s/NOKEY//"'
fi)" fi)"
sedcmd="$sedcmd $(if [[ $nouser == 1 ]]; then sedcmd="$sedcmd $(if [[ $nouser == 1 ]]; then
printf '%s' '-e "s/NOUSER/No such user/"' printf '%s' '-e "s/NOUSER/Usuário inexistente/"'
else else
printf '%s' '-e "s/NOUSER//"' printf '%s' '-e "s/NOUSER//"'
fi)" fi)"
sedcmd="$sedcmd $(if [[ $nossh == 1 ]]; then 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 else
printf '%s' '-e "s/NOSSH//"' printf '%s' '-e "s/NOSSH//"'
fi)" fi)"
sedcmd="$sedcmd $(if [[ $badssh == 1 ]]; then 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 else
printf '%s' '-e "s/BADSSH//"' printf '%s' '-e "s/BADSSH//"'
fi)" fi)"
sedcmd="$sedcmd $(if [[ $nosig == 1 ]]; then sedcmd="$sedcmd $(if [[ $nosig == 1 ]]; then
printf '%s' '-e "s/NOSIG/No signature supplied/"' printf '%s' '-e "s/NOSIG/Nenhuma assinatura enviada/"'
else else
printf '%s' '-e "s/NOSIG//"' printf '%s' '-e "s/NOSIG//"'
fi)" fi)"
sedcmd="$sedcmd $(if [[ $badsig == 1 ]]; then sedcmd="$sedcmd $(if [[ $badsig == 1 ]]; then
printf '%s' '-e "s/BADSIG/Bad signature/"' printf '%s' '-e "s/BADSIG/Assinatura inválida/"'
else else
printf '%s' '-e "s/BADSIG//"' printf '%s' '-e "s/BADSIG//"'
fi)" fi)"