Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
help and modals: Describe "edit your last message" consistently.
Alya Abbott4ff3359badf8
diff --git a/help/keyboard-shortcuts.md b/help/keyboard-shortcuts.mdindex c6c025e7db3..beb17a682d4 100644--- a/help/keyboard-shortcuts.md+++ b/help/keyboard-shortcuts.md@@ -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)diff --git a/web/src/message_edit.ts b/web/src/message_edit.tsindex 9da77778a15..b6ece783503 100644--- a/web/src/message_edit.ts+++ b/web/src/message_edit.ts@@ -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,}),diff --git a/web/templates/confirm_dialog/confirm_edit_messages.hbs b/web/templates/confirm_dialog/confirm_edit_messages.hbsindex 7cc6a839841..429f46105ae 100644--- a/web/templates/confirm_dialog/confirm_edit_messages.hbs+++ b/web/templates/confirm_dialog/confirm_edit_messages.hbs@@ -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>