mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-18 11:46:27 +00:00
Add thread indicator to status accessibility label
This commit is contained in:
parent
92c6037ab6
commit
c809f86a3f
2 changed files with 6 additions and 0 deletions
|
@ -294,6 +294,7 @@
|
|||
"share-extension-error.no-account-found" = "No account found";
|
||||
"status.accessibility.view-author-profile" = "View author's profile";
|
||||
"status.accessibility.view-reblogger-profile" = "View booster's profile";
|
||||
"status.accessibility.part-of-a-thread" = "Part of a thread";
|
||||
"status.bookmark" = "Bookmark";
|
||||
"status.content-warning-abbreviation" = "CW";
|
||||
"status.content-warning.accessibility" = "Content warning";
|
||||
|
|
|
@ -827,6 +827,11 @@ private extension StatusView {
|
|||
}
|
||||
}
|
||||
|
||||
if statusConfiguration.viewModel.configuration.isReplyOutOfContext {
|
||||
accessibilityAttributedLabel.appendWithSeparator(
|
||||
NSLocalizedString("status.accessibility.part-of-a-thread", comment: ""))
|
||||
}
|
||||
|
||||
return accessibilityAttributedLabel
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue