message_edit: Add period to error message raised due to time limit.

This commit is contained in:
Sahil Batra
2023-05-29 23:51:44 +05:30
committed by Tim Abbott
parent 200d43d4cd
commit a143d6b62c
2 changed files with 4 additions and 4 deletions

View File

@@ -1211,7 +1211,7 @@ def check_update_message(
user_profile.realm.move_messages_within_stream_limit_seconds + edit_limit_buffer
)
if (timezone_now() - message.date_sent) > datetime.timedelta(seconds=deadline_seconds):
raise JsonableError(_("The time limit for editing this message's topic has passed"))
raise JsonableError(_("The time limit for editing this message's topic has passed."))
rendering_result = None
links_for_embed: Set[str] = set()