fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2012-07-12 07:40 am

[dw-free] Edited comment text

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

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

Point out that the comment text is in the original notification.

(Welcome swaldman!)

Patch by [personal profile] swaldman.

Files modified:
  • cgi-bin/LJ/Event/JournalNewComment/Edited.pm
--------------------------------------------------------------------------------
diff -r 354655a2ca78 -r 67cfa8949ecb cgi-bin/LJ/Event/JournalNewComment/Edited.pm
--- a/cgi-bin/LJ/Event/JournalNewComment/Edited.pm	Sun Jul 01 19:24:05 2012 +0800
+++ b/cgi-bin/LJ/Event/JournalNewComment/Edited.pm	Thu Jul 12 15:43:56 2012 +0800
@@ -33,7 +33,9 @@
     my $htmlid  = LJ::Talk::comment_htmlid( $dtalkid );
 
     my $reason = LJ::ehtml( $comment->edit_reason );
-    my $comment_body = "This comment was edited.";
+    my $comment_body =
+        "This comment was edited. " .
+        "Please see the original notification for the updated text.";
     $comment_body .= " " . LJ::Lang::get_text( $target->prop( "browselang" ), "esn.journal_new_comment.edit_reason", undef, { reason => $reason } ) . "."
             if $reason;
 
--------------------------------------------------------------------------------