From 306036f58f0db646df23cb20ffe743bcc4805e35 Mon Sep 17 00:00:00 2001 From: Element CI Date: Fri, 31 Jan 2025 17:02:55 +0100 Subject: [PATCH] updated the notification string --- .../Resources/Localizations/en-US.lproj/Localizable.strings | 2 +- ElementX/Resources/Localizations/en.lproj/Localizable.strings | 2 +- ElementX/Sources/Generated/Strings.swift | 2 +- NSE/Sources/NotificationContentBuilder.swift | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings b/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings index d885dbb829..0432906f0e 100644 --- a/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en-US.lproj/Localizable.strings @@ -326,7 +326,7 @@ "notification_channel_noisy" = "Noisy notifications"; "notification_channel_ringing_calls" = "Ringing calls"; "notification_channel_silent" = "Silent notifications"; -"notification_incoming_call" = "Incoming call"; +"notification_incoming_call" = "📹 Incoming call"; "notification_inline_reply_failed" = "** Failed to send - please open room"; "notification_invite_body" = "Invited you to chat"; "notification_invite_body_with_sender" = "%1$@ invited you to chat"; diff --git a/ElementX/Resources/Localizations/en.lproj/Localizable.strings b/ElementX/Resources/Localizations/en.lproj/Localizable.strings index 43168bef82..1eabe0a8e1 100644 --- a/ElementX/Resources/Localizations/en.lproj/Localizable.strings +++ b/ElementX/Resources/Localizations/en.lproj/Localizable.strings @@ -326,7 +326,7 @@ "notification_channel_noisy" = "Noisy notifications"; "notification_channel_ringing_calls" = "Ringing calls"; "notification_channel_silent" = "Silent notifications"; -"notification_incoming_call" = "Incoming call"; +"notification_incoming_call" = "📹 Incoming call"; "notification_inline_reply_failed" = "** Failed to send - please open room"; "notification_invite_body" = "Invited you to chat"; "notification_invite_body_with_sender" = "%1$@ invited you to chat"; diff --git a/ElementX/Sources/Generated/Strings.swift b/ElementX/Sources/Generated/Strings.swift index 41777ce320..bbe63eb651 100644 --- a/ElementX/Sources/Generated/Strings.swift +++ b/ElementX/Sources/Generated/Strings.swift @@ -738,7 +738,7 @@ internal enum L10n { } /// Notification internal static var notificationFallbackContent: String { return L10n.tr("Localizable", "notification_fallback_content") } - /// Incoming call + /// 📹 Incoming call internal static var notificationIncomingCall: String { return L10n.tr("Localizable", "notification_incoming_call") } /// ** Failed to send - please open room internal static var notificationInlineReplyFailed: String { return L10n.tr("Localizable", "notification_inline_reply_failed") } diff --git a/NSE/Sources/NotificationContentBuilder.swift b/NSE/Sources/NotificationContentBuilder.swift index a970d3a3fe..8c7e57a5a6 100644 --- a/NSE/Sources/NotificationContentBuilder.swift +++ b/NSE/Sources/NotificationContentBuilder.swift @@ -137,7 +137,7 @@ struct NotificationContentBuilder { private func processCallNotifyEvent(notificationItem: NotificationItemProxyProtocol, mediaProvider: MediaProviderProtocol?) async throws -> UNMutableNotificationContent { let notification = try await processCommonRoomMessage(notificationItem: notificationItem, mediaProvider: mediaProvider) - notification.body = L10n.commonCallStarted + notification.body = L10n.notificationIncomingCall return notification }