X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FContent%2FWidget%2FCalendarExport.php;h=dda3513fec0a917c3c84053a983043f4b82a87d2;hb=18745b1723b3f8580704914e8f9df8441c859e70;hp=a6fea1e8a18f10eecfe6dec11c9cf1511763a313;hpb=c8a322baf0b95ea15bfa8031d77a555b2a13f0bf;p=friendica.git diff --git a/src/Content/Widget/CalendarExport.php b/src/Content/Widget/CalendarExport.php index a6fea1e8a1..dda3513fec 100644 --- a/src/Content/Widget/CalendarExport.php +++ b/src/Content/Widget/CalendarExport.php @@ -1,13 +1,27 @@ . + * */ namespace Friendica\Content\Widget; use Friendica\Content\Feature; -use Friendica\Core\L10n; use Friendica\Core\Renderer; use Friendica\DI; @@ -19,7 +33,7 @@ use Friendica\DI; class CalendarExport { /** - * @brief Get the events widget. + * Get the events widget. * * @return string Formated HTML of the calendar widget. * @throws \Friendica\Network\HTTPException\InternalServerErrorException @@ -62,9 +76,9 @@ class CalendarExport $tpl = Renderer::getMarkupTemplate("widget/events.tpl"); $return = Renderer::replaceMacros($tpl, [ - '$etitle' => L10n::t("Export"), - '$export_ical' => L10n::t("Export calendar as ical"), - '$export_csv' => L10n::t("Export calendar as csv"), + '$etitle' => DI::l10n()->t("Export"), + '$export_ical' => DI::l10n()->t("Export calendar as ical"), + '$export_csv' => DI::l10n()->t("Export calendar as csv"), '$user' => $user ]);