afuna: Cat under a blanket. Text: "Cats are just little people with Fur and Fangs" (Default)
afuna ([personal profile] afuna) wrote in [site community profile] changelog2009-07-04 12:50 am

[dw-free] Pass link to register.bml to poll.error.notvalidated

[commit: http://hg.dwscoalition.org/dw-free/rev/deffdb467fa7]

http://bugs.dwscoalition.org/show_bug.cgi?id=778

Pass in the link.

Patch by [staff profile] denise.

Files modified:
  • bin/upgrading/en.dat
  • cgi-bin/LJ/Poll.pm
--------------------------------------------------------------------------------
diff -r f52d8c643c52 -r deffdb467fa7 bin/upgrading/en.dat
--- a/bin/upgrading/en.dat	Sat Jul 04 00:13:53 2009 +0000
+++ b/bin/upgrading/en.dat	Sat Jul 04 00:48:29 2009 +0000
@@ -2277,7 +2277,7 @@ poll.error.noquestions=You must have at 
 
 poll.error.notext=Need text inside an lj-pq tag to say what the question is about.
 
-poll.error.notvalidated=Your email address must be validated in order to vote in this poll.
+poll.error.notvalidated2=Your email address <a [[aopts]]>must be confirmed</a> in order to vote in this poll.
 
 poll.error.pitoolong=Text inside an lj-pi tag must be between 1 and 255 characters.  Yours is [[len]].
 
diff -r f52d8c643c52 -r deffdb467fa7 cgi-bin/LJ/Poll.pm
--- a/cgi-bin/LJ/Poll.pm	Sat Jul 04 00:13:53 2009 +0000
+++ b/cgi-bin/LJ/Poll.pm	Sat Jul 04 00:48:29 2009 +0000
@@ -1385,7 +1385,7 @@ sub process_submission {
     if ($poll->is_unique) {
         # make sure their email address is validated
         unless ($remote->is_validated) {
-            $$error = LJ::Lang::ml('poll.error.notvalidated', { aopts => "href='$LJ::HELPURL{validate_email}'" });
+            $$error = LJ::Lang::ml('poll.error.notvalidated2', { aopts => "href='$LJ::SITEROOT/register.bml'" });
             return 0;
         }
 
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org