build: fix po->lua conversion, last po entry was always missing
This commit is contained in:
parent
ef92e3677c
commit
2ef4b11de9
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ if( open F, "find $source_dir -type f -name '*.po' |" )
|
|||
|
||||
my ( $k, $v );
|
||||
|
||||
while( chomp( my $line = readline L ) )
|
||||
while( chomp( my $line = readline L ) || ( defined($k) && defined($v) ) )
|
||||
{
|
||||
if( $line =~ /^msgid "(.+)"/ )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue