From 0738495deee5c18520b3736d6414c50c773830e2 Mon Sep 17 00:00:00 2001 From: Jonathan Prusik Date: Thu, 1 Aug 2024 10:22:39 -0400 Subject: [PATCH] [PM-10134] Add text to default URI match detection select (#10346) * add text to default URI match detection select * add separate entry for recommended option variant --- apps/browser/src/_locales/en/messages.json | 4 ++++ .../src/autofill/popup/settings/autofill-v1.component.ts | 2 +- .../browser/src/autofill/popup/settings/autofill.component.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/apps/browser/src/_locales/en/messages.json b/apps/browser/src/_locales/en/messages.json index 582aa254c7..491c04cc41 100644 --- a/apps/browser/src/_locales/en/messages.json +++ b/apps/browser/src/_locales/en/messages.json @@ -1656,6 +1656,10 @@ "message": "Base domain", "description": "Domain name. Ex. website.com" }, + "baseDomainOptionRecommended": { + "message": "Base domain (recommended)", + "description": "Domain name. Ex. website.com" + }, "domainName": { "message": "Domain name", "description": "Domain name. Ex. website.com" diff --git a/apps/browser/src/autofill/popup/settings/autofill-v1.component.ts b/apps/browser/src/autofill/popup/settings/autofill-v1.component.ts index 20657693fd..8adee86bcf 100644 --- a/apps/browser/src/autofill/popup/settings/autofill-v1.component.ts +++ b/apps/browser/src/autofill/popup/settings/autofill-v1.component.ts @@ -84,7 +84,7 @@ export class AutofillV1Component implements OnInit { { name: i18nService.t("fiveMinutes"), value: 300 }, ]; this.uriMatchOptions = [ - { name: i18nService.t("baseDomain"), value: UriMatchStrategy.Domain }, + { name: i18nService.t("baseDomainOptionRecommended"), value: UriMatchStrategy.Domain }, { name: i18nService.t("host"), value: UriMatchStrategy.Host }, { name: i18nService.t("startsWith"), value: UriMatchStrategy.StartsWith }, { name: i18nService.t("regEx"), value: UriMatchStrategy.RegularExpression }, diff --git a/apps/browser/src/autofill/popup/settings/autofill.component.ts b/apps/browser/src/autofill/popup/settings/autofill.component.ts index 0df81cbf6e..617041a2b1 100644 --- a/apps/browser/src/autofill/popup/settings/autofill.component.ts +++ b/apps/browser/src/autofill/popup/settings/autofill.component.ts @@ -126,7 +126,7 @@ export class AutofillComponent implements OnInit { { name: i18nService.t("fiveMinutes"), value: ClearClipboardDelay.FiveMinutes }, ]; this.uriMatchOptions = [ - { name: i18nService.t("baseDomain"), value: UriMatchStrategy.Domain }, + { name: i18nService.t("baseDomainOptionRecommended"), value: UriMatchStrategy.Domain }, { name: i18nService.t("host"), value: UriMatchStrategy.Host }, { name: i18nService.t("startsWith"), value: UriMatchStrategy.StartsWith }, { name: i18nService.t("regEx"), value: UriMatchStrategy.RegularExpression },