mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 13:31:44 +08:00
A11Y: Improve topic details toggle button label (#13287)
This commit is contained in:
parent
2c6ceec9ea
commit
c4e801852f
|
@ -246,7 +246,9 @@ createWidget("topic-map-summary", {
|
|||
const nav = h(
|
||||
"nav.buttons",
|
||||
this.attach("button", {
|
||||
title: "topic.toggle_information",
|
||||
title: state.collapsed
|
||||
? "topic.expand_details"
|
||||
: "topic.collapse_details",
|
||||
icon: state.collapsed ? "chevron-down" : "chevron-up",
|
||||
action: "toggleMap",
|
||||
className: "btn",
|
||||
|
|
|
@ -2471,7 +2471,8 @@ en:
|
|||
back_to_list: "Back to Topic List"
|
||||
options: "Topic Options"
|
||||
show_links: "show links within this topic"
|
||||
toggle_information: "toggle topic details"
|
||||
collapse_details: "collapse topic details"
|
||||
expand_details: "expand topic details"
|
||||
read_more_in_category: "Want to read more? Browse other topics in %{catLink} or %{latestLink}."
|
||||
read_more: "Want to read more? %{catLink} or %{latestLink}."
|
||||
unread_indicator: "No member has read the last post of this topic yet."
|
||||
|
|
Loading…
Reference in New Issue
Block a user