right_sidebar: Use all caps for headings.

Part of fixing #32268.
This commit is contained in:
evykassirer
2024-11-12 20:49:36 -08:00
committed by Tim Abbott
parent c9096c6308
commit 5e211d4ac4

View File

@@ -460,19 +460,19 @@ export class BuddyList extends BuddyListConf {
let header_text; let header_text;
if (current_sub) { if (current_sub) {
if (all_participant_ids.size) { if (all_participant_ids.size) {
header_text = $t({defaultMessage: "Others in this channel"}); header_text = $t({defaultMessage: "OTHERS IN THIS CHANNEL"});
} else { } else {
header_text = $t({defaultMessage: "In this channel"}); header_text = $t({defaultMessage: "IN THIS CHANNEL"});
} }
} else { } else {
header_text = $t({defaultMessage: "In this conversation"}); header_text = $t({defaultMessage: "IN THIS CONVERSATION"});
} }
$("#buddy-list-participants-container .buddy-list-subsection-header").append( $("#buddy-list-participants-container .buddy-list-subsection-header").append(
$( $(
render_section_header({ render_section_header({
id: "buddy-list-participants-section-heading", id: "buddy-list-participants-section-heading",
header_text: $t({defaultMessage: "In this conversation"}), header_text: $t({defaultMessage: "IN THIS CONVERSATION"}),
user_count: get_formatted_sub_count(all_participant_ids.size), user_count: get_formatted_sub_count(all_participant_ids.size),
is_collapsed: this.participants_is_collapsed, is_collapsed: this.participants_is_collapsed,
}), }),
@@ -496,7 +496,7 @@ export class BuddyList extends BuddyListConf {
$( $(
render_section_header({ render_section_header({
id: "buddy-list-other-users-section-heading", id: "buddy-list-other-users-section-heading",
header_text: $t({defaultMessage: "Others"}), header_text: $t({defaultMessage: "OTHERS"}),
user_count: get_formatted_sub_count(other_users_count), user_count: get_formatted_sub_count(other_users_count),
is_collapsed: this.other_users_is_collapsed, is_collapsed: this.other_users_is_collapsed,
}), }),