UX: more descriptive sidebar titles, casing (#19717)

This commit is contained in:
Kris 2023-01-04 13:40:35 -05:00 committed by GitHub
parent a9f2b62ac0
commit dedf19803b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 21 additions and 13 deletions

View File

@ -2,7 +2,10 @@
@sectionName="messages" @sectionName="messages"
@headerActionIcon="plus" @headerActionIcon="plus"
@headerActions={{array @headerActions={{array
(hash action=(fn (route-action "composePrivateMessage") null null)) (hash
action=(fn (route-action "composePrivateMessage") null null)
title=(i18n "sidebar.sections.messages.header_action_title")
)
}} }}
@headerActionsIcon="plus" @headerActionsIcon="plus"
@headerLinkText={{i18n "sidebar.sections.messages.header_link_text"}} @headerLinkText={{i18n "sidebar.sections.messages.header_link_text"}}

View File

@ -12,12 +12,13 @@ export default class AboutSectionLink extends BaseSectionLink {
} }
get title() { get title() {
return I18n.t("sidebar.sections.community.links.about.content"); return I18n.t("sidebar.sections.community.links.about.title");
} }
get text() { get text() {
return I18n.t("sidebar.sections.community.links.about.content"); return I18n.t("sidebar.sections.community.links.about.content");
} }
get prefixValue() { get prefixValue() {
return "info-circle"; return "info-circle";
} }

View File

@ -12,7 +12,7 @@ export default class BadgesSectionLink extends BaseSectionLink {
} }
get title() { get title() {
return I18n.t("sidebar.sections.community.links.badges.content"); return I18n.t("sidebar.sections.community.links.badges.title");
} }
get text() { get text() {

View File

@ -16,7 +16,7 @@ export default class FAQSectionLink extends BaseSectionLink {
} }
get title() { get title() {
return I18n.t("sidebar.sections.community.links.faq.content"); return I18n.t("sidebar.sections.community.links.faq.title");
} }
get text() { get text() {

View File

@ -4353,7 +4353,7 @@ en:
new_count: new_count:
one: "%{count} new" one: "%{count} new"
other: "%{count} new" other: "%{count} new"
toggle_section: "toggle section" toggle_section: "Toggle section"
more: "More" more: "More"
all_categories: "All categories" all_categories: "All categories"
all_tags: "All tags" all_tags: "All tags"
@ -4362,7 +4362,7 @@ en:
header_link_text: "About" header_link_text: "About"
messages: messages:
header_link_text: "Messages" header_link_text: "Messages"
header_action_title: "create a personal message" header_action_title: "Create a personal message"
links: links:
inbox: "Inbox" inbox: "Inbox"
sent: "Sent" sent: "Sent"
@ -4379,7 +4379,7 @@ en:
none: "You have not added any tags." none: "You have not added any tags."
click_to_get_started: "Click here to get started." click_to_get_started: "Click here to get started."
header_link_text: "Tags" header_link_text: "Tags"
header_action_title: "edit your sidebar tags" header_action_title: "Edit your sidebar tags"
configure_defaults: "Configure defaults" configure_defaults: "Configure defaults"
categories: categories:
links: links:
@ -4389,29 +4389,33 @@ en:
none: "You have not added any categories." none: "You have not added any categories."
click_to_get_started: "Click here to get started." click_to_get_started: "Click here to get started."
header_link_text: "Categories" header_link_text: "Categories"
header_action_title: "edit your sidebar categories" header_action_title: "Edit your sidebar categories"
configure_defaults: "Configure defaults" configure_defaults: "Configure defaults"
community: community:
header_link_text: "Community" header_link_text: "Community"
header_action_title: "create a new topic" header_action_title: "Create a topic"
links: links:
about: about:
content: "About" content: "About"
title: "More details about this site"
admin: admin:
content: "Admin" content: "Admin"
title: "Site settings and reports"
badges: badges:
content: "Badges" content: "Badges"
title: "All the badges available to earn"
everything: everything:
content: "Everything" content: "Everything"
title: "All topics" title: "All topics"
faq: faq:
content: "FAQ" content: "FAQ"
title: "Guidelines for using this site"
groups: groups:
content: "Groups" content: "Groups"
title: "All groups" title: "List of available user groups"
users: users:
content: "Users" content: "Users"
title: "All users" title: "List of all users"
my_posts: my_posts:
content: "My Posts" content: "My Posts"
title: "My recent topic activity" title: "My recent topic activity"
@ -4421,7 +4425,7 @@ en:
other: "%{count} drafts" other: "%{count} drafts"
review: review:
content: "Review" content: "Review"
title: "review" title: "Flagged posts and other queued items"
pending_count: "%{count} pending" pending_count: "%{count} pending"
welcome_topic_banner: welcome_topic_banner:

View File

@ -345,7 +345,7 @@ en:
direct_messages: direct_messages:
title: "Personal chat" title: "Personal chat"
new: "New personal chat" new: "Create a personal chat"
create: "Go" create: "Go"
leave: "Leave this personal chat" leave: "Leave this personal chat"
cannot_create: "Sorry, you cannot send direct messages." cannot_create: "Sorry, you cannot send direct messages."