]> git.lyx.org Git - features.git/commitdiff
Slight simplification.
authorRichard Heck <rgheck@comcast.net>
Tue, 5 Apr 2011 22:40:17 +0000 (22:40 +0000)
committerRichard Heck <rgheck@comcast.net>
Tue, 5 Apr 2011 22:40:17 +0000 (22:40 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38268 a592a061-630c-0410-9148-cb99ea01b6c8

po/pocheck.pl

index f1e0e189827f8eda6fb345268d66b04fd356e758..9e58cdcbf55e45978d3aa94cc358a4d57ee1fabd 100755 (executable)
@@ -189,7 +189,9 @@ foreach my $pofilename ( @ARGV )
       if ( $#msgstrkeys > 0 ) {
         print( "Different translations for '$msgid':\n" );
         foreach $msgstr ( @msgstrkeys ) {
-          print( "Line $trans{$msgid}{$msgstr}[2]: '" . $trans{$msgid}{$msgstr}[0] . "' => '" . $trans{$msgid}{$msgstr}[1] . "'\n" );
+          print( "Line $ref->{$msgstr}[2]: '" . 
+            $ref->{$msgstr}[0] . "' => '" . 
+            $ref->{$msgstr}[1] . "'\n" );
         }
         $warn++;
       }