mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-23 03:38:08 -06:00
Fixed a typo. Closes #519
This commit is contained in:
parent
d01856f436
commit
ae5515b6e1
@ -66,7 +66,7 @@ def compose_notification(notification, db, relative_times, show_screen_names, sa
|
|||||||
if notification.type == "status":
|
if notification.type == "status":
|
||||||
text = _("{username} has posted: {status}").format(username=user, status=",".join(compose_post(notification.status, db, relative_times, show_screen_names, safe=safe)))
|
text = _("{username} has posted: {status}").format(username=user, status=",".join(compose_post(notification.status, db, relative_times, show_screen_names, safe=safe)))
|
||||||
elif notification.type == "mention":
|
elif notification.type == "mention":
|
||||||
text = _("{username} has mentionned you: {status}").format(username=user, status=",".join(compose_post(notification.status, db, relative_times, show_screen_names, safe=safe)))
|
text = _("{username} has mentioned you: {status}").format(username=user, status=",".join(compose_post(notification.status, db, relative_times, show_screen_names, safe=safe)))
|
||||||
elif notification.type == "reblog":
|
elif notification.type == "reblog":
|
||||||
text = _("{username} has boosted: {status}").format(username=user, status=",".join(compose_post(notification.status, db, relative_times, show_screen_names, safe=safe)))
|
text = _("{username} has boosted: {status}").format(username=user, status=",".join(compose_post(notification.status, db, relative_times, show_screen_names, safe=safe)))
|
||||||
elif notification.type == "favourite":
|
elif notification.type == "favourite":
|
||||||
|
@ -152,7 +152,7 @@ def render_notification(notification, template, post_template, relative_times=Fa
|
|||||||
if notification.type == "status":
|
if notification.type == "status":
|
||||||
text = _("has posted: {status}").format(status=render_post(notification.status, post_template, relative_times, offset_hours))
|
text = _("has posted: {status}").format(status=render_post(notification.status, post_template, relative_times, offset_hours))
|
||||||
elif notification.type == "mention":
|
elif notification.type == "mention":
|
||||||
text = _("has mentionned you: {status}").format(status=render_post(notification.status, post_template, relative_times, offset_hours))
|
text = _("has mentioned you: {status}").format(status=render_post(notification.status, post_template, relative_times, offset_hours))
|
||||||
elif notification.type == "reblog":
|
elif notification.type == "reblog":
|
||||||
text = _("has boosted: {status}").format(status=render_post(notification.status, post_template, relative_times, offset_hours))
|
text = _("has boosted: {status}").format(status=render_post(notification.status, post_template, relative_times, offset_hours))
|
||||||
elif notification.type == "favourite":
|
elif notification.type == "favourite":
|
||||||
|
Loading…
Reference in New Issue
Block a user