Browse Source

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

pull/2761/head
Jake Fink 4 years ago committed by GitHub
parent
commit
f57f97fcdc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 15
      apps/desktop/src/app/accounts/settings.component.ts
  2. 8
      apps/desktop/src/locales/en/messages.json

15
apps/desktop/src/app/accounts/settings.component.ts

@ -367,7 +367,7 @@ export class SettingsComponent implements OnInit { @@ -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 { @@ -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"

8
apps/desktop/src/locales/en/messages.json

@ -1518,18 +1518,18 @@ @@ -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"
},

Loading…
Cancel
Save