Skip to content

Commit 2699d04

Browse files
authored
Update copy for the Electron Linux keyring backend error (#2295)
1 parent 00f3777 commit 2699d04

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/i18n/strings/en_EN.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"unknown_backend_override_title": "Failed to load database",
6262
"unsupported_keyring": "Your system has an unsupported keyring meaning the database cannot be opened.",
6363
"unsupported_keyring_cta": "Use weaker encryption",
64-
"unsupported_keyring_detail": "Electron's keyring detection did not find a supported backend, you may be able to convince it to use one on your system anyway, see %(link)s.",
64+
"unsupported_keyring_detail": "Electron's keyring detection did not find a supported backend. You can attempt to manually configure the backend by starting %(brand)s with a command-line argument, a one-time operation. See %(link)s.",
6565
"unsupported_keyring_title": "System unsupported"
6666
}
6767
},

src/store.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,7 @@ class Store extends ElectronStore<StoreData> {
266266
title: _t("store|error|unsupported_keyring_title"),
267267
message: _t("store|error|unsupported_keyring"),
268268
detail: _t("store|error|unsupported_keyring_detail", {
269+
brand: global.vectorConfig.brand || "Element",
269270
link: "https://www.electronjs.org/docs/latest/api/safe-storage#safestoragegetselectedstoragebackend-linux",
270271
}),
271272
type: "error",

0 commit comments

Comments
 (0)