feed.php: make a string translatable

This commit is contained in:
Leho Kraav 2010-12-26 13:43:23 +02:00 committed by Andrew McMillan
parent 0ac934268f
commit c3828f491c

View File

@ -118,7 +118,7 @@ function caldav_get_feed( $request ) {
// According to karora, there are cases where we get multiple VEVENTs (overrides). I'll just stick this (1/x) notifier in here until I get to repeat event processing.
$summary = $event_data[0]->GetProperty('SUMMARY');
$p_title = (isset($summary) ? $summary->Value() : 'No summary') . ' (1/' . (string)count($event_data) . ')';
$p_title = (isset($summary) ? $summary->Value() : translate('No summary')) . ' (1/' . (string)count($event_data) . ')';
$is_todo ? $p_title = "TODO: " . $p_title : $p_title;
$item->setTitle($p_title);