updated the notification string

This commit is contained in:
Element CI 2025-01-31 17:02:55 +01:00 committed by Mauro
parent 97069850f5
commit 342f25296d
4 changed files with 4 additions and 4 deletions

View File

@ -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";

View File

@ -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";

View File

@ -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") }

View File

@ -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
}