[Rt-commit] rt branch, 4.2-on-4.0/different-result-msg-for-comment-reply, created. rt-4.0.13-49-gca78002

Ruslan Zakirov ruz at bestpractical.com
Thu Oct 3 17:36:42 EDT 2013


The branch, 4.2-on-4.0/different-result-msg-for-comment-reply has been created
        at  ca780028220c9cc759642843954762f71e5414f7 (commit)

- Log -----------------------------------------------------------------
commit ca780028220c9cc759642843954762f71e5414f7
Author: Ruslan Zakirov <ruz at bestpractical.com>
Date:   Thu May 30 17:32:57 2013 +0400

    return different message for comment and reply
    
    Old "message recorded" is confusing as it doesn't differentiate
    between correspond and comment.

diff --git a/lib/RT/Ticket.pm b/lib/RT/Ticket.pm
index 5acdb31..29aaf45 100644
--- a/lib/RT/Ticket.pm
+++ b/lib/RT/Ticket.pm
@@ -2318,7 +2318,14 @@ sub _RecordNote {
         return ( $Trans, $self->loc("Message could not be recorded"), undef );
     }
 
-    return ( $Trans, $self->loc("Message recorded"), $TransObj );
+=for loc
+
+    "Comment recorded" # loc
+    "Correspond recorded" # loc
+
+=cut
+
+    return ( $Trans, $self->loc("$args{'NoteType'} recorded"), $TransObj );
 }
 
 

-----------------------------------------------------------------------


More information about the Rt-commit mailing list