mirror of
https://github.com/metabolist/metatext.git
synced 2024-12-22 05:26:30 +00:00
VoiceOver wip
This commit is contained in:
parent
45517c0df6
commit
82a1813064
2 changed files with 4 additions and 2 deletions
|
@ -265,7 +265,9 @@
|
|||
"status.favorite-button.accessibility-label" = "Favorite";
|
||||
"status.favorite-button.undo.accessibility-label" = "Unfavorite";
|
||||
"status.show-more" = "Show More";
|
||||
"status.show-more-all-button.accessibilty-label" = "Show more for all";
|
||||
"status.show-less" = "Show Less";
|
||||
"status.show-less-all-button.accessibilty-label" = "Show less for all";
|
||||
"status.spoiler-text-placeholder" = "Write your warning here";
|
||||
"status.unbookmark" = "Unbookmark";
|
||||
"status.unmute" = "Unmute conversation";
|
||||
|
|
|
@ -509,12 +509,12 @@ private extension TableViewController {
|
|||
navigationItem.rightBarButtonItem = nil
|
||||
case .expand:
|
||||
navigationItem.rightBarButtonItem = UIBarButtonItem(
|
||||
title: NSLocalizedString("status.show-more", comment: ""),
|
||||
title: NSLocalizedString("status.show-more-all-button.accessibilty-label", comment: ""),
|
||||
image: UIImage(systemName: "eye"),
|
||||
primaryAction: UIAction { [weak self] _ in self?.viewModel.toggleExpandAll() })
|
||||
case .collapse:
|
||||
navigationItem.rightBarButtonItem = UIBarButtonItem(
|
||||
title: NSLocalizedString("status.show-less", comment: ""),
|
||||
title: NSLocalizedString("status.show-less-all-button.accessibilty-label", comment: ""),
|
||||
image: UIImage(systemName: "eye.slash"),
|
||||
primaryAction: UIAction { [weak self] _ in self?.viewModel.toggleExpandAll() })
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue