Update copy for the Electron Linux keyring backend error (#2295)

This commit is contained in:
Michael Telatynski
2025-04-30 12:13:12 +01:00
committed by GitHub
parent 00f3777fcf
commit 2699d04fd1
2 changed files with 2 additions and 1 deletions

View File

@@ -61,7 +61,7 @@
"unknown_backend_override_title": "Failed to load database",
"unsupported_keyring": "Your system has an unsupported keyring meaning the database cannot be opened.",
"unsupported_keyring_cta": "Use weaker encryption",
"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.",
"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.",
"unsupported_keyring_title": "System unsupported"
}
},

View File

@@ -266,6 +266,7 @@ class Store extends ElectronStore<StoreData> {
title: _t("store|error|unsupported_keyring_title"),
message: _t("store|error|unsupported_keyring"),
detail: _t("store|error|unsupported_keyring_detail", {
brand: global.vectorConfig.brand || "Element",
link: "https://www.electronjs.org/docs/latest/api/safe-storage#safestoragegetselectedstoragebackend-linux",
}),
type: "error",