Commit f852ba59 authored by sympa-authors's avatar sympa-authors
Browse files

[M.Redinger]Fix: xgettext.pl did not collect all gettext_id from List.pm


git-svn-id: https://subversion.renater.fr/sympa/trunk@3052 05aa8bb8-cd2b-0410-b1d7-8918dfa770ce
parent a14983f7
......@@ -188,6 +188,13 @@ foreach my $file (@ARGV) {
push @{$file{$str}}, [ $filename, $line];
}
$line = 1; pos($_) = 0;
while (/\G.*?\'gettext_id\'\s*=>\s*\'([^\']+)\'/sg) {
my $str = $1;
$line += ( () = ($& =~ /\n/g) ); # cryptocontext!
push @{$file{$str}}, [ $filename, $line];
}
# Sympa scenarios variables (title.gettext)
$line = 1; pos($_) = 0;
while (/\G.*?title.gettext\s*([^\n]+)/sg) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment