diff --git a/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings b/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings index 686e3430d..033ad7e87 100644 --- a/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings @@ -10,6 +10,7 @@ "a11y_info" = "Info"; "a11y_join_call" = "Join call"; "a11y_jump_to_bottom" = "Jump to bottom"; +"a11y_jump_to_unread" = "Jump to unread"; "a11y_notifications_mentions_only" = "Mentions only"; "a11y_notifications_muted" = "Muted"; "a11y_notifications_new_mentions" = "New mentions"; diff --git a/ElementX/Resources/Localizations/en.lproj/Localizable.strings b/ElementX/Resources/Localizations/en.lproj/Localizable.strings index 8556c4fce..eda890974 100644 --- a/ElementX/Resources/Localizations/en.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en.lproj/Localizable.strings @@ -10,6 +10,7 @@ "a11y_info" = "Info"; "a11y_join_call" = "Join call"; "a11y_jump_to_bottom" = "Jump to bottom"; +"a11y_jump_to_unread" = "Jump to unread"; "a11y_notifications_mentions_only" = "Mentions only"; "a11y_notifications_muted" = "Muted"; "a11y_notifications_new_mentions" = "New mentions"; diff --git a/ElementX/Resources/Localizations/en.lproj/Untranslated.strings b/ElementX/Resources/Localizations/en.lproj/Untranslated.strings index 5e0566e80..49cb10197 100644 --- a/ElementX/Resources/Localizations/en.lproj/Untranslated.strings +++ b/ElementX/Resources/Localizations/en.lproj/Untranslated.strings @@ -1,4 +1,3 @@ -"a11y_jump_to_unread" = "Jump to unread"; "soft_logout_clear_data_dialog_content" = "Clear all data currently stored on this device?\nSign in again to access your account data and messages."; "soft_logout_clear_data_dialog_title" = "Clear data"; "soft_logout_clear_data_notice" = "Warning: Your personal data (including encryption keys) is still stored on this device.\n\nClear it if you’re finished using this device, or want to sign in to another account."; diff --git a/ElementX/Sources/Generated/Strings+Untranslated.swift b/ElementX/Sources/Generated/Strings+Untranslated.swift index 86cba94fe..bf99e6161 100644 --- a/ElementX/Sources/Generated/Strings+Untranslated.swift +++ b/ElementX/Sources/Generated/Strings+Untranslated.swift @@ -10,8 +10,6 @@ import Foundation // swiftlint:disable explicit_type_interface function_parameter_count identifier_name line_length // swiftlint:disable nesting type_body_length type_name vertical_whitespace_opening_braces internal enum UntranslatedL10n { - /// Jump to unread - internal static var a11yJumpToUnread: String { return UntranslatedL10n.tr("Untranslated", "a11y_jump_to_unread") } /// Custom sound... internal static var screenNotificationSettingsSoundCustomSoundButtonTitle: String { return UntranslatedL10n.tr("Untranslated", "screen_notification_settings_sound_custom_sound_button_title") } /// Error deleting file diff --git a/ElementX/Sources/Generated/Strings.swift b/ElementX/Sources/Generated/Strings.swift index c2ac693fa..56f0e41b7 100644 --- a/ElementX/Sources/Generated/Strings.swift +++ b/ElementX/Sources/Generated/Strings.swift @@ -42,6 +42,8 @@ internal enum L10n { internal static var a11yJoinCall: String { return L10n.tr("Localizable", "a11y_join_call") } /// Jump to bottom internal static var a11yJumpToBottom: String { return L10n.tr("Localizable", "a11y_jump_to_bottom") } + /// Jump to unread + internal static var a11yJumpToUnread: String { return L10n.tr("Localizable", "a11y_jump_to_unread") } /// Mentions only internal static var a11yNotificationsMentionsOnly: String { return L10n.tr("Localizable", "a11y_notifications_mentions_only") } /// Muted diff --git a/ElementX/Sources/Other/SwiftUI/Views/TimelineScrollButton.swift b/ElementX/Sources/Other/SwiftUI/Views/TimelineScrollButton.swift index 33267d302..49546f667 100644 --- a/ElementX/Sources/Other/SwiftUI/Views/TimelineScrollButton.swift +++ b/ElementX/Sources/Other/SwiftUI/Views/TimelineScrollButton.swift @@ -96,7 +96,7 @@ struct TimelineScrollButton: View { .opacity(isHidden ? 0 : 1) .allowsHitTesting(!isHidden) .accessibilityHidden(isHidden) - .accessibilityLabel(direction == .down ? L10n.a11yJumpToBottom : UntranslatedL10n.a11yJumpToUnread) + .accessibilityLabel(direction == .down ? L10n.a11yJumpToBottom : L10n.a11yJumpToUnread) .animation(.elementDefault, value: isHidden) }