| ' . esc_html__('No translations found. Click "Add New Language" above to start.', 'af-translate') . ' |
';
} else {
foreach ($unified_matrix as $locale_code => $data) {
$file = $data['file_path'];
$filename = $data['filename'];
$is_sandbox_file = $data['is_sandbox'];
$lang_name = isset($all_locales[$locale_code]) ? $all_locales[$locale_code] : $locale_code;
$metrics = AF_Translate_Analyzer::analyze_po_file($file);
$mod_time = date_i18n(get_option('date_format') . ' ' . get_option('time_format'), filemtime($file));
$total_strings = isset($metrics['total']) ? (int) $metrics['total'] : 0;
$trans_strings = isset($metrics['translated']) ? (int) $metrics['translated'] : 0;
$pct_val = isset($metrics['percentage']) ? (int) $metrics['percentage'] : 0;
$pending = $total_strings - $trans_strings;
$edit_target_url = add_query_arg(array('action' => 'edit', 'lang' => $locale_code), $base_action_url);
?>