mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-08-26 09:59:23 +00:00
Mastodon: Allow adding descriptions to all supported media. Closes #516
This commit is contained in:
@@ -42,7 +42,7 @@ def process_image_descriptions(media_attachments):
|
||||
image_descriptions.append(media.get("description"))
|
||||
idescriptions = ""
|
||||
for image in image_descriptions:
|
||||
idescriptions = idescriptions + _("Image description: {}").format(image) + "\n"
|
||||
idescriptions = idescriptions + _("Media description: {}").format(image) + "\n"
|
||||
return idescriptions
|
||||
|
||||
def render_post(post, template, relative_times=False, offset_hours=0):
|
||||
|
Reference in New Issue
Block a user