- $msgid_clean =~ s/\|.*?$//;
- $msgid_clean =~ s/&([^ ])/$1/;
- $msgstr_clean =~ s/\|.*?$//;
- $msgstr_clean =~ s/&([^ ])/$1/;
+ $msgid_clean =~ s/(.*)\|.*?$/$1/; # strip xforms shortcuts
+ $msgstr_clean =~ s/(.*)\|.*?$/$1/;
+ $msgid_clean =~ s/&([^ ])/$1/; # strip Qt shortcuts
+ $msgstr_clean =~ s/&([^ ])/$1/;