diff --git a/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings b/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings index 4b23f7440..ae883d930 100644 --- a/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings @@ -1097,7 +1097,8 @@ "screen_notification_settings_mode_mentions" = "Mentions"; "screen_notification_settings_notification_section_title" = "Notify me for"; "screen_notification_settings_room_mention_label" = "Mentions of @room"; -"screen_notification_settings_show_all_activity" = "Show all activity in the room list (dots or number of unread messages)"; +"screen_notification_settings_show_all_activity_subtitle" = "Dots or number of unread messages"; +"screen_notification_settings_show_all_activity_title" = "Show all activity in the room list"; "screen_notification_settings_sound_custom_fallback" = "Custom"; "screen_notification_settings_sound_custom_sound_button_title" = "Custom sound..."; "screen_notification_settings_sound_delete_sound_error_title" = "Error deleting file"; diff --git a/ElementX/Resources/Localizations/en.lproj/Localizable.strings b/ElementX/Resources/Localizations/en.lproj/Localizable.strings index e9063a638..4df82b0f5 100644 --- a/ElementX/Resources/Localizations/en.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en.lproj/Localizable.strings @@ -1097,7 +1097,8 @@ "screen_notification_settings_mode_mentions" = "Mentions"; "screen_notification_settings_notification_section_title" = "Notify me for"; "screen_notification_settings_room_mention_label" = "Mentions of @room"; -"screen_notification_settings_show_all_activity" = "Show all activity in the room list (dots or number of unread messages)"; +"screen_notification_settings_show_all_activity_subtitle" = "Dots or number of unread messages"; +"screen_notification_settings_show_all_activity_title" = "Show all activity in the room list"; "screen_notification_settings_sound_custom_fallback" = "Custom"; "screen_notification_settings_sound_custom_sound_button_title" = "Custom sound..."; "screen_notification_settings_sound_delete_sound_error_title" = "Error deleting file"; diff --git a/ElementX/Sources/Generated/Strings.swift b/ElementX/Sources/Generated/Strings.swift index b416ba2f5..d8f6eb0a9 100644 --- a/ElementX/Sources/Generated/Strings.swift +++ b/ElementX/Sources/Generated/Strings.swift @@ -2568,8 +2568,10 @@ internal nonisolated enum L10n { internal static var screenNotificationSettingsNotificationSectionTitle: String { return L10n.tr("Localizable", "screen_notification_settings_notification_section_title") } /// Mentions of @room internal static var screenNotificationSettingsRoomMentionLabel: String { return L10n.tr("Localizable", "screen_notification_settings_room_mention_label") } - /// Show all activity in the room list (dots or number of unread messages) - internal static var screenNotificationSettingsShowAllActivity: String { return L10n.tr("Localizable", "screen_notification_settings_show_all_activity") } + /// Dots or number of unread messages + internal static var screenNotificationSettingsShowAllActivitySubtitle: String { return L10n.tr("Localizable", "screen_notification_settings_show_all_activity_subtitle") } + /// Show all activity in the room list + internal static var screenNotificationSettingsShowAllActivityTitle: String { return L10n.tr("Localizable", "screen_notification_settings_show_all_activity_title") } /// Custom internal static var screenNotificationSettingsSoundCustomFallback: String { return L10n.tr("Localizable", "screen_notification_settings_sound_custom_fallback") } /// Custom sound... diff --git a/ElementX/Sources/Screens/Settings/NotificationSettingsScreen/View/NotificationSettingsScreen.swift b/ElementX/Sources/Screens/Settings/NotificationSettingsScreen/View/NotificationSettingsScreen.swift index 07edf1f2c..713a61f51 100644 --- a/ElementX/Sources/Screens/Settings/NotificationSettingsScreen/View/NotificationSettingsScreen.swift +++ b/ElementX/Sources/Screens/Settings/NotificationSettingsScreen/View/NotificationSettingsScreen.swift @@ -145,7 +145,8 @@ struct NotificationSettingsScreen: View { private var roomListActivitySection: some View { Section { - ListRow(label: .plain(title: L10n.screenNotificationSettingsShowAllActivity), + ListRow(label: .plain(title: L10n.screenNotificationSettingsShowAllActivityTitle, + description: L10n.screenNotificationSettingsShowAllActivitySubtitle), kind: .toggle($context.showAllRoomListActivity)) .onChange(of: context.showAllRoomListActivity) { context.send(viewAction: .showAllRoomListActivityChanged) diff --git a/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPad-en-GB-0.png b/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPad-en-GB-0.png index 07781fb93..e15cbefe7 100644 --- a/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPad-en-GB-0.png +++ b/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPad-en-GB-0.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ae0c0276b4b0c6b79bc259f5894be44bba98b5d415a3923192bca84c74c2d53f -size 157946 +oid sha256:b34f6041e51f88e2713b468481d8da1fabf46cc189dba843e20396069a2621eb +size 158713 diff --git a/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPad-pseudo-0.png b/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPad-pseudo-0.png index 9bab6d99e..9d075e7ac 100644 --- a/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPad-pseudo-0.png +++ b/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPad-pseudo-0.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:5ce823720f239146c79b7eb53767b1a8cd7bf066f1c6b8a5c3665407c8d17819 -size 184683 +oid sha256:188548d8d24b5f89ec4831abb795873672db1e693d1f18504bb6bdb00e490d20 +size 182323 diff --git a/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPhone-en-GB-0.png b/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPhone-en-GB-0.png index 74f7e0430..e8ad20bb6 100644 --- a/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPhone-en-GB-0.png +++ b/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPhone-en-GB-0.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:10ae3c975d857185533f4c6fc5e294d4554faaecc3f45349edecd3145c627f9b -size 109135 +oid sha256:b561321e6bcbd377f118e6b4b4c55a934d12b0d789253ec78da2b5bcde64141c +size 105400 diff --git a/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPhone-pseudo-0.png b/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPhone-pseudo-0.png index cc0eba2b2..34efbff9e 100644 --- a/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPhone-pseudo-0.png +++ b/PreviewTests/Sources/__Snapshots__/PreviewTests/notificationSettingsScreen.iPhone-pseudo-0.png @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:15d1a827dd631bad409a2e90af900bea178a5880af9d704fd98d646a262e85c6 -size 157815 +oid sha256:84615b0b0284369ec0257b862c53e462d3f79b767f83f0abfa7e0a29f461eea4 +size 152347