mirror of https://github.com/zulip/zulip.git
message_body: Rename "Condense" to "Show less".
See discussion on CZO: https://chat.zulip.org/#narrow/stream/137-feedback/topic/.22Condense.22.20vs.20.22Collapse.22
This commit is contained in:
parent
57340a888c
commit
187737ce5a
|
@ -43,7 +43,7 @@ function uncondense_row(row) {
|
|||
|
||||
export function uncollapse(row) {
|
||||
// Uncollapse a message, restoring the condensed message [More] or
|
||||
// [Condense] link if necessary.
|
||||
// [Show less] link if necessary.
|
||||
const message = message_lists.current.get(rows.id(row));
|
||||
message.collapsed = false;
|
||||
message_flags.save_uncollapsed(message);
|
||||
|
@ -58,7 +58,7 @@ export function uncollapse(row) {
|
|||
condense_row(row);
|
||||
} else if (message.condensed === false) {
|
||||
// This message was un-condensed by the user, so re-show the
|
||||
// [Condense] link.
|
||||
// [Show less] link.
|
||||
uncondense_row(row);
|
||||
} else if (content.hasClass("could-be-condensed")) {
|
||||
// By default, condense a long message.
|
||||
|
@ -78,7 +78,7 @@ export function uncollapse(row) {
|
|||
|
||||
export function collapse(row) {
|
||||
// Collapse a message, hiding the condensed message [More] or
|
||||
// [Condense] link if necessary.
|
||||
// [Show less] link if necessary.
|
||||
const message = message_lists.current.get(rows.id(row));
|
||||
message.collapsed = true;
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@
|
|||
<div class="message_edit_form"></div>
|
||||
</div>
|
||||
<div class="message_expander message_length_controller" title="{{t 'Expand message (-)' }}">{{t "[More…]" }}</div>
|
||||
<div class="message_condenser message_length_controller" title="{{t 'Condense message (-)' }}">{{t "[Condense message]" }}</div>
|
||||
<div class="message_condenser message_length_controller" title="{{t 'Show less' }} (-)">[{{t "Show less" }}]</div>
|
||||
|
||||
{{#unless is_hidden}}
|
||||
<div class="message_reactions">{{> message_reactions }}</div>
|
||||
|
|
Loading…
Reference in New Issue