From d740fe32c253de88be0c591cd99e7bdacafc1974 Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Tue, 8 Nov 2022 09:35:27 +1100 Subject: [PATCH] Added some copy to explain disabled buttons for message requests --- Session.xcodeproj/project.pbxproj | 12 ++-- Session/Conversations/ConversationVC.swift | 61 +++++++++++++++++-- .../Translations/de.lproj/Localizable.strings | 1 + .../Translations/en.lproj/Localizable.strings | 1 + .../Translations/es.lproj/Localizable.strings | 1 + .../Translations/fa.lproj/Localizable.strings | 1 + .../Translations/fi.lproj/Localizable.strings | 1 + .../Translations/fr.lproj/Localizable.strings | 1 + .../Translations/hi.lproj/Localizable.strings | 1 + .../Translations/hr.lproj/Localizable.strings | 1 + .../id-ID.lproj/Localizable.strings | 1 + .../Translations/it.lproj/Localizable.strings | 1 + .../Translations/ja.lproj/Localizable.strings | 1 + .../Translations/nl.lproj/Localizable.strings | 1 + .../Translations/pl.lproj/Localizable.strings | 1 + .../pt_BR.lproj/Localizable.strings | 1 + .../Translations/ru.lproj/Localizable.strings | 1 + .../Translations/si.lproj/Localizable.strings | 1 + .../Translations/sk.lproj/Localizable.strings | 1 + .../Translations/sv.lproj/Localizable.strings | 1 + .../Translations/th.lproj/Localizable.strings | 1 + .../vi-VN.lproj/Localizable.strings | 1 + .../zh-Hant.lproj/Localizable.strings | 1 + .../zh_CN.lproj/Localizable.strings | 1 + 24 files changed, 84 insertions(+), 11 deletions(-) diff --git a/Session.xcodeproj/project.pbxproj b/Session.xcodeproj/project.pbxproj index ea42d0fbb..3b89e7edc 100644 --- a/Session.xcodeproj/project.pbxproj +++ b/Session.xcodeproj/project.pbxproj @@ -6032,7 +6032,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 386; + CURRENT_PROJECT_VERSION = 387; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = SUQ8J2PCT7; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; @@ -6105,7 +6105,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 386; + CURRENT_PROJECT_VERSION = 387; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = SUQ8J2PCT7; ENABLE_NS_ASSERTIONS = NO; @@ -6171,7 +6171,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 386; + CURRENT_PROJECT_VERSION = 387; DEBUG_INFORMATION_FORMAT = dwarf; DEVELOPMENT_TEAM = SUQ8J2PCT7; FRAMEWORK_SEARCH_PATHS = "$(inherited)"; @@ -6245,7 +6245,7 @@ "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; CODE_SIGN_STYLE = Automatic; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 386; + CURRENT_PROJECT_VERSION = 387; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; DEVELOPMENT_TEAM = SUQ8J2PCT7; ENABLE_NS_ASSERTIONS = NO; @@ -7173,7 +7173,7 @@ CODE_SIGN_ENTITLEMENTS = Session/Meta/Signal.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 386; + CURRENT_PROJECT_VERSION = 387; DEVELOPMENT_TEAM = SUQ8J2PCT7; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", @@ -7245,7 +7245,7 @@ CODE_SIGN_ENTITLEMENTS = Session/Meta/Signal.entitlements; CODE_SIGN_IDENTITY = "iPhone Developer"; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; - CURRENT_PROJECT_VERSION = 386; + CURRENT_PROJECT_VERSION = 387; DEVELOPMENT_TEAM = SUQ8J2PCT7; FRAMEWORK_SEARCH_PATHS = ( "$(inherited)", diff --git a/Session/Conversations/ConversationVC.swift b/Session/Conversations/ConversationVC.swift index f342c6824..e05b70794 100644 --- a/Session/Conversations/ConversationVC.swift +++ b/Session/Conversations/ConversationVC.swift @@ -29,6 +29,7 @@ final class ConversationVC: BaseVC, ConversationSearchControllerDelegate, UITabl var shouldHighlightNextScrollToInteraction: Bool = false var scrollButtonBottomConstraint: NSLayoutConstraint? var scrollButtonMessageRequestsBottomConstraint: NSLayoutConstraint? + var scrollButtonPendingMessageRequestInfoBottomConstraint: NSLayoutConstraint? var messageRequestsViewBotomConstraint: NSLayoutConstraint? // Search @@ -235,7 +236,7 @@ final class ConversationVC: BaseVC, ConversationSearchControllerDelegate, UITabl result.text = "MESSAGE_REQUESTS_INFO".localized() result.themeTextColor = .textSecondary result.textAlignment = .center - result.numberOfLines = 2 + result.numberOfLines = 0 return result }() @@ -269,6 +270,23 @@ final class ConversationVC: BaseVC, ConversationSearchControllerDelegate, UITabl return result }() + + private lazy var pendingMessageRequestExplanationLabel: UILabel = { + let result: UILabel = UILabel() + result.translatesAutoresizingMaskIntoConstraints = false + result.setContentCompressionResistancePriority(.required, for: .vertical) + result.font = UIFont.systemFont(ofSize: 12) + result.text = "MESSAGE_REQUEST_PENDING_APPROVAL_INFO".localized() + result.themeTextColor = .textSecondary + result.textAlignment = .center + result.numberOfLines = 0 + result.isHidden = ( + !self.messageRequestView.isHidden || + self.viewModel.threadData.threadRequiresApproval == false + ) + + return result + }() // MARK: - Settings @@ -323,6 +341,7 @@ final class ConversationVC: BaseVC, ConversationSearchControllerDelegate, UITabl // Message requests view & scroll to bottom view.addSubview(scrollButton) view.addSubview(messageRequestView) + view.addSubview(pendingMessageRequestExplanationLabel) messageRequestView.addSubview(messageRequestBlockButton) messageRequestView.addSubview(messageRequestDescriptionLabel) @@ -336,6 +355,7 @@ final class ConversationVC: BaseVC, ConversationSearchControllerDelegate, UITabl self.scrollButtonBottomConstraint = scrollButton.pin(.bottom, to: .bottom, of: view, withInset: -16) self.scrollButtonBottomConstraint?.isActive = false // Note: Need to disable this to avoid a conflict with the other bottom constraint self.scrollButtonMessageRequestsBottomConstraint = scrollButton.pin(.bottom, to: .top, of: messageRequestView, withInset: -16) + self.scrollButtonPendingMessageRequestInfoBottomConstraint = scrollButton.pin(.bottom, to: .top, of: pendingMessageRequestExplanationLabel, withInset: -16) messageRequestBlockButton.pin(.top, to: .top, of: messageRequestView, withInset: 10) messageRequestBlockButton.center(.horizontal, in: messageRequestView) @@ -353,6 +373,10 @@ final class ConversationVC: BaseVC, ConversationSearchControllerDelegate, UITabl messageRequestDeleteButton.pin(.right, to: .right, of: messageRequestView, withInset: -20) messageRequestDeleteButton.pin(.bottom, to: .bottom, of: messageRequestView) messageRequestDeleteButton.set(.width, to: .width, of: messageRequestAcceptButton) + + pendingMessageRequestExplanationLabel.pin(.left, to: .left, of: messageRequestView, withInset: 40) + pendingMessageRequestExplanationLabel.pin(.right, to: .right, of: messageRequestView, withInset: -40) + pendingMessageRequestExplanationLabel.pin(.bottom, to: .bottom, of: messageRequestView, withInset: -16) // Unread count view view.addSubview(unreadCountView) @@ -580,18 +604,34 @@ final class ConversationVC: BaseVC, ConversationSearchControllerDelegate, UITabl { updateNavBarButtons(threadData: updatedThreadData, initialVariant: viewModel.initialThreadVariant) - let messageRequestsViewWasVisible: Bool = (messageRequestView.isHidden == false) + let messageRequestsViewWasVisible: Bool = ( + messageRequestView.isHidden == false + ) + let pendingMessageRequestInfoWasVisible: Bool = ( + pendingMessageRequestExplanationLabel.isHidden == false + ) UIView.animate(withDuration: 0.3) { [weak self] in self?.messageRequestView.isHidden = ( updatedThreadData.threadIsMessageRequest == false || updatedThreadData.threadRequiresApproval == true ) + self?.pendingMessageRequestExplanationLabel.isHidden = ( + self?.messageRequestView.isHidden == false || + updatedThreadData.threadRequiresApproval == false + ) self?.scrollButtonMessageRequestsBottomConstraint?.isActive = ( - updatedThreadData.threadIsMessageRequest == true + self?.messageRequestView.isHidden == false + ) + self?.scrollButtonPendingMessageRequestInfoBottomConstraint?.isActive = ( + self?.scrollButtonPendingMessageRequestInfoBottomConstraint?.isActive == false && + self?.pendingMessageRequestExplanationLabel.isHidden == false + ) + self?.scrollButtonBottomConstraint?.isActive = ( + self?.scrollButtonMessageRequestsBottomConstraint?.isActive == false && + self?.scrollButtonPendingMessageRequestInfoBottomConstraint?.isActive == false ) - self?.scrollButtonBottomConstraint?.isActive = (updatedThreadData.threadIsMessageRequest == false) // Update the table content inset and offset to account for // the dissapearance of the messageRequestsView @@ -605,6 +645,16 @@ final class ConversationVC: BaseVC, ConversationSearchControllerDelegate, UITabl trailing: 0 ) } + else if pendingMessageRequestInfoWasVisible { + let messageRequestsOffset: CGFloat = ((self?.pendingMessageRequestExplanationLabel.bounds.height ?? 0) + (16 * 2)) + let oldContentInset: UIEdgeInsets = (self?.tableView.contentInset ?? UIEdgeInsets.zero) + self?.tableView.contentInset = UIEdgeInsets( + top: 0, + leading: 0, + bottom: max(oldContentInset.bottom - messageRequestsOffset, 0), + trailing: 0 + ) + } } } @@ -1096,11 +1146,12 @@ final class ConversationVC: BaseVC, ConversationSearchControllerDelegate, UITabl let keyboardTop = (UIScreen.main.bounds.height - keyboardRect.minY) let messageRequestsOffset: CGFloat = (messageRequestView.isHidden ? 0 : messageRequestView.bounds.height + 16) + let pendingMessageRequestsOffset: CGFloat = (pendingMessageRequestExplanationLabel.isHidden ? 0 : (pendingMessageRequestExplanationLabel.bounds.height + (16 * 2))) let oldContentInset: UIEdgeInsets = tableView.contentInset let newContentInset: UIEdgeInsets = UIEdgeInsets( top: 0, leading: 0, - bottom: (Values.mediumSpacing + keyboardTop + messageRequestsOffset), + bottom: (Values.mediumSpacing + keyboardTop + messageRequestsOffset + pendingMessageRequestsOffset), trailing: 0 ) let newContentOffsetY: CGFloat = (tableView.contentOffset.y + (newContentInset.bottom - oldContentInset.bottom)) diff --git a/Session/Meta/Translations/de.lproj/Localizable.strings b/Session/Meta/Translations/de.lproj/Localizable.strings index 4d4bc9477..0088b2bec 100644 --- a/Session/Meta/Translations/de.lproj/Localizable.strings +++ b/Session/Meta/Translations/de.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/en.lproj/Localizable.strings b/Session/Meta/Translations/en.lproj/Localizable.strings index 841705dd8..58ae00a85 100644 --- a/Session/Meta/Translations/en.lproj/Localizable.strings +++ b/Session/Meta/Translations/en.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/es.lproj/Localizable.strings b/Session/Meta/Translations/es.lproj/Localizable.strings index e29f7cc97..c85047355 100644 --- a/Session/Meta/Translations/es.lproj/Localizable.strings +++ b/Session/Meta/Translations/es.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/fa.lproj/Localizable.strings b/Session/Meta/Translations/fa.lproj/Localizable.strings index a81e8044e..fc7608274 100644 --- a/Session/Meta/Translations/fa.lproj/Localizable.strings +++ b/Session/Meta/Translations/fa.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ ناپدید‌شدن پیام ها را خاموش کرده است"; "MESSAGE_STATE_READ" = "خوانده شد"; "MESSAGE_STATE_SENT" = "ارسال شد"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/fi.lproj/Localizable.strings b/Session/Meta/Translations/fi.lproj/Localizable.strings index 1d7e90341..4ff458bd0 100644 --- a/Session/Meta/Translations/fi.lproj/Localizable.strings +++ b/Session/Meta/Translations/fi.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/fr.lproj/Localizable.strings b/Session/Meta/Translations/fr.lproj/Localizable.strings index e7fb9d015..881482017 100644 --- a/Session/Meta/Translations/fr.lproj/Localizable.strings +++ b/Session/Meta/Translations/fr.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/hi.lproj/Localizable.strings b/Session/Meta/Translations/hi.lproj/Localizable.strings index 8d6ede90a..1cf729168 100644 --- a/Session/Meta/Translations/hi.lproj/Localizable.strings +++ b/Session/Meta/Translations/hi.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/hr.lproj/Localizable.strings b/Session/Meta/Translations/hr.lproj/Localizable.strings index 0deac1b06..39fd0eda0 100644 --- a/Session/Meta/Translations/hr.lproj/Localizable.strings +++ b/Session/Meta/Translations/hr.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/id-ID.lproj/Localizable.strings b/Session/Meta/Translations/id-ID.lproj/Localizable.strings index 22277ac92..60468ace4 100644 --- a/Session/Meta/Translations/id-ID.lproj/Localizable.strings +++ b/Session/Meta/Translations/id-ID.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/it.lproj/Localizable.strings b/Session/Meta/Translations/it.lproj/Localizable.strings index eaa08769a..b528d3110 100644 --- a/Session/Meta/Translations/it.lproj/Localizable.strings +++ b/Session/Meta/Translations/it.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/ja.lproj/Localizable.strings b/Session/Meta/Translations/ja.lproj/Localizable.strings index 3aac5b031..f7933ef8d 100644 --- a/Session/Meta/Translations/ja.lproj/Localizable.strings +++ b/Session/Meta/Translations/ja.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/nl.lproj/Localizable.strings b/Session/Meta/Translations/nl.lproj/Localizable.strings index ab67ea5f0..38b5e5143 100644 --- a/Session/Meta/Translations/nl.lproj/Localizable.strings +++ b/Session/Meta/Translations/nl.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/pl.lproj/Localizable.strings b/Session/Meta/Translations/pl.lproj/Localizable.strings index 1c279d400..2c1ea7e14 100644 --- a/Session/Meta/Translations/pl.lproj/Localizable.strings +++ b/Session/Meta/Translations/pl.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/pt_BR.lproj/Localizable.strings b/Session/Meta/Translations/pt_BR.lproj/Localizable.strings index 014c097a2..1235bc38e 100644 --- a/Session/Meta/Translations/pt_BR.lproj/Localizable.strings +++ b/Session/Meta/Translations/pt_BR.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/ru.lproj/Localizable.strings b/Session/Meta/Translations/ru.lproj/Localizable.strings index 3358177c0..737d22897 100644 --- a/Session/Meta/Translations/ru.lproj/Localizable.strings +++ b/Session/Meta/Translations/ru.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/si.lproj/Localizable.strings b/Session/Meta/Translations/si.lproj/Localizable.strings index 0e8aaed9f..0e3bdae28 100644 --- a/Session/Meta/Translations/si.lproj/Localizable.strings +++ b/Session/Meta/Translations/si.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/sk.lproj/Localizable.strings b/Session/Meta/Translations/sk.lproj/Localizable.strings index 94949bd9e..58db95bb6 100644 --- a/Session/Meta/Translations/sk.lproj/Localizable.strings +++ b/Session/Meta/Translations/sk.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/sv.lproj/Localizable.strings b/Session/Meta/Translations/sv.lproj/Localizable.strings index 85dabb086..beaf86ca9 100644 --- a/Session/Meta/Translations/sv.lproj/Localizable.strings +++ b/Session/Meta/Translations/sv.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/th.lproj/Localizable.strings b/Session/Meta/Translations/th.lproj/Localizable.strings index f0ffc0536..9df4d727c 100644 --- a/Session/Meta/Translations/th.lproj/Localizable.strings +++ b/Session/Meta/Translations/th.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/vi-VN.lproj/Localizable.strings b/Session/Meta/Translations/vi-VN.lproj/Localizable.strings index 871a9255c..8045dc6c3 100644 --- a/Session/Meta/Translations/vi-VN.lproj/Localizable.strings +++ b/Session/Meta/Translations/vi-VN.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/zh-Hant.lproj/Localizable.strings b/Session/Meta/Translations/zh-Hant.lproj/Localizable.strings index 4fc986755..44d3ce9a2 100644 --- a/Session/Meta/Translations/zh-Hant.lproj/Localizable.strings +++ b/Session/Meta/Translations/zh-Hant.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request"; diff --git a/Session/Meta/Translations/zh_CN.lproj/Localizable.strings b/Session/Meta/Translations/zh_CN.lproj/Localizable.strings index 0dda67f24..a1374b94f 100644 --- a/Session/Meta/Translations/zh_CN.lproj/Localizable.strings +++ b/Session/Meta/Translations/zh_CN.lproj/Localizable.strings @@ -593,3 +593,4 @@ "DISAPPERING_MESSAGES_INFO_DISABLE" = "%@ has turned off disappearing messages"; "MESSAGE_STATE_READ" = "Read"; "MESSAGE_STATE_SENT" = "Sent"; +"MESSAGE_REQUEST_PENDING_APPROVAL_INFO" = "You will be able to send voice messages and attachments once the recipient has approved this message request";