[Rt-commit] r11127 - in rt/branches/3.6-RELEASE: .
jesse at bestpractical.com
jesse at bestpractical.com
Wed Mar 19 12:37:12 EDT 2008
Author: jesse
Date: Wed Mar 19 12:37:11 2008
New Revision: 11127
Modified:
rt/branches/3.6-RELEASE/ (props changed)
rt/branches/3.6-RELEASE/sbin/extract-message-catalog
Log:
r28448 at 104: jesse | 2008-03-19 12:37:01 -0400
RT-Ticket: 9066
RT-Status: resolved
RT-Update: correspond
* applied a patch from elacour to deal with multiline translation strings
Modified: rt/branches/3.6-RELEASE/sbin/extract-message-catalog
==============================================================================
--- rt/branches/3.6-RELEASE/sbin/extract-message-catalog (original)
+++ rt/branches/3.6-RELEASE/sbin/extract-message-catalog Wed Mar 19 12:37:11 2008
@@ -198,7 +198,8 @@
my $msghdr = "";
$msghdr .= shift @lines while ( $lines[0] && $lines[0] !~ /^msgid/ );
- my $msgid = shift @lines;
+ my $msgid = "";
+ $msgid .= shift @lines while ( $lines[0] && $lines[0] =~ /^(msgid|")/ );
my $msgstr = "";
$msgstr .= shift @lines while ( $lines[0] && $lines[0] =~ /^(msgstr|")/ );
More information about the Rt-commit
mailing list