# 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:
#
$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++;
}
$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/;