index 049e3a220b812d713a5360813ffc90478ace2903..d15abc8c4cc3ecb425999a319d28563cfcb1ba95 100644 (file)
{
$percentage = (int)(($res['hits']['overall'] / $max) * 100) ;
{
$percentage = (int)(($res['hits']['overall'] / $max) * 100) ;
- $str = "<b><a href=\"?pg=".$name."&mark=1\">".$percentage."% "._("hit rate in following file ").$name."</a></b><br>" ;
+ $str = "<b><a href=\"?pg=".$name."&mark=1\">".sprintf(_("%s%% hit rate in file %s"),$percentage,$name)."</a></b><br>" ;
$str.= substr(strip_tags($entry['content']),0,200);
$str.= "<hr>";
$str.= substr(strip_tags($entry['content']),0,200);
$str.= "<hr>";