[Rt-commit] rt branch, 4.2/translation-updates, created. rt-4.0.0rc6-167-gc727022

Shawn Moore sartak at bestpractical.com
Wed Mar 16 14:02:45 EDT 2011


The branch, 4.2/translation-updates has been created
        at  c7270225ef30f72ac8550165c40a281a77ae2415 (commit)

- Log -----------------------------------------------------------------
commit c7270225ef30f72ac8550165c40a281a77ae2415
Author: Shawn M Moore <sartak at bestpractical.com>
Date:   Wed Mar 16 14:02:31 2011 -0400

    Don't concatenate loc'd strings, just use another parameter

diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index 63d4302..fcdfeeb 100644
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -2028,8 +2028,7 @@ sub ProcessTicketReminders {
             }
 
             push @results, map {
-                loc( "Reminder '[_1]': ", $old_subject || $reminder->Subject )
-                  . $_
+                loc( "Reminder '[_1]': [_2]", $old_subject || $reminder->Subject, $_ )
             } @subresults;
         }
     }
@@ -2047,8 +2046,7 @@ sub ProcessTicketReminders {
         );
         if ( $status ) {
             push @results,
-              loc( "Reminder '[_1]': ", $args->{'NewReminder-Subject'} )
-              . loc("Created");
+              loc( "Reminder '[_1]': [_2]", $args->{'NewReminder-Subject'}, loc("Created") )
         }
         else {
             push @results, $msg;

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


More information about the Rt-commit mailing list