diff --git a/Session/Conversations/ConversationVC.swift b/Session/Conversations/ConversationVC.swift index b31664f45..7b415a4be 100644 --- a/Session/Conversations/ConversationVC.swift +++ b/Session/Conversations/ConversationVC.swift @@ -338,6 +338,8 @@ final class ConversationVC: BaseVC, SessionUtilRespondingViewController, Convers result.themeTextColor = .textSecondary result.textAlignment = .center result.numberOfLines = 0 + result.accessibilityIdentifier = "Control message" + result.isAccessibilityElement = true return result }() diff --git a/Session/Home/HomeVC.swift b/Session/Home/HomeVC.swift index e68c2949e..9f39aa958 100644 --- a/Session/Home/HomeVC.swift +++ b/Session/Home/HomeVC.swift @@ -184,24 +184,28 @@ final class HomeVC: BaseVC, SessionUtilRespondingViewController, UITableViewData }() private lazy var emptyStateView: UIView = { - let explanationLabel = UILabel() - explanationLabel.font = .systemFont(ofSize: Values.smallFontSize) - explanationLabel.text = "vc_home_empty_state_message".localized() - explanationLabel.themeTextColor = .textPrimary - explanationLabel.textAlignment = .center - explanationLabel.lineBreakMode = .byWordWrapping - explanationLabel.numberOfLines = 0 - - let createNewPrivateChatButton = SessionButton(style: .bordered, size: .large) - createNewPrivateChatButton.setTitle("vc_home_empty_state_button_title".localized(), for: .normal) - createNewPrivateChatButton.addTarget(self, action: #selector(createNewConversation), for: .touchUpInside) - createNewPrivateChatButton.set(.width, to: Values.iPadButtonWidth) - - let result = UIStackView(arrangedSubviews: [ explanationLabel, createNewPrivateChatButton ]) + let emptyConvoLabel = UILabel() + emptyConvoLabel.font = .boldSystemFont(ofSize: Values.mediumFontSize) + emptyConvoLabel.text = "conversationsNone".localized() + emptyConvoLabel.themeTextColor = .textPrimary + emptyConvoLabel.textAlignment = .center + + let instructionLabel = UILabel() + instructionLabel.font = .systemFont(ofSize: Values.verySmallFontSize) + instructionLabel.text = "onboardingHitThePlusButton".localized() + instructionLabel.themeTextColor = .textPrimary + instructionLabel.textAlignment = .center + instructionLabel.lineBreakMode = .byWordWrapping + instructionLabel.numberOfLines = 0 + + let result = UIStackView(arrangedSubviews: [ + emptyConvoLabel, + UIView.vSpacer(Values.smallSpacing), + instructionLabel + ]) result.axis = .vertical - result.spacing = Values.mediumSpacing + result.spacing = Values.verySmallSpacing result.alignment = .center - result.isHidden = true return result }() @@ -222,21 +226,7 @@ final class HomeVC: BaseVC, SessionUtilRespondingViewController, UITableViewData welcomeLabel.text = "onboardingBubbleWelcomeToSession".localized() welcomeLabel.themeTextColor = .primary welcomeLabel.textAlignment = .center - - let emptyConvoLabel = UILabel() - emptyConvoLabel.font = .boldSystemFont(ofSize: Values.mediumFontSize) - emptyConvoLabel.text = "conversationsNone".localized() - emptyConvoLabel.themeTextColor = .textPrimary - emptyConvoLabel.textAlignment = .center - - let instructionLabel = UILabel() - instructionLabel.font = .systemFont(ofSize: Values.verySmallFontSize) - instructionLabel.text = "onboardingHitThePlusButton".localized() - instructionLabel.themeTextColor = .textPrimary - instructionLabel.textAlignment = .center - instructionLabel.lineBreakMode = .byWordWrapping - instructionLabel.numberOfLines = 0 - + let result = UIStackView(arrangedSubviews: [ image, accountCreatedLabel, @@ -244,9 +234,20 @@ final class HomeVC: BaseVC, SessionUtilRespondingViewController, UITableViewData UIView.vSpacer(Values.smallSpacing), UIView.line(), UIView.vSpacer(Values.smallSpacing), - emptyConvoLabel, - UIView.vSpacer(Values.smallSpacing), - instructionLabel + + ]) + result.axis = .vertical + result.spacing = Values.verySmallSpacing + result.alignment = .fill + result.isHidden = true + + return result + }() + + private lazy var emptyStateStackView: UIStackView = { + let result = UIStackView(arrangedSubviews: [ + accountCreatedView, + emptyStateView ]) result.axis = .vertical result.spacing = Values.verySmallSpacing @@ -298,16 +299,11 @@ final class HomeVC: BaseVC, SessionUtilRespondingViewController, UITableViewData tableView.pin(.bottom, to: .bottom, of: view) // Empty state view - view.addSubview(emptyStateView) - emptyStateView.center(.horizontal, in: view) - let verticalCenteringConstraint = emptyStateView.center(.vertical, in: view) - verticalCenteringConstraint.constant = -16 // Makes things appear centered visually - - view.addSubview(accountCreatedView) - accountCreatedView.pin(.leading, to: .leading, of: view, withInset: Values.accountCreatedViewHorizontalOffset) - accountCreatedView.pin(.trailing, to: .trailing, of: view, withInset: -Values.accountCreatedViewHorizontalOffset) - accountCreatedView.center(.horizontal, in: view) - let verticalCenteringConstraint2 = accountCreatedView.center(.vertical, in: view) + view.addSubview(emptyStateStackView) + emptyStateStackView.pin(.leading, to: .leading, of: view, withInset: Values.accountCreatedViewHorizontalOffset) + emptyStateStackView.pin(.trailing, to: .trailing, of: view, withInset: -Values.accountCreatedViewHorizontalOffset) + emptyStateStackView.center(.horizontal, in: view) + let verticalCenteringConstraint2 = emptyStateStackView.center(.vertical, in: view) verticalCenteringConstraint2.constant = -Values.massiveSpacing // Makes things appear centered visually // New conversation button @@ -454,17 +450,11 @@ final class HomeVC: BaseVC, SessionUtilRespondingViewController, UITableViewData self?.loadingConversationsLabel.isHidden = true // Show the empty state if there is no data - if self?.flow == .register { - self?.accountCreatedView.isHidden = ( - !updatedData.isEmpty && - updatedData.contains(where: { !$0.elements.isEmpty }) - ) - } else { - self?.emptyStateView.isHidden = ( - !updatedData.isEmpty && - updatedData.contains(where: { !$0.elements.isEmpty }) - ) - } + self?.accountCreatedView.isHidden = (self?.flow != .register) + self?.emptyStateStackView.isHidden = ( + !updatedData.isEmpty && + updatedData.contains(where: { !$0.elements.isEmpty }) + ) self?.viewModel.updateThreadData(updatedData) self?.tableView.reloadData() diff --git a/Session/Home/New Conversation/InviteAFriendScreen.swift b/Session/Home/New Conversation/InviteAFriendScreen.swift index b3f9c50ac..dc7c765e5 100644 --- a/Session/Home/New Conversation/InviteAFriendScreen.swift +++ b/Session/Home/New Conversation/InviteAFriendScreen.swift @@ -23,6 +23,12 @@ struct InviteAFriendScreen: View { .font(.system(size: Values.smallFontSize)) .multilineTextAlignment(.center) .foregroundColor(themeColor: .textPrimary) + .accessibility( + Accessibility( + identifier: "Your account ID", + label: "Your account ID" + ) + ) .frame( maxWidth: .infinity, maxHeight: .infinity @@ -66,6 +72,12 @@ struct InviteAFriendScreen: View { .stroke(themeColor: .textPrimary) ) } + .accessibility( + Accessibility( + identifier: "Share button", + label: "Share button" + ) + ) .frame(maxWidth: .infinity) Spacer(minLength: Values.mediumSpacing) @@ -88,6 +100,12 @@ struct InviteAFriendScreen: View { .stroke(themeColor: .textPrimary) ) } + .accessibility( + Accessibility( + identifier: "Copy button", + label: "Copy button" + ) + ) .frame(maxWidth: .infinity) } diff --git a/Session/Home/New Conversation/NewMessageScreen.swift b/Session/Home/New Conversation/NewMessageScreen.swift index 63a2fb224..a4e8d6d6a 100644 --- a/Session/Home/New Conversation/NewMessageScreen.swift +++ b/Session/Home/New Conversation/NewMessageScreen.swift @@ -155,7 +155,11 @@ struct EnterAccountIdScreen: View { SessionTextField( $accountIdOrONS, placeholder: "accountIdOrOnsEnter".localized(), - error: $error + error: $error, + accessibility: Accessibility( + identifier: "Session ID input box", + label: "Session ID input box" + ) ) { ZStack { if #available(iOS 14.0, *) { @@ -170,6 +174,12 @@ struct EnterAccountIdScreen: View { .multilineTextAlignment(.center) } } + .accessibility( + Accessibility( + identifier: "Help desk link", + label: "Help desk link" + ) + ) .padding(.horizontal, Values.smallSpacing) .padding(.top, Values.smallSpacing) .onTapGesture { @@ -199,6 +209,12 @@ struct EnterAccountIdScreen: View { .stroke(themeColor: .sessionButton_border) ) } + .accessibility( + Accessibility( + identifier: "Next", + label: "Next" + ) + ) .padding(.horizontal, Values.massiveSpacing) } } diff --git a/Session/Home/New Conversation/StartConversationScreen.swift b/Session/Home/New Conversation/StartConversationScreen.swift index 1bf90da10..5b73676f7 100644 --- a/Session/Home/New Conversation/StartConversationScreen.swift +++ b/Session/Home/New Conversation/StartConversationScreen.swift @@ -28,6 +28,12 @@ struct StartConversationScreen: View { viewController.setUpDismissingButton(on: .right) self.host.controller?.navigationController?.pushViewController(viewController, animated: true) } + .accessibility( + Accessibility( + identifier: "New direct message", + label: "New direct message" + ) + ) Line(color: .borderSeparator) .padding(.leading, 38 + Values.smallSpacing) @@ -40,6 +46,12 @@ struct StartConversationScreen: View { let viewController = NewClosedGroupVC() self.host.controller?.navigationController?.pushViewController(viewController, animated: true) } + .accessibility( + Accessibility( + identifier: "Create group", + label: "Create group" + ) + ) Line(color: .borderSeparator) .padding(.leading, 38 + Values.smallSpacing) @@ -52,6 +64,12 @@ struct StartConversationScreen: View { let viewController = JoinOpenGroupVC() self.host.controller?.navigationController?.pushViewController(viewController, animated: true) } + .accessibility( + Accessibility( + identifier: "Join community", + label: "Join community" + ) + ) Line(color: .borderSeparator) .padding(.leading, 38 + Values.smallSpacing) @@ -66,6 +84,12 @@ struct StartConversationScreen: View { viewController.setUpDismissingButton(on: .right) self.host.controller?.navigationController?.pushViewController(viewController, animated: true) } + .accessibility( + Accessibility( + identifier: "Invite friend button", + label: "Invite friend button" + ) + ) } .padding(.bottom, Values.mediumSpacing) diff --git a/Session/Meta/Translations/ar.lproj/Localizable.strings b/Session/Meta/Translations/ar.lproj/Localizable.strings index ac2e2c0ed..374182979 100644 --- a/Session/Meta/Translations/ar.lproj/Localizable.strings +++ b/Session/Meta/Translations/ar.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/be.lproj/Localizable.strings b/Session/Meta/Translations/be.lproj/Localizable.strings index 8e65bd8bc..0150f7cf2 100644 --- a/Session/Meta/Translations/be.lproj/Localizable.strings +++ b/Session/Meta/Translations/be.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/bg.lproj/Localizable.strings b/Session/Meta/Translations/bg.lproj/Localizable.strings index e48061cee..768d99c89 100644 --- a/Session/Meta/Translations/bg.lproj/Localizable.strings +++ b/Session/Meta/Translations/bg.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/bn.lproj/Localizable.strings b/Session/Meta/Translations/bn.lproj/Localizable.strings index 088470146..15735154d 100644 --- a/Session/Meta/Translations/bn.lproj/Localizable.strings +++ b/Session/Meta/Translations/bn.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/cs.lproj/Localizable.strings b/Session/Meta/Translations/cs.lproj/Localizable.strings index aebd58cdc..1c94c1dd8 100644 --- a/Session/Meta/Translations/cs.lproj/Localizable.strings +++ b/Session/Meta/Translations/cs.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/da.lproj/Localizable.strings b/Session/Meta/Translations/da.lproj/Localizable.strings index c102d1020..9cfb2843a 100644 --- a/Session/Meta/Translations/da.lproj/Localizable.strings +++ b/Session/Meta/Translations/da.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/de.lproj/Localizable.strings b/Session/Meta/Translations/de.lproj/Localizable.strings index b4e480cab..f6f680cce 100644 --- a/Session/Meta/Translations/de.lproj/Localizable.strings +++ b/Session/Meta/Translations/de.lproj/Localizable.strings @@ -1073,12 +1073,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1090,7 +1087,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/el.lproj/Localizable.strings b/Session/Meta/Translations/el.lproj/Localizable.strings index 52c6e3420..ef892991d 100644 --- a/Session/Meta/Translations/el.lproj/Localizable.strings +++ b/Session/Meta/Translations/el.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/en.lproj/Localizable.strings b/Session/Meta/Translations/en.lproj/Localizable.strings index 8e64febd0..6976ae1f3 100644 --- a/Session/Meta/Translations/en.lproj/Localizable.strings +++ b/Session/Meta/Translations/en.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/eo.lproj/Localizable.strings b/Session/Meta/Translations/eo.lproj/Localizable.strings index 6aa66201e..d382bf709 100644 --- a/Session/Meta/Translations/eo.lproj/Localizable.strings +++ b/Session/Meta/Translations/eo.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/es-ES.lproj/Localizable.strings b/Session/Meta/Translations/es-ES.lproj/Localizable.strings index 6d1a87070..07a33dc10 100644 --- a/Session/Meta/Translations/es-ES.lproj/Localizable.strings +++ b/Session/Meta/Translations/es-ES.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/fa.lproj/Localizable.strings b/Session/Meta/Translations/fa.lproj/Localizable.strings index 35c720653..69703be50 100644 --- a/Session/Meta/Translations/fa.lproj/Localizable.strings +++ b/Session/Meta/Translations/fa.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/fi.lproj/Localizable.strings b/Session/Meta/Translations/fi.lproj/Localizable.strings index 58a479c2d..298394222 100644 --- a/Session/Meta/Translations/fi.lproj/Localizable.strings +++ b/Session/Meta/Translations/fi.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/fil.lproj/Localizable.strings b/Session/Meta/Translations/fil.lproj/Localizable.strings index 8ffaae893..548d39a54 100644 --- a/Session/Meta/Translations/fil.lproj/Localizable.strings +++ b/Session/Meta/Translations/fil.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/fr.lproj/Localizable.strings b/Session/Meta/Translations/fr.lproj/Localizable.strings index c1d78a45a..d87474624 100644 --- a/Session/Meta/Translations/fr.lproj/Localizable.strings +++ b/Session/Meta/Translations/fr.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/hi.lproj/Localizable.strings b/Session/Meta/Translations/hi.lproj/Localizable.strings index d464ae70f..535c98d5a 100644 --- a/Session/Meta/Translations/hi.lproj/Localizable.strings +++ b/Session/Meta/Translations/hi.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/hr.lproj/Localizable.strings b/Session/Meta/Translations/hr.lproj/Localizable.strings index b9b79a4e0..d95f3de0d 100644 --- a/Session/Meta/Translations/hr.lproj/Localizable.strings +++ b/Session/Meta/Translations/hr.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/hu.lproj/Localizable.strings b/Session/Meta/Translations/hu.lproj/Localizable.strings index abbd987e8..794647224 100644 --- a/Session/Meta/Translations/hu.lproj/Localizable.strings +++ b/Session/Meta/Translations/hu.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/id.lproj/Localizable.strings b/Session/Meta/Translations/id.lproj/Localizable.strings index 1727e143b..e0ca0fba6 100644 --- a/Session/Meta/Translations/id.lproj/Localizable.strings +++ b/Session/Meta/Translations/id.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/it.lproj/Localizable.strings b/Session/Meta/Translations/it.lproj/Localizable.strings index 098dabf71..18b1254fb 100644 --- a/Session/Meta/Translations/it.lproj/Localizable.strings +++ b/Session/Meta/Translations/it.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/ja.lproj/Localizable.strings b/Session/Meta/Translations/ja.lproj/Localizable.strings index 0ae1bbbf5..05fd5f163 100644 --- a/Session/Meta/Translations/ja.lproj/Localizable.strings +++ b/Session/Meta/Translations/ja.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/ko.lproj/Localizable.strings b/Session/Meta/Translations/ko.lproj/Localizable.strings index 0916b6529..48423d113 100644 --- a/Session/Meta/Translations/ko.lproj/Localizable.strings +++ b/Session/Meta/Translations/ko.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/ku.lproj/Localizable.strings b/Session/Meta/Translations/ku.lproj/Localizable.strings index fccb0c75f..c2325d1db 100644 --- a/Session/Meta/Translations/ku.lproj/Localizable.strings +++ b/Session/Meta/Translations/ku.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/lt.lproj/Localizable.strings b/Session/Meta/Translations/lt.lproj/Localizable.strings index 34bd036aa..5a4e0df49 100644 --- a/Session/Meta/Translations/lt.lproj/Localizable.strings +++ b/Session/Meta/Translations/lt.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/lv.lproj/Localizable.strings b/Session/Meta/Translations/lv.lproj/Localizable.strings index 24c468252..55b8c1b7d 100644 --- a/Session/Meta/Translations/lv.lproj/Localizable.strings +++ b/Session/Meta/Translations/lv.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/ne-NP.lproj/Localizable.strings b/Session/Meta/Translations/ne-NP.lproj/Localizable.strings index d975398bf..7c16cfe8f 100644 --- a/Session/Meta/Translations/ne-NP.lproj/Localizable.strings +++ b/Session/Meta/Translations/ne-NP.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/nl.lproj/Localizable.strings b/Session/Meta/Translations/nl.lproj/Localizable.strings index e21e2abe4..94b06041f 100644 --- a/Session/Meta/Translations/nl.lproj/Localizable.strings +++ b/Session/Meta/Translations/nl.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/no.lproj/Localizable.strings b/Session/Meta/Translations/no.lproj/Localizable.strings index a0c279f7d..adffd3cf7 100644 --- a/Session/Meta/Translations/no.lproj/Localizable.strings +++ b/Session/Meta/Translations/no.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/pl.lproj/Localizable.strings b/Session/Meta/Translations/pl.lproj/Localizable.strings index d5e8ed873..2691ba348 100644 --- a/Session/Meta/Translations/pl.lproj/Localizable.strings +++ b/Session/Meta/Translations/pl.lproj/Localizable.strings @@ -1073,12 +1073,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1090,7 +1087,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/pt-BR.lproj/Localizable.strings b/Session/Meta/Translations/pt-BR.lproj/Localizable.strings index 42d60e2ca..28f292117 100644 --- a/Session/Meta/Translations/pt-BR.lproj/Localizable.strings +++ b/Session/Meta/Translations/pt-BR.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/pt-PT.lproj/Localizable.strings b/Session/Meta/Translations/pt-PT.lproj/Localizable.strings index 91093e0a9..34f0c46ad 100644 --- a/Session/Meta/Translations/pt-PT.lproj/Localizable.strings +++ b/Session/Meta/Translations/pt-PT.lproj/Localizable.strings @@ -1078,12 +1078,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1095,7 +1092,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/ro.lproj/Localizable.strings b/Session/Meta/Translations/ro.lproj/Localizable.strings index 919f7bbd7..25a3f36f0 100644 --- a/Session/Meta/Translations/ro.lproj/Localizable.strings +++ b/Session/Meta/Translations/ro.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/ru.lproj/Localizable.strings b/Session/Meta/Translations/ru.lproj/Localizable.strings index 88672261d..215144117 100644 --- a/Session/Meta/Translations/ru.lproj/Localizable.strings +++ b/Session/Meta/Translations/ru.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/si-LK.lproj/Localizable.strings b/Session/Meta/Translations/si-LK.lproj/Localizable.strings index ec1eb009e..e880b39b9 100644 --- a/Session/Meta/Translations/si-LK.lproj/Localizable.strings +++ b/Session/Meta/Translations/si-LK.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/sk.lproj/Localizable.strings b/Session/Meta/Translations/sk.lproj/Localizable.strings index 865c161e8..4377f7ae6 100644 --- a/Session/Meta/Translations/sk.lproj/Localizable.strings +++ b/Session/Meta/Translations/sk.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/sl.lproj/Localizable.strings b/Session/Meta/Translations/sl.lproj/Localizable.strings index 39b3463d6..ca096f0a7 100644 --- a/Session/Meta/Translations/sl.lproj/Localizable.strings +++ b/Session/Meta/Translations/sl.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/sv-SE.lproj/Localizable.strings b/Session/Meta/Translations/sv-SE.lproj/Localizable.strings index cffe64501..97be1020d 100644 --- a/Session/Meta/Translations/sv-SE.lproj/Localizable.strings +++ b/Session/Meta/Translations/sv-SE.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/th.lproj/Localizable.strings b/Session/Meta/Translations/th.lproj/Localizable.strings index 77037d7d8..58ef566d7 100644 --- a/Session/Meta/Translations/th.lproj/Localizable.strings +++ b/Session/Meta/Translations/th.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/tr.lproj/Localizable.strings b/Session/Meta/Translations/tr.lproj/Localizable.strings index 42594b6c7..41c6d0af9 100644 --- a/Session/Meta/Translations/tr.lproj/Localizable.strings +++ b/Session/Meta/Translations/tr.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/uk.lproj/Localizable.strings b/Session/Meta/Translations/uk.lproj/Localizable.strings index d4dc66548..8476170d2 100644 --- a/Session/Meta/Translations/uk.lproj/Localizable.strings +++ b/Session/Meta/Translations/uk.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/vi.lproj/Localizable.strings b/Session/Meta/Translations/vi.lproj/Localizable.strings index c23628a74..4f0f93f84 100644 --- a/Session/Meta/Translations/vi.lproj/Localizable.strings +++ b/Session/Meta/Translations/vi.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/zh-CN.lproj/Localizable.strings b/Session/Meta/Translations/zh-CN.lproj/Localizable.strings index 32a1c8d00..b0369c043 100644 --- a/Session/Meta/Translations/zh-CN.lproj/Localizable.strings +++ b/Session/Meta/Translations/zh-CN.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Meta/Translations/zh-TW.lproj/Localizable.strings b/Session/Meta/Translations/zh-TW.lproj/Localizable.strings index cefa6ab33..490aa74de 100644 --- a/Session/Meta/Translations/zh-TW.lproj/Localizable.strings +++ b/Session/Meta/Translations/zh-TW.lproj/Localizable.strings @@ -1072,12 +1072,9 @@ The point that a message will disappear in a disappearing message update message "onboarding_recovery_password_title" = "Save your recovery password"; "onboarding_recovery_password_subtitle" = "Save your recovery password to make sure you don't lose access to your account."; "onboarding_recovery_password_explanation" = "Use your password to load your account on new devices. Make sure it is stored in a safe place — and don't share it with anyone."; - "onboardingAccountCreated" = "Account Created"; - "conversationsNone" = "You don't have any conversations yet"; "onboardingHitThePlusButton" = "Hit the plus button to start a chat, create a group, or join an official community!"; - "onboarding_recovery_password_tab_explanation" = "Enter your recovery password to load your account. If you haven't saved it, you can find it in your app settings."; "recoveryPasswordEnter" = "Enter your recovery password"; "onboarding_load_account_title" = "Load Account"; @@ -1089,7 +1086,7 @@ The point that a message will disappear in a disappearing message update message "urlOpen" = "Open URL"; "urlOpenBrowswer" = "This will open in your browser."; "onboardingMessageNotificationExplaination" = "There are two ways Session can notify you of new messages."; - +"sessionRecoveryPassword" = "Recovery Password"; "recovery_password_explanation_1" = "Use your recovery password to load your account on new devices."; "recovery_password_explanation_2" = "Your account cannot be recovered without your recovery password. Make sure it's stored somewhere safe and secure — and don't share it with anyone."; "recoveryPasswordHideRecoveryPassword" = "Hide Recovery Password"; diff --git a/Session/Onboarding/DisplayNameScreen.swift b/Session/Onboarding/DisplayNameScreen.swift index c9f0f906c..0f9de4c55 100644 --- a/Session/Onboarding/DisplayNameScreen.swift +++ b/Session/Onboarding/DisplayNameScreen.swift @@ -52,8 +52,12 @@ struct DisplayNameScreen: View { SessionTextField( $displayName, placeholder: "displayNameEnter".localized(), - error: $error - ) {} + error: $error, + accessibility: Accessibility( + identifier: "Enter display name", + label: "Enter display name" + ) + ) Spacer(minLength: 0) .frame(maxHeight: Values.massiveSpacing) @@ -83,6 +87,12 @@ struct DisplayNameScreen: View { .stroke(themeColor: .sessionButton_border) ) } + .accessibility( + Accessibility( + identifier: "Continue", + label: "Continue" + ) + ) .padding(.horizontal, Values.massiveSpacing) } .padding(.vertical, Values.mediumSpacing) diff --git a/Session/Onboarding/LandingScreen.swift b/Session/Onboarding/LandingScreen.swift index a3b312160..d61da0c7b 100644 --- a/Session/Onboarding/LandingScreen.swift +++ b/Session/Onboarding/LandingScreen.swift @@ -62,6 +62,12 @@ struct LandingScreen: View { .backgroundColor(themeColor: .sessionButton_primaryFilledBackground) .cornerRadius(Values.largeButtonHeight / 2) } + .accessibility( + Accessibility( + identifier: "Create account button", + label: "Create account button" + ) + ) .padding(.horizontal, Values.massiveSpacing) Button { @@ -81,6 +87,12 @@ struct LandingScreen: View { .stroke(themeColor: .sessionButton_border) ) } + .accessibility( + Accessibility( + identifier: "Restore your session button", + label: "Restore your session button" + ) + ) .padding(.horizontal, Values.massiveSpacing) Button { @@ -134,8 +146,16 @@ struct LandingScreen: View { title: "urlOpen".localized(), body: .text("urlOpenBrowswer".localized()), confirmTitle: "terms_of_service".localized(), + confirmAccessibility: Accessibility( + identifier: "Terms of service button", + label: "Terms of service button" + ), confirmStyle: .textPrimary, cancelTitle: "privacy_policy".localized(), + cancelAccessibility: Accessibility( + identifier: "Privacy policy button", + label: "Privacy policy button" + ), cancelStyle: .textPrimary, onConfirm: { _ in if let url: URL = URL(string: "https://getsession.org/terms-of-service") { diff --git a/Session/Onboarding/LoadAccountScreen.swift b/Session/Onboarding/LoadAccountScreen.swift index 70f4e07ff..2225bc360 100644 --- a/Session/Onboarding/LoadAccountScreen.swift +++ b/Session/Onboarding/LoadAccountScreen.swift @@ -162,8 +162,12 @@ struct EnterRecoveryPasswordScreen: View{ SessionTextField( $recoveryPassword, placeholder: "recoveryPasswordEnter".localized(), - error: $error - ) {} + error: $error, + accessibility: Accessibility( + identifier: "Recovery password input", + label: "Recovery password input" + ) + ) Spacer(minLength: 0) .frame(maxHeight: Values.massiveSpacing) @@ -193,6 +197,12 @@ struct EnterRecoveryPasswordScreen: View{ .stroke(themeColor: .sessionButton_border) ) } + .accessibility( + Accessibility( + identifier: "Continue", + label: "Continue" + ) + ) .padding(.horizontal, Values.massiveSpacing) } .padding(.vertical, Values.mediumSpacing) diff --git a/Session/Onboarding/LoadingScreen.swift b/Session/Onboarding/LoadingScreen.swift index 6b0386da1..0ca9e2d17 100644 --- a/Session/Onboarding/LoadingScreen.swift +++ b/Session/Onboarding/LoadingScreen.swift @@ -34,6 +34,12 @@ struct LoadingScreen: View { Spacer() CircularProgressView($percentage) + .accessibility( + Accessibility( + identifier: "Loading animation", + label: "Loading animation" + ) + ) .padding(.horizontal, Values.massiveSpacing) .padding(.bottom, Values.mediumSpacing) .onAppear { diff --git a/Session/Onboarding/PNModeScreen.swift b/Session/Onboarding/PNModeScreen.swift index 30640fb0b..6b816ec86 100644 --- a/Session/Onboarding/PNModeScreen.swift +++ b/Session/Onboarding/PNModeScreen.swift @@ -28,13 +28,21 @@ struct PNModeScreen: View { mode: .fast, title: "fast_mode".localized(), explanation: "fast_mode_explanation".localized(), - isRecommended: true + isRecommended: true, + accessibility: Accessibility( + identifier: "Fast mode notifications button", + label: "Fast mode notifications button" + ) ), PNOptionView.Info( mode: .slow, title: "slow_mode".localized(), explanation: "slow_mode_explanation".localized(), - isRecommended: false + isRecommended: false, + accessibility: Accessibility( + identifier: "Slow mode notifications button", + label: "Slow mode notifications button" + ) ) ] @@ -74,6 +82,7 @@ struct PNModeScreen: View { currentSelection: $currentSelection, info: options[index] ) + .accessibility(options[index].accessibility) } } @@ -102,6 +111,12 @@ struct PNModeScreen: View { .stroke(themeColor: .sessionButton_border) ) } + .accessibility( + Accessibility( + identifier: "Continue", + label: "Continue" + ) + ) .padding(.horizontal, Values.massiveSpacing) } .padding(.vertical, Values.mediumSpacing) @@ -160,6 +175,7 @@ struct PNOptionView: View { let title: String let explanation: String let isRecommended: Bool + let accessibility: Accessibility } @Binding var currentSelection: PNMode diff --git a/Session/Onboarding/SeedReminderView.swift b/Session/Onboarding/SeedReminderView.swift index eded9a1c6..bd16adbe2 100644 --- a/Session/Onboarding/SeedReminderView.swift +++ b/Session/Onboarding/SeedReminderView.swift @@ -96,7 +96,8 @@ final class SeedReminderView: UIView { // Set up button let button = SessionButton(style: .bordered, size: .small) button.setContentCompressionResistancePriority(.required, for: .horizontal) - button.accessibilityLabel = "Continue" + button.accessibilityIdentifier = "Reveal recovery phrase button" + button.accessibilityLabel = "Reveal recovery phrase button" button.isAccessibilityElement = true button.setTitle("continue_2".localized(), for: UIControl.State.normal) button.set(.width, greaterThanOrEqualTo: 80) diff --git a/Session/Settings/RecoveryPasswordScreen.swift b/Session/Settings/RecoveryPasswordScreen.swift index d113445cd..1f11f8893 100644 --- a/Session/Settings/RecoveryPasswordScreen.swift +++ b/Session/Settings/RecoveryPasswordScreen.swift @@ -215,6 +215,12 @@ struct RecoveryPasswordScreen: View { .stroke(themeColor: .danger) ) } + .accessibility( + Accessibility( + identifier: "Hide recovery password button", + label: "Hide recovery password button" + ) + ) } .padding(.all, Values.mediumSpacing) } @@ -244,7 +250,15 @@ struct RecoveryPasswordScreen: View { "hide_recovery_password_modal_warning_2".localized() ), confirmTitle: "continue_2".localized(), + confirmAccessibility: Accessibility( + identifier: "Continue", + label: "Continue" + ), confirmStyle: .danger, + cancelAccessibility: Accessibility( + identifier: "Cancel", + label: "Cancel" + ), cancelStyle: .textPrimary, onConfirm: { modal in guard let presentingViewController: UIViewController = modal.presentingViewController else { @@ -256,8 +270,16 @@ struct RecoveryPasswordScreen: View { title: "recoveryPasswordHidePermanently".localized(), body: .text("recoveryPasswordHidePermanentlyDescription2".localized()), confirmTitle: "TXT_CANCEL_TITLE".localized(), + confirmAccessibility: Accessibility( + identifier: "Cancel", + label: "Cancel" + ), confirmStyle: .textPrimary, cancelTitle: "yes".localized(), + cancelAccessibility: Accessibility( + identifier: "Confirm button", + label: "Confirm button" + ), cancelStyle: .danger, onCancel: { modal in modal.dismiss(animated: true) { diff --git a/Session/Settings/SettingsViewModel.swift b/Session/Settings/SettingsViewModel.swift index fa6d746e8..2d56c764e 100644 --- a/Session/Settings/SettingsViewModel.swift +++ b/Session/Settings/SettingsViewModel.swift @@ -435,6 +435,10 @@ class SettingsViewModel: SessionTableViewModel, NavigationItemSource, Navigatabl .withRenderingMode(.alwaysTemplate) ), title: "sessionRecoveryPassword".localized(), + accessibility: Accessibility( + identifier: "Recovery password menu item", + label: "Recovery password menu item" + ), onTap: { if let recoveryPasswordView: RecoveryPasswordScreen = try? RecoveryPasswordScreen() { let viewController: SessionHostingViewController = SessionHostingViewController(rootView: recoveryPasswordView) diff --git a/SessionUIKit/Components/SwiftUI/SessionTextField.swift b/SessionUIKit/Components/SwiftUI/SessionTextField.swift index 5db887d41..31ffff55e 100644 --- a/SessionUIKit/Components/SwiftUI/SessionTextField.swift +++ b/SessionUIKit/Components/SwiftUI/SessionTextField.swift @@ -11,6 +11,7 @@ public struct SessionTextField: View where ExplanationView: Vie let explanationView: () -> ExplanationView let placeholder: String + let accessibility: Accessibility var textThemeColor: ThemeValue { (error?.isEmpty == false) ? .danger : .textPrimary } @@ -23,9 +24,18 @@ public struct SessionTextField: View where ExplanationView: Vie let height: CGFloat = isIPhone5OrSmaller ? CGFloat(48) : CGFloat(80) let cornerRadius: CGFloat = 13 - public init(_ text: Binding, placeholder: String, error: Binding, @ViewBuilder explanationView: @escaping () -> ExplanationView) { + public init( + _ text: Binding, + placeholder: String, + error: Binding, + accessibility: Accessibility = Accessibility(), + @ViewBuilder explanationView: @escaping () -> ExplanationView = { + EmptyView() + } + ) { self._text = text self.placeholder = placeholder + self.accessibility = accessibility self._error = error self.explanationView = explanationView UITextView.appearance().backgroundColor = .clear @@ -56,6 +66,7 @@ public struct SessionTextField: View where ExplanationView: Vie ) .font(.system(size: Values.smallFontSize)) .foregroundColor(themeColor: textThemeColor) + .accessibility(self.accessibility) } else if #available(iOS 14.0, *) { ZStack { TextEditor( @@ -69,6 +80,7 @@ public struct SessionTextField: View where ExplanationView: Vie .font(.system(size: Values.smallFontSize)) .foregroundColor(themeColor: textThemeColor) .textViewTransparentScrolling() + .accessibility(self.accessibility) .frame(maxHeight: self.height) .padding(.all, -4) @@ -95,6 +107,7 @@ public struct SessionTextField: View where ExplanationView: Vie ) .font(.system(size: Values.smallFontSize)) .foregroundColor(themeColor: textThemeColor) + .accessibility(self.accessibility) } } .padding(.horizontal, Values.largeSpacing) @@ -109,22 +122,27 @@ public struct SessionTextField: View where ExplanationView: Vie ) .stroke(themeColor: isErrorMode ? .danger : .borderSeparator) ) - - if isErrorMode { - ZStack { + ZStack { + if isErrorMode { Text(error ?? previousError) .bold() .font(.system(size: Values.smallFontSize)) .foregroundColor(themeColor: .danger) .multilineTextAlignment(.center) + .accessibility( + Accessibility( + identifier: "Error message", + label: "Error message" + ) + ) + } else { + explanationView() } - .frame( - height: 50, - alignment: .top - ) - } else { - explanationView() } + .frame( + height: 50, + alignment: .top + ) } } } diff --git a/SessionUIKit/Utilities/SwiftUI+Utilities.swift b/SessionUIKit/Utilities/SwiftUI+Utilities.swift index c6ba83c1c..0db56d2f6 100644 --- a/SessionUIKit/Utilities/SwiftUI+Utilities.swift +++ b/SessionUIKit/Utilities/SwiftUI+Utilities.swift @@ -133,9 +133,13 @@ extension View { } } -// public func swipeActions() -> some View { -// -// } + public func accessibility(_ accessibility: Accessibility) -> some View { + if #available(iOSApplicationExtension 14.0, *) { + return accessibilityIdentifier(accessibility.identifier ?? "").accessibilityLabel(accessibility.label ?? "") + } else { + return self + } + } } extension Binding {