1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-23 03:22:50 +02:00

[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",
"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"

View File

@ -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 },

View File

@ -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 },