UX: Remove count from more section links (#17747)

Less is more...
This commit is contained in:
Alan Guo Xiang Tan 2022-08-02 11:20:55 +08:00 committed by GitHub
parent 8df2756bba
commit f204538f7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@
<details class="sidebar-more-section-links-details" {{on "toggle" this.toggleSectionLinks}}>
<summary class="sidebar-more-section-links-details-summary" >
{{i18n "sidebar.more_count" (hash count=this.sectionLinks.length)}}
{{i18n "sidebar.more"}}
</summary>
{{#if this.shouldDisplaySectionLinks}}

View File

@ -234,7 +234,7 @@ acceptance("Sidebar - Community Section", function (needs) {
query(
".sidebar-section-community .sidebar-more-section-links-details-summary"
).textContent.trim(),
I18n.t("sidebar.more_count", { count: 1 }),
I18n.t("sidebar.more"),
"displays the right count as users link is currently active"
);
@ -281,7 +281,7 @@ acceptance("Sidebar - Community Section", function (needs) {
query(
".sidebar-section-community .sidebar-more-section-links-details-summary"
).textContent.trim(),
I18n.t("sidebar.more_count", { count: 1 }),
I18n.t("sidebar.more"),
"displays the right count as groups link is currently active"
);

View File

@ -4077,7 +4077,7 @@ en:
one: "%{count} new"
other: "%{count} new"
toggle_section: "toggle section"
more_count: "%{count} more..."
more: "More..."
sections:
messages:
header_link_title: "personal messages"