[Rt-commit] rt branch, 4.2/different-result-msg-for-comment-reply, repushed

Alex Vandiver alexmv at bestpractical.com
Fri Jul 25 17:18:44 EDT 2014


The branch 4.2/different-result-msg-for-comment-reply was deleted and repushed:
       was 1b0c0ff0a43383ff795ef686942b2a4d25a5ffff
       now 83aae23a447f861769648687574fe058d8c7845e

1:  1b0c0ff ! 1:  83aae23 return different message for comment and reply
    @@ -26,14 +26,12 @@
          }
      
     -    return ( $Trans, $self->loc("Message recorded"), $TransObj );
    -+=for loc
    -+
    -+    "Comments added" # loc
    -+    "Correspondence added" # loc
    -+
    -+=cut
    -+
    -+    return ( $Trans, $self->loc( $args{'NoteType'} eq 'Comment' ? 'Comments added' : 'Correspondence added' ), $TransObj );
    ++    if ($args{NoteType} eq "Comment") {
    ++        $msg = $self->loc("Comments added");
    ++    } else {
    ++        $msg = $self->loc("Correspondence added");
    ++    }
    ++    return ( $Trans, $msg, $TransObj );
      }
      
      



More information about the rt-commit mailing list