X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FModule%2FDebug%2FActivityPubConversion.php;h=34628ecf283272a86bc8495de99e44a2f47c42ab;hb=1d6f5c33a1a7c538d4e529d22701fd735855da15;hp=ec7fee3f462ffb2e8a9a9080075efff8b291b889;hpb=9e3dbfab3ec950c32b7a7eae20e2f67ae6008a73;p=friendica.git diff --git a/src/Module/Debug/ActivityPubConversion.php b/src/Module/Debug/ActivityPubConversion.php index ec7fee3f46..34628ecf28 100644 --- a/src/Module/Debug/ActivityPubConversion.php +++ b/src/Module/Debug/ActivityPubConversion.php @@ -1,6 +1,6 @@ getLocalUserId(); $push = false; if (!$source) { @@ -123,7 +118,7 @@ class ActivityPubConversion extends BaseModule 'content' => visible_whitespace(var_export($object_data, true)) ]; - $item = ActivityPub\Processor::createItem($object_data); + $item = ActivityPub\Processor::createItem($object_data, true); $results[] = [ 'title' => DI::l10n()->t('Result Item'), @@ -131,7 +126,7 @@ class ActivityPubConversion extends BaseModule ]; } catch (\Throwable $e) { $results[] = [ - 'title' => DI::l10n()->t('Error'), + 'title' => DI::l10n()->tt('Error', 'Errors', 1), 'content' => $e->getMessage(), ]; }