mirror of
https://github.com/friendica/friendica
synced 2025-05-09 19:44:10 +02:00
Move L10n::t() calls to DI::l10n()->t() calls
This commit is contained in:
parent
af88c2daa3
commit
5dfee31108
175 changed files with 2841 additions and 2841 deletions
|
@ -3574,7 +3574,7 @@ class Diaspora
|
|||
if ($item["attach"]) {
|
||||
$cnt = preg_match_all('/href=\"(.*?)\"(.*?)title=\"(.*?)\"/ism', $item["attach"], $matches, PREG_SET_ORDER);
|
||||
if ($cnt) {
|
||||
$body .= "\n".L10n::t("Attachments:")."\n";
|
||||
$body .= "\n".DI::l10n()->t("Attachments:")."\n";
|
||||
foreach ($matches as $mtch) {
|
||||
$body .= "[".$mtch[3]."](".$mtch[1].")\n";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue