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

[dw-free] Screened comment: potentially confusing confirm message when comment is from admin

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

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

Tweak text to indicate that the comment could be screened because of the
community's or the entry's settings.

Patch by [personal profile] ninetydegrees.

Files modified:
  • htdocs/talkpost_do.bml
  • htdocs/talkpost_do.bml.text
--------------------------------------------------------------------------------
diff -r 7dbde4ef1b31 -r 21b8783948b0 htdocs/talkpost_do.bml
--- a/htdocs/talkpost_do.bml	Fri Nov 11 16:12:26 2011 +0800
+++ b/htdocs/talkpost_do.bml	Fri Nov 11 18:10:28 2011 +0800
@@ -245,7 +245,7 @@
             if ( $POST{'usertype'} eq 'anonymous' ) {
                 $mlcode = 'success.screened.comm.anon2';
             } elsif ( $commentu && $commentu->can_manage( $journalu ) ) {
-                $mlcode = '.success.screened.comm.owncomm';
+                $mlcode = '.success.screened.comm.owncomm2';
             } else {
                 $mlcode = '.success.screened.comm2';
             }
diff -r 7dbde4ef1b31 -r 21b8783948b0 htdocs/talkpost_do.bml.text
--- a/htdocs/talkpost_do.bml.text	Fri Nov 11 16:12:26 2011 +0800
+++ b/htdocs/talkpost_do.bml.text	Fri Nov 11 18:10:28 2011 +0800
@@ -83,7 +83,7 @@
 
 .success.screened.comm.anon2=Your anonymous comment has been added and marked as screened; it will be visible only to the community administrators until they choose to unscreen it. <a [[aopts]]>Go back to the comment thread</a>.
 
-.success.screened.comm.owncomm=Your comment has been added. According to this community's settings, it was marked as screened, and will be visible only to you and any other community admins until one of you chooses to unscreen it. You can view your comment <a [[aopts]]>here</a>.
+.success.screened.comm.owncomm2=Your comment has been added. According to this community or entry's settings, it was marked as screened, and will be visible only to you and any other community admins until one of you chooses to unscreen it. You can view your comment <a [[aopts]]>here</a>.
 
 .success.screened.comm2=Your comment has been added and marked as screened; it will be visible only to you and the community administrators until they choose to unscreen it. <a [[aopts]]>View your comment</a>.
 
--------------------------------------------------------------------------------