Shorten accessibility strings

This commit is contained in:
Justin Mazzocchi 2021-02-18 22:35:18 -08:00
parent bb3fe556e2
commit 65d45a93ac
No known key found for this signature in database
GPG Key ID: E223E6937AAFB01C
2 changed files with 8 additions and 8 deletions

View File

@ -149,10 +149,10 @@
"identities.pending" = "Pending";
"lists.new-list-title" = "New List Title";
"load-more" = "Load More";
"load-more.above.accessibility-label.post" = "Load posts from post above";
"load-more.above.accessibility-label.toot" = "Load toots from toot above";
"load-more.below.accessibility-label.post" = "Load posts from post below";
"load-more.below.accessibility-label.toot" = "Load toots from toot below";
"load-more.above.accessibility.post" = "Load from post above";
"load-more.above.accessibility.toot" = "Load from toot above";
"load-more.below.accessibility.post" = "Load from post below";
"load-more.below.accessibility.toot" = "Load from toot below";
"main-navigation.timelines" = "Timelines";
"main-navigation.explore" = "Explore";
"main-navigation.notifications" = "Notifications";

View File

@ -119,11 +119,11 @@ private extension LoadMoreView {
switch loadMoreConfiguration.viewModel.identityContext.appPreferences.statusWord {
case .toot:
aboveAccessibilityActionName = NSLocalizedString("load-more.above.accessibility-label.toot", comment: "")
belowAccessibilityActionName = NSLocalizedString("load-more.below.accessibility-label.toot", comment: "")
aboveAccessibilityActionName = NSLocalizedString("load-more.above.accessibility.toot", comment: "")
belowAccessibilityActionName = NSLocalizedString("load-more.below.accessibility.toot", comment: "")
case .post:
aboveAccessibilityActionName = NSLocalizedString("load-more.above.accessibility-label.post", comment: "")
belowAccessibilityActionName = NSLocalizedString("load-more.below.accessibility-label.post", comment: "")
aboveAccessibilityActionName = NSLocalizedString("load-more.above.accessibility.post", comment: "")
belowAccessibilityActionName = NSLocalizedString("load-more.below.accessibility.post", comment: "")
}
accessibilityCustomActions = [