Okay, let's see... In Subs.php I have:
// Same day of the year, same year.... Today!
if ($then['yday'] == $now['yday'] && $then['year'] == $now['year'])
return sprintf($txt['today'], standardTime($log_time, $today_fmt, $offset_type));
// Day-of-year is one less and same year, or it's the first of the year and that's the last of the year...
if ($modSettings['todayMod'] == '2' && (($then['yday'] == $now['yday'] - 1 && $then['year'] == $now['year']) || ($now['yday'] == 0 && $then['year'] == $now['year'] - 1) && $then['mon'] == 12 && $then['mday'] == 31))
return sprintf($txt['yesterday'], standardTime($log_time, $today_fmt, $offset_type));
}
...and in index.german.php I have:
$txt['last_post'] = 'Letzter Beitrag';
$txt['first_post'] = 'Erster Beitrag';
$txt['last_poster'] = 'Antwort von';
$txt['last_post_message'] = 'Letzter Beitrag von %1$s<br />in %2$s<br />am %3$s';
// @todo - Clean this up a bit. See notes in template.
// Just moved a space, so the output looks better when things break to an extra line.
$txt['last_post_message'] = 'Letzter Beitrag von %1$s<br />in %2$s<br />am %3$s';
$txt['boardindex_total_posts'] = '%1$s Beiträge in %2$s Themen von %3$s Benutzern';
...and:
$txt['today'] = 'Heute um %1$s';
$txt['yesterday'] = 'Gestern um %1$s';
But: I still have the problem with the leading "am" before the date and time in the german translation.
See the screenshot please. In the list of the recent posts in info center there is no "am" before date and time and that's exactly what is needed in the index. Can't we copy this code part from the info center?