[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
This commit is contained in:
Jonathan Prusik 2024-08-01 10:22:39 -04:00 committed by GitHub
parent 5dbdb33ac5
commit 0738495dee
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 2 deletions

View File

@ -1656,6 +1656,10 @@
"message": "Base domain", "message": "Base domain",
"description": "Domain name. Ex. website.com" "description": "Domain name. Ex. website.com"
}, },
"baseDomainOptionRecommended": {
"message": "Base domain (recommended)",
"description": "Domain name. Ex. website.com"
},
"domainName": { "domainName": {
"message": "Domain name", "message": "Domain name",
"description": "Domain name. Ex. website.com" "description": "Domain name. Ex. website.com"

View File

@ -84,7 +84,7 @@ export class AutofillV1Component implements OnInit {
{ name: i18nService.t("fiveMinutes"), value: 300 }, { name: i18nService.t("fiveMinutes"), value: 300 },
]; ];
this.uriMatchOptions = [ 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("host"), value: UriMatchStrategy.Host },
{ name: i18nService.t("startsWith"), value: UriMatchStrategy.StartsWith }, { name: i18nService.t("startsWith"), value: UriMatchStrategy.StartsWith },
{ name: i18nService.t("regEx"), value: UriMatchStrategy.RegularExpression }, { name: i18nService.t("regEx"), value: UriMatchStrategy.RegularExpression },

View File

@ -126,7 +126,7 @@ export class AutofillComponent implements OnInit {
{ name: i18nService.t("fiveMinutes"), value: ClearClipboardDelay.FiveMinutes }, { name: i18nService.t("fiveMinutes"), value: ClearClipboardDelay.FiveMinutes },
]; ];
this.uriMatchOptions = [ 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("host"), value: UriMatchStrategy.Host },
{ name: i18nService.t("startsWith"), value: UriMatchStrategy.StartsWith }, { name: i18nService.t("startsWith"), value: UriMatchStrategy.StartsWith },
{ name: i18nService.t("regEx"), value: UriMatchStrategy.RegularExpression }, { name: i18nService.t("regEx"), value: UriMatchStrategy.RegularExpression },