1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

show error when trying to enable browser integration on desktop (#2754)

This commit is contained in:
Jake Fink
2022-05-31 10:10:34 -04:00
committed by GitHub
parent 2f72286f66
commit f57f97fcdc
2 changed files with 17 additions and 6 deletions

View File

@@ -367,7 +367,7 @@ export class SettingsComponent implements OnInit {
if (process.platform === "darwin" && !this.platformUtilsService.isMacAppStore()) {
await this.platformUtilsService.showDialog(
this.i18nService.t("browserIntegrationMasOnlyDesc"),
this.i18nService.t("browserIntegrationMasOnlyTitle"),
this.i18nService.t("browserIntegrationUnsupportedTitle"),
this.i18nService.t("ok"),
null,
"warning"
@@ -378,7 +378,18 @@ export class SettingsComponent implements OnInit {
} else if (isWindowsStore()) {
await this.platformUtilsService.showDialog(
this.i18nService.t("browserIntegrationWindowsStoreDesc"),
this.i18nService.t("browserIntegrationWindowsStoreTitle"),
this.i18nService.t("browserIntegrationUnsupportedTitle"),
this.i18nService.t("ok"),
null,
"warning"
);
this.enableBrowserIntegration = false;
return;
} else if (process.platform == "linux") {
await this.platformUtilsService.showDialog(
this.i18nService.t("browserIntegrationLinuxDesc"),
this.i18nService.t("browserIntegrationUnsupportedTitle"),
this.i18nService.t("ok"),
null,
"warning"

View File

@@ -1518,18 +1518,18 @@
"enableBrowserIntegrationDesc": {
"message": "Browser integration is used for biometrics in browser."
},
"browserIntegrationMasOnlyTitle": {
"browserIntegrationUnsupportedTitle": {
"message": "Browser integration not supported"
},
"browserIntegrationMasOnlyDesc": {
"message": "Unfortunately browser integration is only supported in the Mac App Store version for now."
},
"browserIntegrationWindowsStoreTitle": {
"message": "Browser integration not supported"
},
"browserIntegrationWindowsStoreDesc": {
"message": "Unfortunately browser integration is currently not supported in the Windows Store version."
},
"browserIntegrationLinuxDesc": {
"message": "Unfortunately browser integration is currently not supported in the linux version."
},
"enableBrowserIntegrationFingerprint": {
"message": "Require verification for browser integration"
},