@@ 41-44 (lines=4) @@ | ||
38 | foreach ($poFile as $line) { |
|
39 | $first2symbols = substr($line, 0, 2); |
|
40 | ||
41 | if ($first2symbols == '#:') { |
|
42 | $links[] = trim(substr($line, 2, -1)); |
|
43 | continue; |
|
44 | } |
|
45 | ||
46 | if (substr($line, 0, 5) == 'msgid') { |
|
47 | if (preg_match('/"(.*?)"/', $line, $matches)) { |
@@ 674-677 (lines=4) @@ | ||
671 | continue; |
|
672 | } |
|
673 | ||
674 | if ($first2symbols == '#:') { |
|
675 | $links[] = trim(substr($line, 2, -1)); |
|
676 | continue; |
|
677 | } |
|
678 | ||
679 | if (substr($line, 0, 5) == 'msgid') { |
|
680 | if (preg_match('/"(.*?)"$/', trim($line), $matches)) { |