' . Text::_('JNONE') . '
'; $orphans = $lang->getOrphans(); if (count($orphans)) { ksort($orphans, SORT_STRING); $guesses = array(); foreach ($orphans as $key => $occurence) { $guess = str_replace('_', ' ', $key); $parts = explode(' ', $guess); if (count($parts) > 1) { array_shift($parts); $guess = implode(' ', $parts); } $guess = trim($guess); $key = strtoupper(trim($key)); $key = preg_replace('#\s+#', '_', $key); $key = preg_replace('#\W#', '', $key); // Prepare the text. $guesses[] = $key . '="' . $guess . '"'; } $output .= implode("\n", $guesses); } else { $output .= '' . Text::_('JNONE') . ''; } $output .= '