Skip to content

Commit

Permalink
updated the notification string
Browse files Browse the repository at this point in the history
  • Loading branch information
Element CI authored and Velin92 committed Jan 31, 2025
1 parent 9706985 commit 342f252
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down
2 changes: 1 addition & 1 deletion ElementX/Sources/Generated/Strings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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") }
Expand Down
2 changes: 1 addition & 1 deletion NSE/Sources/NotificationContentBuilder.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 342f252

Please sign in to comment.