mirror of
https://github.com/metabolist/metatext.git
synced 2024-11-25 17:50:59 +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.accessibility-label" = "Favorite";
|
||||||
"status.favorite-button.undo.accessibility-label" = "Unfavorite";
|
"status.favorite-button.undo.accessibility-label" = "Unfavorite";
|
||||||
"status.show-more" = "Show More";
|
"status.show-more" = "Show More";
|
||||||
|
"status.show-more-all-button.accessibilty-label" = "Show more for all";
|
||||||
"status.show-less" = "Show Less";
|
"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.spoiler-text-placeholder" = "Write your warning here";
|
||||||
"status.unbookmark" = "Unbookmark";
|
"status.unbookmark" = "Unbookmark";
|
||||||
"status.unmute" = "Unmute conversation";
|
"status.unmute" = "Unmute conversation";
|
||||||
|
|
|
@ -509,12 +509,12 @@ private extension TableViewController {
|
||||||
navigationItem.rightBarButtonItem = nil
|
navigationItem.rightBarButtonItem = nil
|
||||||
case .expand:
|
case .expand:
|
||||||
navigationItem.rightBarButtonItem = UIBarButtonItem(
|
navigationItem.rightBarButtonItem = UIBarButtonItem(
|
||||||
title: NSLocalizedString("status.show-more", comment: ""),
|
title: NSLocalizedString("status.show-more-all-button.accessibilty-label", comment: ""),
|
||||||
image: UIImage(systemName: "eye"),
|
image: UIImage(systemName: "eye"),
|
||||||
primaryAction: UIAction { [weak self] _ in self?.viewModel.toggleExpandAll() })
|
primaryAction: UIAction { [weak self] _ in self?.viewModel.toggleExpandAll() })
|
||||||
case .collapse:
|
case .collapse:
|
||||||
navigationItem.rightBarButtonItem = UIBarButtonItem(
|
navigationItem.rightBarButtonItem = UIBarButtonItem(
|
||||||
title: NSLocalizedString("status.show-less", comment: ""),
|
title: NSLocalizedString("status.show-less-all-button.accessibilty-label", comment: ""),
|
||||||
image: UIImage(systemName: "eye.slash"),
|
image: UIImage(systemName: "eye.slash"),
|
||||||
primaryAction: UIAction { [weak self] _ in self?.viewModel.toggleExpandAll() })
|
primaryAction: UIAction { [weak self] _ in self?.viewModel.toggleExpandAll() })
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue