A11Y: aria-label for the post edit history button (#20123)
This commit is contained in:
parent
bb2341b82c
commit
5a7b942aff
|
@ -56,6 +56,7 @@ export default createWidget("post-edits-indicator", {
|
||||||
translatedTitle: title,
|
translatedTitle: title,
|
||||||
className,
|
className,
|
||||||
action: "onPostEditsIndicatorClick",
|
action: "onPostEditsIndicatorClick",
|
||||||
|
translatedAriaLabel: I18n.t("post.edit_history"),
|
||||||
translatedLabel: attrs.version > 1 ? attrs.version - 1 : "",
|
translatedLabel: attrs.version > 1 ? attrs.version - 1 : "",
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
|
@ -3362,6 +3362,7 @@ en:
|
||||||
ignored: "Ignored content"
|
ignored: "Ignored content"
|
||||||
wiki_last_edited_on: "wiki last edited on %{dateTime}"
|
wiki_last_edited_on: "wiki last edited on %{dateTime}"
|
||||||
last_edited_on: "post last edited on %{dateTime}"
|
last_edited_on: "post last edited on %{dateTime}"
|
||||||
|
edit_history: "post edit history"
|
||||||
reply_as_new_topic: "Reply as linked Topic"
|
reply_as_new_topic: "Reply as linked Topic"
|
||||||
reply_as_new_private_message: "Reply as new message to the same recipients"
|
reply_as_new_private_message: "Reply as new message to the same recipients"
|
||||||
continue_discussion: "Continuing the discussion from %{postLink}:"
|
continue_discussion: "Continuing the discussion from %{postLink}:"
|
||||||
|
|
Loading…
Reference in New Issue