mirror of
https://github.com/zulip/zulip.git
synced 2025-10-29 11:03:54 +00:00
help and modals: Describe "edit your last message" consistently.
This commit is contained in:
@@ -164,8 +164,9 @@ in the Zulip app to add more to your repertoire as needed.
|
|||||||
|
|
||||||
## Message actions
|
## Message actions
|
||||||
|
|
||||||
* **Edit last message**: <kbd class="arrow-key">←</kbd> — Open the last
|
* **Edit your last message**: <kbd class="arrow-key">←</kbd> — Scroll to the
|
||||||
editable message in the current view (if any).
|
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)
|
### For a selected message (outlined in blue)
|
||||||
|
|
||||||
|
|||||||
@@ -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 {
|
function warn_user_about_unread_msgs(last_sent_msg_id: number, num_unread: number): void {
|
||||||
confirm_dialog.launch({
|
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({
|
html_body: render_confirm_edit_messages({
|
||||||
num_unread,
|
num_unread,
|
||||||
}),
|
}),
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<p>
|
<p>
|
||||||
{{#tr}}
|
{{#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}}
|
{{/tr}}
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user