diff options
Diffstat (limited to 'langs/report_tx_git.php')
-rw-r--r-- | langs/report_tx_git.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/langs/report_tx_git.php b/langs/report_tx_git.php index 5de51deff..d6f108b15 100644 --- a/langs/report_tx_git.php +++ b/langs/report_tx_git.php @@ -77,7 +77,11 @@ if ($details_wanted) { if (!empty($tx_file)) { $tx_file_content = $tx_file['content']; $tx_file_content = explode("\n", $tx_file_content); - $parsed_tx_file_content = phpmo_parse_po_file($tx_file_content, FALSE); + if ('mageiasync' == $wanted_resource_name) { // treat TS files differently + $parsed_tx_file_content = _parse_ts_file($tx_file_content, FALSE); + } else { + $parsed_tx_file_content = phpmo_parse_po_file($tx_file_content, FALSE); + } } } |