diff options
Diffstat (limited to 'langs')
-rw-r--r-- | langs/report_tx_git.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/langs/report_tx_git.php b/langs/report_tx_git.php index 12ebe7f24..2baf6bda0 100644 --- a/langs/report_tx_git.php +++ b/langs/report_tx_git.php @@ -515,9 +515,9 @@ if ('Webpages' == $resource_type) { // list all po files from links within $raw_html_dump if (false !== strpos($pot_name, '_en.ts')) { // treat TS files differently $first_part_pot_name = substr($pot_name, 0, -5); // cuts 'en.ts' from mageiaSync_en.ts - preg_match_all("/('>$first_part_pot_name)([a-z_A-Z@-]+)(\.ts<)/", $raw_html_dump, $language_codes); + preg_match_all("/('>$first_part_pot_name)([a-z_A-Z0-9@-]+)(\.ts<)/", $raw_html_dump, $language_codes); } else { - preg_match_all("/('>)([a-z_A-Z@-]+)(\.po<)/", $raw_html_dump, $language_codes); + preg_match_all("/('>)([a-z_A-Z0-9@-]+)(\.po<)/", $raw_html_dump, $language_codes); } $git_language_codes = $language_codes[2]; if (empty($wanted_language)) { |