From 65d45a93acd49c842d5f076707d05cd1dd3fffc6 Mon Sep 17 00:00:00 2001 From: Justin Mazzocchi <2831158+jzzocc@users.noreply.github.com> Date: Thu, 18 Feb 2021 22:35:18 -0800 Subject: [PATCH] Shorten accessibility strings --- Localizations/Localizable.strings | 8 ++++---- Views/UIKit/Content Views/LoadMoreView.swift | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Localizations/Localizable.strings b/Localizations/Localizable.strings index 7d48357..2852c04 100644 --- a/Localizations/Localizable.strings +++ b/Localizations/Localizable.strings @@ -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"; diff --git a/Views/UIKit/Content Views/LoadMoreView.swift b/Views/UIKit/Content Views/LoadMoreView.swift index 46b4823..902c7fc 100644 --- a/Views/UIKit/Content Views/LoadMoreView.swift +++ b/Views/UIKit/Content Views/LoadMoreView.swift @@ -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 = [