Skip to content

Commit 746c975

Browse files
authored
Merge pull request #23399 from brave/ios/bugfix/sync-format-updates
2 parents eed2fa5 + aae99bd commit 746c975

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

ios/brave-ios/Sources/Brave/Frontend/Sync/SyncSettingsTableViewController.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ class SyncSettingsTableViewController: SyncViewController, UITableViewDelegate,
220220
case .syncChainDeleteConfirmation:
221221
title = Strings.Sync.syncDeleteAccountAlertTitle
222222
message =
223-
"\(Strings.Sync.syncDeleteAccountAlertDescriptionPart1).\n\n\(Strings.Sync.syncDeleteAccountAlertDescriptionPart2)"
223+
"\(Strings.Sync.syncDeleteAccountAlertDescriptionPart1)\n\n\(Strings.Sync.syncDeleteAccountAlertDescriptionPart2)\n\n\(Strings.Sync.syncDeleteAccountAlertDescriptionPart3)"
224224
removeButtonName = Strings.delete
225225
case .syncChainDeleteError:
226226
title = Strings.Sync.syncChainAccountDeletionErrorTitle

ios/brave-ios/Sources/BraveStrings/BraveStrings.swift

+11-3
Original file line numberDiff line numberDiff line change
@@ -2829,7 +2829,7 @@ extension Strings {
28292829
tableName: "BraveShared",
28302830
bundle: .module,
28312831
value:
2832-
"This sync code was generated by an outdated version of Brave on another device. Please update Brave on all synced devices and try again.",
2832+
"It looks like this code was created on a device running an older version of Brave. Please update to the latest version of Brave on your other device, and then create a new sync code.",
28332833
comment: "Sync Error Description"
28342834
)
28352835
public static let syncExpiredError = NSLocalizedString(
@@ -8348,17 +8348,25 @@ extension Strings {
83488348
tableName: "BraveShared",
83498349
bundle: .module,
83508350
value:
8351-
"Deleting your account will remove your encrypted data from Brave servers and disable Sync on all of your connected devices. It will not however delete the data that is stored locally on those devices.",
8351+
"Deleting your account will remove your encrypted data from Brave servers and disable Sync on all of your connected devices.",
83528352
comment: "Part 1 Description for Alert used action Delete Sync Account."
83538353
)
83548354
public static let syncDeleteAccountAlertDescriptionPart2 =
83558355
NSLocalizedString(
83568356
"sync.syncDeleteAccountAlertDescriptionPart2",
83578357
tableName: "BraveShared",
83588358
bundle: .module,
8359+
value: "It will not however delete the data that is stored locally on those devices.",
8360+
comment: "Part 2 Description for Alert used action Delete Sync Account."
8361+
)
8362+
public static let syncDeleteAccountAlertDescriptionPart3 =
8363+
NSLocalizedString(
8364+
"sync.syncDeleteAccountAlertDescriptionPart3",
8365+
tableName: "BraveShared",
8366+
bundle: .module,
83598367
value:
83608368
"This deletion is permanent and there is no way to recover the data. Should you decide to start using Sync again, you will need to create a new account and re-add each device one by one.",
8361-
comment: "Part 2 Description for Alert used action Delete Sync Account."
8369+
comment: "Part 3 Description for Alert used action Delete Sync Account."
83628370
)
83638371
public static let syncChainAlreadyDeletedAlertTitle =
83648372
NSLocalizedString(

0 commit comments

Comments
 (0)