[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-459-gdaf85ff

Shawn Moore sartak at bestpractical.com
Tue Aug 17 22:15:51 EDT 2010


The branch, 3.9-trunk has been updated
       via  daf85ff089a9ee015266a05dc32a786ce682c708 (commit)
      from  646ed79ba38cc9a19108c2887aef4641d5264889 (commit)

Summary of changes:
 lib/RT/Queue_Overlay.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

- Log -----------------------------------------------------------------
commit daf85ff089a9ee015266a05dc32a786ce682c708
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Tue Aug 17 22:17:31 2010 -0400

    More consistent add/remove language, kill an "a" before a variable
    
        "root is no longer a Admins for this queue."
        "Added principal as a Consultants for this queue"

diff --git a/lib/RT/Queue_Overlay.pm b/lib/RT/Queue_Overlay.pm
index 81d0b64..23d8614 100755
--- a/lib/RT/Queue_Overlay.pm
+++ b/lib/RT/Queue_Overlay.pm
@@ -915,7 +915,7 @@ sub _AddWatcher {
 
         return ( 0, $self->loc('Could not make that principal a [_1] for this queue', $args{'Type'}) );
     }
-    return ( 1, $self->loc('Added principal as a [_1] for this queue', $args{'Type'}) );
+    return ( 1, $self->loc("Added [_1] to members of [_2] for this queue.", $principal->Object->Name, $args{'Type'} ));
 }
 
 # }}}
@@ -999,7 +999,7 @@ sub DeleteWatcher {
         return ( 0,    $self->loc('Could not remove that principal as a [_1] for this queue', $args{'Type'}) );
     }
 
-    return ( 1, $self->loc("[_1] is no longer a [_2] for this queue.", $principal->Object->Name, $args{'Type'} ));
+    return ( 1, $self->loc("Removed [_1] from members of [_2] for this queue.", $principal->Object->Name, $args{'Type'} ));
 }
 
 # }}}

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


More information about the Rt-commit mailing list