diff --git a/po/pocheck.pl b/po/pocheck.pl index 365800acfc..b7d8db4aca 100755 --- a/po/pocheck.pl +++ b/po/pocheck.pl @@ -91,9 +91,9 @@ foreach $pofilename ( @ARGV ) $msgid_clean = lc($msgid); $msgstr_clean = lc($msgstr); - $msgid_clean =~ s/|.*?$//; + $msgid_clean =~ s/\|.*?$//; $msgid_clean =~ s/&([^ ])/$1/; - $msgstr_clean =~ s/|.*?$//; + $msgstr_clean =~ s/\|.*?$//; $msgstr_clean =~ s/&([^ ])/$1/; $trans{$msgid_clean}{$msgstr_clean} = [ $msgid, $msgstr ];