Skip to content

Commit

Permalink
Update copy
Browse files Browse the repository at this point in the history
  • Loading branch information
Anderas committed Mar 28, 2023
1 parent bff0b28 commit 8202617
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
4 changes: 2 additions & 2 deletions Riot/Assets/en.lproj/Vector.strings
Original file line number Diff line number Diff line change
Expand Up @@ -1562,8 +1562,8 @@ Tap the + to start adding people.";

// Legacy to Rust security upgrade

"key_verification_self_verify_security_upgrade_alert_title" = "Encryption upgraded";
"key_verification_self_verify_security_upgrade_alert_message" = "The end-to-end encryption has been upgraded to be more secure. Please re-verify your account.";
"key_verification_self_verify_security_upgrade_alert_title" = "App updated";
"key_verification_self_verify_security_upgrade_alert_message" = "Secure messaging has been improved with the latest update. Please re-verify your device.";

// Unverified sessions
"key_verification_alert_title" = "You have unverified sessions";
Expand Down
4 changes: 2 additions & 2 deletions Riot/Generated/Strings.swift
Original file line number Diff line number Diff line change
Expand Up @@ -3027,11 +3027,11 @@ public class VectorL10n: NSObject {
public static var keyVerificationSelfVerifyCurrentSessionAlertValidateAction: String {
return VectorL10n.tr("Vector", "key_verification_self_verify_current_session_alert_validate_action")
}
/// Your end-to-end encryption algorithms have been upgraded to be more secure. Please re-verify your account.
/// Secure messaging has been improved with the latest update. Please re-verify your device.
public static var keyVerificationSelfVerifySecurityUpgradeAlertMessage: String {
return VectorL10n.tr("Vector", "key_verification_self_verify_security_upgrade_alert_message")
}
/// Encryption upgraded
/// App updated
public static var keyVerificationSelfVerifySecurityUpgradeAlertTitle: String {
return VectorL10n.tr("Vector", "key_verification_self_verify_security_upgrade_alert_title")
}
Expand Down
6 changes: 2 additions & 4 deletions Riot/Modules/Home/AllChats/AllChatsViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -988,10 +988,8 @@ extension AllChatsViewController: SplitViewMasterViewControllerProtocol {
let title: String
let message: String

if
let feature = MXSDKOptions.sharedInstance().cryptoSDKFeature,
feature.isEnabled && feature.needsVerificationUpgrade
{
if let feature = MXSDKOptions.sharedInstance().cryptoSDKFeature,
feature.isEnabled && feature.needsVerificationUpgrade {
title = VectorL10n.keyVerificationSelfVerifySecurityUpgradeAlertTitle
message = VectorL10n.keyVerificationSelfVerifySecurityUpgradeAlertMessage
} else {
Expand Down

0 comments on commit 8202617

Please sign in to comment.