mirror of https://github.com/zulip/zulip.git
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:
parent
27c85af6d9
commit
610f46d74e
|
@ -153,7 +153,7 @@ in the Zulip app to add more to your repertoire as needed.
|
||||||
|
|
||||||
### For a selected message (outlined in blue)
|
### 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>
|
* **Show message sender's user card**: <kbd>U</kbd>
|
||||||
|
|
||||||
|
|
|
@ -11,7 +11,7 @@ formatted, or to copy the Markdown source for a reply.
|
||||||
|
|
||||||
{!message-actions-menu.md!}
|
{!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.
|
menu option for editable messages that you have sent.
|
||||||
|
|
||||||
!!! keyboard_tip ""
|
!!! keyboard_tip ""
|
||||||
|
@ -29,7 +29,7 @@ formatted, or to copy the Markdown source for a reply.
|
||||||
|
|
||||||
{!message-actions-menu.md!}
|
{!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.
|
menu option for editable messages that you have sent.
|
||||||
|
|
||||||
1. Click the **Copy and close**
|
1. Click the **Copy and close**
|
||||||
|
|
|
@ -44,7 +44,7 @@ export function get_actions_popover_content_context(message_id) {
|
||||||
if (is_content_editable) {
|
if (is_content_editable) {
|
||||||
editability_menu_item = $t({defaultMessage: "Edit message"});
|
editability_menu_item = $t({defaultMessage: "Edit message"});
|
||||||
} else {
|
} else {
|
||||||
view_source_menu_item = $t({defaultMessage: "View message source"});
|
view_source_menu_item = $t({defaultMessage: "View original message"});
|
||||||
}
|
}
|
||||||
|
|
||||||
if (can_move_message) {
|
if (can_move_message) {
|
||||||
|
|
|
@ -222,7 +222,7 @@ test("not_my_message_view_actions", () => {
|
||||||
|
|
||||||
const response = popover_menus_data.get_actions_popover_content_context(1);
|
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.editability_menu_item, undefined);
|
||||||
assert.equal(response.move_message_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);
|
add_message_with_view(list, messages);
|
||||||
|
|
||||||
const response = popover_menus_data.get_actions_popover_content_context(1);
|
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.editability_menu_item, undefined);
|
||||||
assert.equal(response.move_message_menu_item, "translated: Move messages");
|
assert.equal(response.move_message_menu_item, "translated: Move messages");
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue