i18n: Fix problem with break lines in strings extractor

FEA: ItEr76S04BugFixing
This commit is contained in:
Manuel Rego Casasnovas 2012-07-02 18:28:50 +02:00
parent bbb7901e5c
commit f766ba52fd

View file

@ -279,7 +279,7 @@ sub parse_hibernate_validations()
next;
}
# First line
if ($line =~ /\@\s*\w+\s*\(\s*message\s*=\s*\"(.*?)\s*\"/) {
if ($line =~ /\@\s*\w+\s*\(\s*message\s*=\s*\"(.*?)\"\s*/) {
$msgid = "\"$1\"";
# Line ends with a )
if ($line =~ /\)\s*$/) {