]> git.lyx.org Git - lyx.git/blobdiff - po/pocheck.pl
Remerge po files
[lyx.git] / po / pocheck.pl
index d33101f0846dd6f2e5298a78c08cfb2f1adee569..69bc405b2b947b1c1b9a59f5a850cebdee2b8d97 100755 (executable)
@@ -5,7 +5,7 @@
 # This file is part of LyX, the document processor.
 # Licence details can be found in the file COPYING.
 #
-# author: Michael Schmitt, michael.schmitt@teststep.org
+# author: Michael Gerz, michael.gerz@teststep.org
 #
 # This script performs some consistency checks on po files:
 #
@@ -81,9 +81,9 @@ foreach $pofilename ( @ARGV )
           $warn++;
         }
 
-        # Check for "|..." shortcut(s)
+        # Check for "|..." shortcuts
         if ( ( $msgid =~ m/\|[^ ]/ ) != ( $msgstr =~ m/\|[^ ]/ ) ) {
-          print( "Missing or unexpected xforms shortcut:\n" );
+          print( "Missing or unexpected menu shortcut:\n" );
           print( "  '$msgid' => '$msgstr'\n" );
           $warn++;
         }
@@ -91,7 +91,7 @@ foreach $pofilename ( @ARGV )
         $msgid_clean  = lc($msgid);
         $msgstr_clean = lc($msgstr);
 
-        $msgid_clean  =~ s/(.*)\|.*?$/$1/;  # strip xforms shortcuts
+        $msgid_clean  =~ s/(.*)\|.*?$/$1/;  # strip menu shortcuts
         $msgstr_clean =~ s/(.*)\|.*?$/$1/;
         $msgid_clean  =~ s/&([^ ])/$1/;     # strip Qt shortcuts
         $msgstr_clean =~ s/&([^ ])/$1/;