actions_popover: Rename "View message source".

This commit renames "View message source" to "View original message".

The meaning of "original" in this context is very similar to what
source/source code means in software jargon, while being easier to
understand and translate for a non-tech savvy user.
This commit is contained in:
Sayam Samal 2024-04-02 12:28:53 +05:30 committed by Tim Abbott
parent 27c85af6d9
commit 610f46d74e
4 changed files with 6 additions and 6 deletions

View File

@ -153,7 +153,7 @@ in the Zulip app to add more to your repertoire as needed.
### For a selected message (outlined in blue)
* **Edit message or view message source**: <kbd>E</kbd>
* **Edit message or view original message**: <kbd>E</kbd>
* **Show message sender's user card**: <kbd>U</kbd>

View File

@ -11,7 +11,7 @@ formatted, or to copy the Markdown source for a reply.
{!message-actions-menu.md!}
1. Click **View message source**. You will not see the **View message source**
1. Click **View original message**. You will not see the **View original message**
menu option for editable messages that you have sent.
!!! keyboard_tip ""
@ -29,7 +29,7 @@ formatted, or to copy the Markdown source for a reply.
{!message-actions-menu.md!}
1. Click **View message source**. You will not see the **View message source**
1. Click **View original message**. You will not see the **View original message**
menu option for editable messages that you have sent.
1. Click the **Copy and close**

View File

@ -44,7 +44,7 @@ export function get_actions_popover_content_context(message_id) {
if (is_content_editable) {
editability_menu_item = $t({defaultMessage: "Edit message"});
} else {
view_source_menu_item = $t({defaultMessage: "View message source"});
view_source_menu_item = $t({defaultMessage: "View original message"});
}
if (can_move_message) {

View File

@ -222,7 +222,7 @@ test("not_my_message_view_actions", () => {
const response = popover_menus_data.get_actions_popover_content_context(1);
assert.equal(response.view_source_menu_item, "translated: View message source");
assert.equal(response.view_source_menu_item, "translated: View original message");
assert.equal(response.editability_menu_item, undefined);
assert.equal(response.move_message_menu_item, undefined);
});
@ -263,7 +263,7 @@ test("not_my_message_view_source_and_move", () => {
add_message_with_view(list, messages);
const response = popover_menus_data.get_actions_popover_content_context(1);
assert.equal(response.view_source_menu_item, "translated: View message source");
assert.equal(response.view_source_menu_item, "translated: View original message");
assert.equal(response.editability_menu_item, undefined);
assert.equal(response.move_message_menu_item, "translated: Move messages");
});