mirror of
https://github.com/discourse/discourse.git
synced 2025-04-30 14:24:40 +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(
|
const nav = h(
|
||||||
"nav.buttons",
|
"nav.buttons",
|
||||||
this.attach("button", {
|
this.attach("button", {
|
||||||
title: "topic.toggle_information",
|
title: state.collapsed
|
||||||
|
? "topic.expand_details"
|
||||||
|
: "topic.collapse_details",
|
||||||
icon: state.collapsed ? "chevron-down" : "chevron-up",
|
icon: state.collapsed ? "chevron-down" : "chevron-up",
|
||||||
action: "toggleMap",
|
action: "toggleMap",
|
||||||
className: "btn",
|
className: "btn",
|
||||||
|
@ -2471,7 +2471,8 @@ en:
|
|||||||
back_to_list: "Back to Topic List"
|
back_to_list: "Back to Topic List"
|
||||||
options: "Topic Options"
|
options: "Topic Options"
|
||||||
show_links: "show links within this topic"
|
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_in_category: "Want to read more? Browse other topics in %{catLink} or %{latestLink}."
|
||||||
read_more: "Want to read more? %{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."
|
unread_indicator: "No member has read the last post of this topic yet."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user