r547 - trunk/misc
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Mar 4 22:18:47 EST 2008
Author: icculus
Date: 2008-03-04 22:18:46 -0500 (Tue, 04 Mar 2008)
New Revision: 547
Modified:
trunk/misc/po2localization.pl
Log:
Fixed the bug that was eating translation template strings.
Modified: trunk/misc/po2localization.pl
===================================================================
--- trunk/misc/po2localization.pl 2008-03-05 02:53:23 UTC (rev 546)
+++ trunk/misc/po2localization.pl 2008-03-05 03:18:46 UTC (rev 547)
@@ -58,7 +58,7 @@
next if /\A\#/;
if (s/msgid\s*\"(.*?)\"\Z/$1/) {
- if ($_ eq '') { # initial string.
+ if (($_ eq '') and ($currentlang eq '')) { # initial string.
while (<POIO>) { # Skip most of the metadata.
chomp;
s/\A\s+//;
More information about the mojosetup-commits
mailing list