X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=po%2Fpocheck.pl;h=69bc405b2b947b1c1b9a59f5a850cebdee2b8d97;hb=d29f57d7ccc52df71c6dd7767a41c5c3414c62d2;hp=491935962ebe05e068d26ede34d49ffead5b539b;hpb=39fe2ed0c13be3d06d621209a93a873d0a121e87;p=lyx.git diff --git a/po/pocheck.pl b/po/pocheck.pl index 491935962e..69bc405b2b 100755 --- a/po/pocheck.pl +++ b/po/pocheck.pl @@ -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/;