Skip to content
Snippets Groups Projects
Commit b277ba4d authored by Kateryna Kostiuk's avatar Kateryna Kostiuk Committed by Kateryna Kostiuk
Browse files

UI: update text for incoming invitation

Change-Id: If68a57ee765d991d4c307453d53896b31f6e5f7d
parent 522a5db2
Branches
No related tags found
No related merge requests found
...@@ -323,6 +323,8 @@ internal enum L10n { ...@@ -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 ") 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 /// You are currently sharing your location with
internal static let explanationSendingLocationTo = L10n.tr("Localizable", "conversation.explanationSendingLocationTo", fallback: "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 /// Write message to
internal static let messagePlaceholder = L10n.tr("Localizable", "conversation.messagePlaceholder", fallback: "Write message to ") internal static let messagePlaceholder = L10n.tr("Localizable", "conversation.messagePlaceholder", fallback: "Write message to ")
/// %@ is not in your contact list. /// %@ is not in your contact list.
......
...@@ -93,6 +93,7 @@ ...@@ -93,6 +93,7 @@
"conversation.explanationReceivingLocationFrom" = "You are currently receiving a live location from "; "conversation.explanationReceivingLocationFrom" = "You are currently receiving a live location from ";
"conversation.errorSavingImage" = "Failed to save image to galery"; "conversation.errorSavingImage" = "Failed to save image to galery";
"conversation.receivedRequest" = "\%@\ sent you a request for a conversation."; "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.requestMessage" = "Hello,\nWould you like to join the conversation?";
"conversation.notContact" = "\%@\ is not in your contact list."; "conversation.notContact" = "\%@\ is not in your contact list.";
"conversation.sendRequest" = "Send him/her a contact request to be able to exchange together"; "conversation.sendRequest" = "Send him/her a contact request to be able to exchange together";
......
...@@ -192,7 +192,7 @@ extension AdapterService: AdapterDelegate { ...@@ -192,7 +192,7 @@ extension AdapterService: AdapterDelegate {
guard let handler = self.eventHandler else { guard let handler = self.eventHandler else {
return return
} }
let contentMessage = L10n.GeneratedMessage.invitationReceived let contentMessage = L10n.Conversation.incomingRequest
var groupTitle = "" var groupTitle = ""
var peerId = "" var peerId = ""
if let title = metadata["title"], !title.isEmpty { if let title = metadata["title"], !title.isEmpty {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment