diff --git a/ElementX/Resources/Localizations/en.lproj/Localizable.strings b/ElementX/Resources/Localizations/en.lproj/Localizable.strings index 79131f4d8..e15a24c1f 100644 --- a/ElementX/Resources/Localizations/en.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en.lproj/Localizable.strings @@ -517,8 +517,6 @@ "screen_resolve_send_failure_you_unsigned_device_subtitle" = "One or more of your devices are unverified. You can send the message anyway, or you can cancel for now and try again later after you have verified all of your devices."; "screen_resolve_send_failure_you_unsigned_device_title" = "Your message was not sent because you have not verified one or more of your devices"; "screen_room_event_pill" = "Message in %1$@"; -"screen_room_grouped_view_states_expand" = "Expand"; -"screen_room_grouped_view_states_reduce" = "Reduce"; "screen_room_mentions_at_room_subtitle" = "Notify the whole room"; "screen_room_multiple_knock_requests_view_all_button_title" = "View all"; "screen_room_pinned_banner_indicator" = "%1$@ of %2$@"; @@ -530,6 +528,8 @@ "screen_room_details_pinned_events_row_title" = "Pinned messages"; "screen_room_details_profile_row_title" = "Profile"; "screen_room_details_requests_to_join_title" = "Requests to join"; +"screen_room_grouped_state_events_expand" = "Expand"; +"screen_room_grouped_state_events_reduce" = "Reduce"; "screen_room_timeline_tombstoned_room_action" = "Jump to new room"; "screen_room_timeline_tombstoned_room_message" = "This room has been replaced and is no longer active"; "screen_room_timeline_upgraded_room_action" = "See old messages"; diff --git a/ElementX/Sources/Generated/Strings.swift b/ElementX/Sources/Generated/Strings.swift index a6fc34ffe..207258881 100644 --- a/ElementX/Sources/Generated/Strings.swift +++ b/ElementX/Sources/Generated/Strings.swift @@ -2183,9 +2183,9 @@ internal enum L10n { return L10n.tr("Localizable", "screen_room_event_pill", String(describing: p1)) } /// Expand - internal static var screenRoomGroupedViewStatesExpand: String { return L10n.tr("Localizable", "screen_room_grouped_view_states_expand") } + internal static var screenRoomGroupedStateEventsExpand: String { return L10n.tr("Localizable", "screen_room_grouped_state_events_expand") } /// Reduce - internal static var screenRoomGroupedViewStatesReduce: String { return L10n.tr("Localizable", "screen_room_grouped_view_states_reduce") } + internal static var screenRoomGroupedStateEventsReduce: String { return L10n.tr("Localizable", "screen_room_grouped_state_events_reduce") } /// Would you like to invite them back? internal static var screenRoomInviteAgainAlertMessage: String { return L10n.tr("Localizable", "screen_room_invite_again_alert_message") } /// You are alone in this chat diff --git a/ElementX/Sources/Screens/Timeline/View/TimelineItemViews/CollapsibleRoomTimelineView.swift b/ElementX/Sources/Screens/Timeline/View/TimelineItemViews/CollapsibleRoomTimelineView.swift index 61716fecc..b0fb64c6d 100644 --- a/ElementX/Sources/Screens/Timeline/View/TimelineItemViews/CollapsibleRoomTimelineView.swift +++ b/ElementX/Sources/Screens/Timeline/View/TimelineItemViews/CollapsibleRoomTimelineView.swift @@ -38,7 +38,7 @@ struct CollapsibleRoomTimelineView: View { HStack(alignment: .center, spacing: 8) { Text(L10n.screenRoomTimelineStateChanges(timelineItem.items.count)) Text(Image(systemName: "chevron.forward")) - .accessibilityLabel(isExpanded ? L10n.screenRoomGroupedViewStatesReduce : L10n.screenRoomGroupedViewStatesExpand) + .accessibilityLabel(isExpanded ? L10n.screenRoomGroupedStateEventsReduce : L10n.screenRoomGroupedStateEventsExpand) .rotationEffect(.degrees(isExpanded ? 90 : 0)) .animation(.elementDefault, value: isExpanded) }