diff --git a/scripts/gettext-keys-generator.pl b/scripts/gettext-keys-generator.pl index f8316cf63..fb9575d9f 100755 --- a/scripts/gettext-keys-generator.pl +++ b/scripts/gettext-keys-generator.pl @@ -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*$/) {