fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2011-08-24 05:14 am

[dw-free] "Detailed results visible to: None" is not quite truthful

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

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

Change text to be more accurate.

Patch by [personal profile] ninetydegrees.

Files modified:
  • bin/upgrading/en.dat
  • cgi-bin/LJ/Poll.pm
--------------------------------------------------------------------------------
diff -r 9ad6bf425b14 -r 99066b7fd23d bin/upgrading/en.dat
--- a/bin/upgrading/en.dat	Wed Aug 24 13:07:27 2011 +0800
+++ b/bin/upgrading/en.dat	Wed Aug 24 13:13:24 2011 +0800
@@ -2128,7 +2128,7 @@
 poll.security.none=None
 
 poll.security.none_others|notes=Shown to everyone who can see the poll except the poster
-poll.security.none_others=None
+poll.security.none_others2=Just the Poll Creator
 
 poll.security.none_remote|notes=Shown only to the poster of the poll
 poll.security.none_remote=Just Me
diff -r 9ad6bf425b14 -r 99066b7fd23d cgi-bin/LJ/Poll.pm
--- a/cgi-bin/LJ/Poll.pm	Wed Aug 24 13:07:27 2011 +0800
+++ b/cgi-bin/LJ/Poll.pm	Wed Aug 24 13:13:24 2011 +0800
@@ -920,7 +920,7 @@
 
     my $whoview = $self->whoview;
     if ($whoview eq "none") {
-        $whoview = $remote && $remote->id == $self->posterid ? "none_remote" : "none_others";
+        $whoview = $remote && $remote->id == $self->posterid ? "none_remote" : "none_others2";
     }
     $ret .= LJ::Lang::ml('poll.security2', { 'whovote' => LJ::Lang::ml('poll.security.'.$self->whovote),
                                        'whoview' => LJ::Lang::ml('poll.security.'.$whoview) });
--------------------------------------------------------------------------------

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