From b277ba4d0bb0d95cdd2a42eb6293a7315d73997e Mon Sep 17 00:00:00 2001
From: Kateryna Kostiuk <katryna.kostiuk@savoirfairelinux.com>
Date: Wed, 15 Feb 2023 09:41:27 -0500
Subject: [PATCH] UI: update text for incoming invitation

Change-Id: If68a57ee765d991d4c307453d53896b31f6e5f7d
---
 Ring/Ring/Constants/Generated/Strings.swift         | 2 ++
 Ring/Ring/Resources/en.lproj/Localizable.strings    | 1 +
 Ring/jamiNotificationExtension/AdapterService.swift | 2 +-
 3 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/Ring/Ring/Constants/Generated/Strings.swift b/Ring/Ring/Constants/Generated/Strings.swift
index b2395dece..95cc1704f 100644
--- a/Ring/Ring/Constants/Generated/Strings.swift
+++ b/Ring/Ring/Constants/Generated/Strings.swift
@@ -323,6 +323,8 @@ internal enum L10n {
     internal static let explanationReceivingLocationFrom = L10n.tr("Localizable", "conversation.explanationReceivingLocationFrom", fallback: "You are currently receiving a live location from ")
     /// You are currently sharing your location with 
     internal static let explanationSendingLocationTo = L10n.tr("Localizable", "conversation.explanationSendingLocationTo", fallback: "You are currently sharing your location with ")
+    /// Sent you a request for a conversation.
+    internal static let incomingRequest = L10n.tr("Localizable", "conversation.incomingRequest", fallback: "Sent you a request for a conversation.")
     /// Write message to 
     internal static let messagePlaceholder = L10n.tr("Localizable", "conversation.messagePlaceholder", fallback: "Write message to ")
     /// %@ is not in your contact list.
diff --git a/Ring/Ring/Resources/en.lproj/Localizable.strings b/Ring/Ring/Resources/en.lproj/Localizable.strings
index 2f6825e47..1d9146711 100644
--- a/Ring/Ring/Resources/en.lproj/Localizable.strings
+++ b/Ring/Ring/Resources/en.lproj/Localizable.strings
@@ -93,6 +93,7 @@
 "conversation.explanationReceivingLocationFrom" = "You are currently receiving a live location from ";
 "conversation.errorSavingImage" = "Failed to save image to galery";
 "conversation.receivedRequest" = "\%@\ sent you a request for a conversation.";
+"conversation.incomingRequest" = "Sent you a request for a conversation.";
 "conversation.requestMessage" = "Hello,\nWould you like to join the conversation?";
 "conversation.notContact" = "\%@\ is not in your contact list.";
 "conversation.sendRequest" = "Send him/her a contact request to be able to exchange together";
diff --git a/Ring/jamiNotificationExtension/AdapterService.swift b/Ring/jamiNotificationExtension/AdapterService.swift
index 54ac72e10..01e3ec419 100644
--- a/Ring/jamiNotificationExtension/AdapterService.swift
+++ b/Ring/jamiNotificationExtension/AdapterService.swift
@@ -192,7 +192,7 @@ extension AdapterService: AdapterDelegate {
         guard let handler = self.eventHandler else {
             return
         }
-        let contentMessage = L10n.GeneratedMessage.invitationReceived
+        let contentMessage = L10n.Conversation.incomingRequest
         var groupTitle = ""
         var peerId = ""
         if let title = metadata["title"], !title.isEmpty {
-- 
GitLab