|
...
|
...
|
@@ -181,11 +181,12 @@ class TranslateLogic extends BaseLogic |
|
|
|
if(FALSE !== strpos($country_class, 'country-flag')) {
|
|
|
|
continue;
|
|
|
|
}
|
|
|
|
$need_tran[] = htmlspecialchars_decode(html_entity_decode($string));
|
|
|
|
if(!in_array(htmlspecialchars_decode(html_entity_decode($string)),$need_tran)){
|
|
|
|
$need_tran[] = htmlspecialchars_decode(html_entity_decode($string));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$need_tran[] = $description ? $description->attr['content'] : '';
|
|
|
|
$need_tran[] = $keywords ? $keywords->attr['content'] : '';
|
|
|
|
$need_tran = array_values(array_unique($need_tran));
|
|
|
|
return $need_tran;
|
|
|
|
}
|
|
|
|
|
...
|
...
|
|