Hab rausgefunden wie es geht, das ding auf deutsch umzumodeln:
(bei vers. 1.4)
suche
$r=$r.abs($years).' '.__("year").($years==1?NULL:"s").', '; //Absolute values (ABS function) are used to be
compatible with counting up from events
if ($days) //If there are any days, display them
$r=$r.abs($days).' '.__("day").($days==1?NULL:"s").', ';
if ($hours) //If there are any hours, display them
$r=$r.abs($hours).' '.__("hour").($hours==1?NULL:"s").', ';
if($min) //If we want minutes, display them
$r=$r.abs($minutes).' '.__("minute").($minutes==1?NULL:"s");
return $r; //...and return the result (a string)
ersetze dies durch
$r=$r.abs($years).' '.__("Jahr").($years==1?NULL:"e").', '; //Absolute values (ABS function) are used to be
compatible with counting up from events
if ($days) //If there are any days, display them
$r=$r.abs($days).' '.__("Tag").($days==1?NULL:"e").', ';
if ($hours) //If there are any hours, display them
$r=$r.abs($hours).' '.__("Stunde").($hours==1?NULL:"n").', ';
if($min) //If we want minutes, display them
$r=$r.abs($minutes).' '.__("Minute").($minutes==1?NULL:"n");
return $r; //...and return the result (a string)
und fertig