- '$title' => t('Events'),
- '$view' => t('View'),
- '$previous' => array(System::baseUrl() . "/events/$prevyear/$prevmonth", t('Previous'), '', ''),
- '$next' => array(System::baseUrl() . "/events/$nextyear/$nextmonth", t('Next'), '', ''),
- '$calendar' => cal($y, $m, $links, ' eventcal'),
+ '$title' => L10n::t('Events'),
+ '$view' => L10n::t('View'),
+ '$previous' => [System::baseUrl() . "/events/$prevyear/$prevmonth", L10n::t('Previous'), '', ''],
+ '$next' => [System::baseUrl() . "/events/$nextyear/$nextmonth", L10n::t('Next'), '', ''],
+ '$calendar' => Temporal::getCalendarTable($y, $m, $links, ' eventcal'),