help and modals: Describe "edit your last message" consistently.

This commit is contained in:
Alya Abbott
2024-11-25 12:00:31 -08:00
committed by Tim Abbott
parent 95bc5f8597
commit 4ff3359bad
3 changed files with 5 additions and 4 deletions

View File

@@ -164,8 +164,9 @@ in the Zulip app to add more to your repertoire as needed.
## Message actions
* **Edit last message**: <kbd class="arrow-key">←</kbd> — Open the last
editable message in the current view (if any).
* **Edit your last message**: <kbd class="arrow-key">←</kbd> — Scroll to the
most recent message you are allowed to edit in the current view, and open it
for editing. If there are no messages you can edit, nothing happens.
### For a selected message (outlined in blue)

View File

@@ -1255,7 +1255,7 @@ export function maybe_show_edit($row: JQuery, id: number): void {
function warn_user_about_unread_msgs(last_sent_msg_id: number, num_unread: number): void {
confirm_dialog.launch({
html_heading: $t({defaultMessage: "Edit last sent message"}),
html_heading: $t({defaultMessage: "Edit your last message?"}),
html_body: render_confirm_edit_messages({
num_unread,
}),

View File

@@ -1,5 +1,5 @@
<p>
{{#tr}}
Scrolling to the last message you sent will mark <b>{num_unread}</b> unread messages as read. Would you like to scroll to that message and edit it?
Scrolling to your last message will mark <b>{num_unread}</b> unread messages as read. Would you like to scroll to that message and edit it?
{{/tr}}
</p>