diff --git a/pt-BR/newsletter.php b/pt-BR/newsletter.php index 272f0ef..ed07d92 100644 --- a/pt-BR/newsletter.php +++ b/pt-BR/newsletter.php @@ -33,14 +33,14 @@ if (preg_match("/^" . preg_quote($_GET['email']) . "$/m", file_get_contents("/var/spool/list")) === 1) { if ($_GET['action'] == "unsub") $email = sanitize($_GET['email']); - else $err = "E-mail already in list"; + else $err = "E-mail já está na lista"; } else { if ($_GET['action'] == "sub") $email = sanitize($_GET['email']); - else $err = "E-mail not in list"; + else $err = "E-mail não está na lista"; } - } else $err = "Invalid E-mail"; - } else $err = "E-mail is required"; + } else $err = "E-mail inválido"; + } else $err = "E-mail necessário"; } $filename = "/tmp/list-code-" . $email; @@ -58,16 +58,16 @@ } unlink($filename); - $subject = ($_GET['action'] == "sub" ? "S" : "Uns") . "ubscription confirmed"; + $subject = ($_GET['action'] == "sub" ? "I" : "Desi") . "nscrição confirmada!"; $headers = "From: announcements@vern.cc\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-type: text/plain\n"; - $message = "You have been " . ($_GET['action'] == "sub" ? "added to" : "removed from") . " the ~vern announcement mailing list"; + $message = "Você foi " . ($_GET['action'] == "sub" ? "adicionado à" : "removido da") . " mailing list de anúncios do ~vern"; mail($email, $subject, $message, $headers); $confirmed = true; } else { - $code_err = 'Incorrect code'; + $code_err = 'Código incorreto'; } } else { $code = substr(md5(rand()), 0, 8); @@ -76,11 +76,11 @@ fwrite($handle, $code); fclose($handle); - $subject = "Your confirmation code"; + $subject = "Seu código de confirmação"; $headers = "From: announcements@vern.cc\n"; $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-type: text/plain\n"; - $message = "Your confirmation code is $code. Do not share it with anyone.\n\nIf you did not initiate this, you can safely ignore this message."; + $message = "Seu código de confirmação é $code. Não o compartilhe com ninguém.\n\nSe você não fez isso, você pode ignorar essa mensagem."; mail($email, $subject, $message, $headers); } @@ -95,8 +95,8 @@



@@ -105,12 +105,12 @@ -

Confirm Action

-

A confirmation code was sent to

+

Confirmar ação

+

Um código de confirmação foi enviado para

"> -

Code * +

Código *