diff --git a/app/Transformer/Api/StatusTransformer.php b/app/Transformer/Api/StatusTransformer.php index 7d73c5f6..5a8fb0ba 100644 --- a/app/Transformer/Api/StatusTransformer.php +++ b/app/Transformer/Api/StatusTransformer.php @@ -23,6 +23,7 @@ class StatusTransformer extends Fractal\TransformerAbstract 'in_reply_to_account_id' => $status->in_reply_to_profile_id, 'reblog' => null, 'content' => $status->rendered ?? $status->caption, + 'content_text' => $status->caption, 'created_at' => $status->created_at->format('c'), 'emojis' => [], 'reblogs_count' => $status->reblogs_count ?? 0, @@ -62,7 +63,7 @@ class StatusTransformer extends Fractal\TransformerAbstract public function includeMediaAttachments(Status $status) { return Cache::remember('status:transformer:media:attachments:'.$status->id, now()->addDays(14), function() use($status) { - if(in_array($status->type, ['photo', 'video', 'photo:album', 'loop', 'photo:video:album'])) { + if(in_array($status->type, ['photo', 'video', 'video:album', 'photo:album', 'loop', 'photo:video:album'])) { $media = $status->media()->orderBy('order')->get(); return $this->collection($media, new MediaTransformer()); } diff --git a/resources/lang/en/site.php b/resources/lang/en/site.php index 2aa54ef8..bb8a408b 100644 --- a/resources/lang/en/site.php +++ b/resources/lang/en/site.php @@ -15,5 +15,6 @@ return [ 'contact' => 'Contact', 'contact-us' => 'Contact Us', 'places' => 'Places', + 'profiles' => 'Profiles', ]; diff --git a/resources/views/settings/accessibility.blade.php b/resources/views/settings/accessibility.blade.php index 53466edd..92c8b671 100644 --- a/resources/views/settings/accessibility.blade.php +++ b/resources/views/settings/accessibility.blade.php @@ -53,7 +53,7 @@