mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +00:00
More line numbers.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38267 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
ff6680a99d
commit
98a2a87ae7
@ -175,7 +175,7 @@ foreach my $pofilename ( @ARGV )
|
|||||||
# cleaned versions of ORIGINAL strings. the keys of the inner hash
|
# cleaned versions of ORIGINAL strings. the keys of the inner hash
|
||||||
# are the cleaned versions of their TRANSLATIONS. The value for the
|
# are the cleaned versions of their TRANSLATIONS. The value for the
|
||||||
# inner hash is an array of the orignal string and translation.
|
# inner hash is an array of the orignal string and translation.
|
||||||
$trans{$msgid_clean}{$msgstr_clean} = [ $msgid, $msgstr ];
|
$trans{$msgid_clean}{$msgstr_clean} = [ $msgid, $msgstr, $linenum ];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($check_trans) {
|
if ($check_trans) {
|
||||||
@ -189,7 +189,7 @@ foreach my $pofilename ( @ARGV )
|
|||||||
if ( $#msgstrkeys > 0 ) {
|
if ( $#msgstrkeys > 0 ) {
|
||||||
print( "Different translations for '$msgid':\n" );
|
print( "Different translations for '$msgid':\n" );
|
||||||
foreach $msgstr ( @msgstrkeys ) {
|
foreach $msgstr ( @msgstrkeys ) {
|
||||||
print( " '" . $trans{$msgid}{$msgstr}[0] . "' => '" . $trans{$msgid}{$msgstr}[1] . "'\n" );
|
print( "Line $trans{$msgid}{$msgstr}[2]: '" . $trans{$msgid}{$msgstr}[0] . "' => '" . $trans{$msgid}{$msgstr}[1] . "'\n" );
|
||||||
}
|
}
|
||||||
$warn++;
|
$warn++;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user