Skip to content

Commit

Permalink
Update .po file, and make prettify function do nget() properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
dracos authored and Matthew Somerville committed Oct 8, 2012
1 parent 7a3b06d commit 2b0fc37
Show file tree
Hide file tree
Showing 5 changed files with 241 additions and 195 deletions.
17 changes: 9 additions & 8 deletions bin/gettext-nget-patch
Expand Up @@ -18,16 +18,17 @@ find( sub {
do {
$text .= <FP>;
} until $text =~ /\)/;
$text =~ /nget\(\s*"(.*?)"\s*,\s*"(.*?)"\s*,\s*(.*?)\s*\)/s;
$out{$1} = {
file => $File::Find::name,
line => $line,
s => $1,
p => $2,
};
if ($text =~ /nget\(\s*"(.*?)"\s*,\s*"(.*?)"\s*,\s*(.*?)\s*\)/s) {
$out{$1} = {
file => $File::Find::name,
line => $line,
s => $1,
p => $2,
};
}
}
close FP;
}, 'templates');
}, 'templates', 'perllib');

foreach (values %out) {
print <<EOF;
Expand Down

0 comments on commit 2b0fc37

Please sign in to comment.