Skip to content

Commit 82f7c33

Browse files
committed
fix(messages): Use the word 'links' in failsafe message
instead of bookmarks to include tabs fixes #1994 Signed-off-by: Marcel Klehr <[email protected]>
1 parent 6ab7dc3 commit 82f7c33

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

_locales/en/messages.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"message": "E028: Couldn't authenticate with the server."
8585
},
8686
"Error029": {
87-
"message": "E029: Failsafe: The current sync run would delete {0}% of your bookmarks. Refusing to execute. Disable this failsafe in the account settings if you want to proceed anyway."
87+
"message": "E029: Failsafe: The current sync run would delete {0}% of your links. Refusing to execute. Disable this failsafe in the account settings if you want to proceed anyway."
8888
},
8989
"Error030": {
9090
"message": "E030: Failed to decrypt bookmarks file. The passphrase may be wrong or the file may be corrupted."

src/errors/Error.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export class DeletionFailsafeError extends FloccusError {
244244
public percent: number
245245

246246
constructor(percent:number) {
247-
super(`E029: Failsafe: The current sync run would delete ${percent}% of your bookmarks. Refusing to execute. Disable this failsafe in the profile settings if you want to proceed anyway.`)
247+
super(`E029: Failsafe: The current sync run would delete ${percent}% of your links. Refusing to execute. Disable this failsafe in the profile settings if you want to proceed anyway.`)
248248
this.code = 29
249249
this.percent = percent
250250
Object.setPrototypeOf(this, DeletionFailsafeError.prototype)

0 commit comments

Comments
 (0)