mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-08-29 18:26:05 +00:00
feed.php: make a string translatable
This commit is contained in:
parent
0ac934268f
commit
c3828f491c
@ -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);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user