diff options
Diffstat (limited to 'intltool-extract.in')
-rw-r--r-- | intltool-extract.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/intltool-extract.in b/intltool-extract.in index 45a969c..47a539b 100644 --- a/intltool-extract.in +++ b/intltool-extract.in @@ -276,7 +276,7 @@ sub add_message sub type_ini { ### For generic translatable desktop files ### - while ($input =~ /^(#(.+)\n)?^_.*=(.*)$/mg) { + while ($input =~ /^(#(.+)\n)?^_[A-Za-z0-9\-]+\s*=\s*(.*)$/mg) { if (defined($2)) { $comments{$3} = $2; } |