From 718e16f5be193e0551abc9d746788fd66dbd5af5 Mon Sep 17 00:00:00 2001 From: Mauro <34335419+Velin92@users.noreply.github.com> Date: Thu, 4 Dec 2025 17:51:46 +0100 Subject: [PATCH] Use generic "update details..." copy when saving details change (#4818) * added updating space copy when saving the edit of a space * use the generic copy instead of both a space and a room specific one --- .../Resources/Localizations/en-US.lproj/Localizable.strings | 3 ++- .../Resources/Localizations/en.lproj/Localizable.strings | 3 ++- ElementX/Sources/Generated/Strings.swift | 6 +++++- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings b/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings index a10c80b50..299ef2c31 100644 --- a/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings @@ -446,6 +446,7 @@ "notification_sender_me" = "Me"; "notification_sender_mention_reply" = "%1$@ mentioned or replied"; "notification_space_invite_body" = "Invited you to join the space"; +"notification_space_invite_body_with_sender" = "%1$@ invited you to join the space"; "notification_test_push_notification_content" = "You are viewing the notification! Click me!"; "notification_ticker_text_dm" = "%1$@: %2$@"; "notification_ticker_text_group" = "%1$@: %2$@ %3$@"; @@ -1068,7 +1069,7 @@ "screen_room_details_notification_mode_default" = "Default"; "screen_room_details_share_room_title" = "Share room"; "screen_room_details_title" = "Room info"; -"screen_room_details_updating_room" = "Updating room…"; +"screen_room_details_updating_room" = "Updating details…"; "screen_room_directory_search_loading_error" = "Failed loading"; "screen_room_directory_search_title" = "Room directory"; "screen_room_encrypted_history_banner" = "Message history is currently unavailable."; diff --git a/ElementX/Resources/Localizations/en.lproj/Localizable.strings b/ElementX/Resources/Localizations/en.lproj/Localizable.strings index 1eeea7267..054923fad 100644 --- a/ElementX/Resources/Localizations/en.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en.lproj/Localizable.strings @@ -446,6 +446,7 @@ "notification_sender_me" = "Me"; "notification_sender_mention_reply" = "%1$@ mentioned or replied"; "notification_space_invite_body" = "Invited you to join the space"; +"notification_space_invite_body_with_sender" = "%1$@ invited you to join the space"; "notification_test_push_notification_content" = "You are viewing the notification! Click me!"; "notification_ticker_text_dm" = "%1$@: %2$@"; "notification_ticker_text_group" = "%1$@: %2$@ %3$@"; @@ -1068,7 +1069,7 @@ "screen_room_details_notification_mode_default" = "Default"; "screen_room_details_share_room_title" = "Share room"; "screen_room_details_title" = "Room info"; -"screen_room_details_updating_room" = "Updating room…"; +"screen_room_details_updating_room" = "Updating details…"; "screen_room_directory_search_loading_error" = "Failed loading"; "screen_room_directory_search_title" = "Room directory"; "screen_room_encrypted_history_banner" = "Message history is currently unavailable."; diff --git a/ElementX/Sources/Generated/Strings.swift b/ElementX/Sources/Generated/Strings.swift index e3026e912..a4efcd82f 100644 --- a/ElementX/Sources/Generated/Strings.swift +++ b/ElementX/Sources/Generated/Strings.swift @@ -1042,6 +1042,10 @@ internal enum L10n { } /// Invited you to join the space internal static var notificationSpaceInviteBody: String { return L10n.tr("Localizable", "notification_space_invite_body") } + /// %1$@ invited you to join the space + internal static func notificationSpaceInviteBodyWithSender(_ p1: Any) -> String { + return L10n.tr("Localizable", "notification_space_invite_body_with_sender", String(describing: p1)) + } /// You are viewing the notification! Click me! internal static var notificationTestPushNotificationContent: String { return L10n.tr("Localizable", "notification_test_push_notification_content") } /// Thread in %1$@ @@ -2462,7 +2466,7 @@ internal enum L10n { internal static var screenRoomDetailsTitle: String { return L10n.tr("Localizable", "screen_room_details_title") } /// Topic internal static var screenRoomDetailsTopicTitle: String { return L10n.tr("Localizable", "screen_room_details_topic_title") } - /// Updating room… + /// Updating details… internal static var screenRoomDetailsUpdatingRoom: String { return L10n.tr("Localizable", "screen_room_details_updating_room") } /// Failed loading internal static var screenRoomDirectorySearchLoadingError: String { return L10n.tr("Localizable", "screen_room_directory_search_loading_error") }