Add thread indicator to status accessibility label
This commit is contained in:
parent
92c6037ab6
commit
c809f86a3f
|
@ -294,6 +294,7 @@
|
||||||
"share-extension-error.no-account-found" = "No account found";
|
"share-extension-error.no-account-found" = "No account found";
|
||||||
"status.accessibility.view-author-profile" = "View author's profile";
|
"status.accessibility.view-author-profile" = "View author's profile";
|
||||||
"status.accessibility.view-reblogger-profile" = "View booster'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.bookmark" = "Bookmark";
|
||||||
"status.content-warning-abbreviation" = "CW";
|
"status.content-warning-abbreviation" = "CW";
|
||||||
"status.content-warning.accessibility" = "Content warning";
|
"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
|
return accessibilityAttributedLabel
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue