Code

Strings prepared for translation
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Jun 2005 06:31:29 +0000 (06:31 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 10 Jun 2005 06:31:29 +0000 (06:31 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@641 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions_helpviewer.inc

index 049e3a220b812d713a5360813ffc90478ace2903..d15abc8c4cc3ecb425999a319d28563cfcb1ba95 100644 (file)
@@ -303,7 +303,7 @@ function createResultEntry($entry,$res,$name,$max)
 {
   $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>";