[Rt-commit] r13057 - in rt/branches/3.8-TESTING: .

elacour at bestpractical.com elacour at bestpractical.com
Mon Jun 9 12:07:21 EDT 2008


Author: elacour
Date: Mon Jun  9 12:07:21 2008
New Revision: 13057

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/sbin/extract-message-catalog

Log:
 r9329 at datura:  manu | 2008-06-09 18:07:13 +0200
 Missed \n\r replace on vars for mason localization (break po files on
 share/html/Ticket/Elements/ShowUpdateStatus(55) for example).


Modified: rt/branches/3.8-TESTING/sbin/extract-message-catalog
==============================================================================
--- rt/branches/3.8-TESTING/sbin/extract-message-catalog	(original)
+++ rt/branches/3.8-TESTING/sbin/extract-message-catalog	Mon Jun  9 12:07:21 2008
@@ -121,6 +121,7 @@
     my $line = 1;
     while (m!\G.*?<&\|/l(.*?)&>(.*?)</&>!sg) {
         my ( $vars, $str ) = ( $1, $2 );
+        $vars =~ s/[\n\r]//g;
         $line += ( () = ( $& =~ /\n/g ) );    # cryptocontext!
         $str =~ s/\\'/\'/g;
         #print "STR IS $str\n";


More information about the Rt-commit mailing list