rename to match detection

This commit is contained in:
Kyle Spearrin 2018-03-12 12:28:41 -04:00
parent 4895aa2181
commit 89bdfac963
3 changed files with 8 additions and 8 deletions

View File

@ -191,7 +191,7 @@
<input id="loginUri{{i}}" type="text" name="Login.Uris[{{i}}].Uri" [(ngModel)]="u.uri" <input id="loginUri{{i}}" type="text" name="Login.Uris[{{i}}].Uri" [(ngModel)]="u.uri"
placeholder="{{'ex' | i18n}} https://google.com"> placeholder="{{'ex' | i18n}} https://google.com">
<label for="loginUriMatch{{i}}" class="sr-only"> <label for="loginUriMatch{{i}}" class="sr-only">
{{'autofillDetection' | i18n}} {{(i + 1)}} {{'matchDetection' | i18n}} {{(i + 1)}}
</label> </label>
<select id="loginUriMatch{{i}}" name="Login.Uris[{{i}}].Match" [(ngModel)]="u.match" <select id="loginUriMatch{{i}}" name="Login.Uris[{{i}}].Match" [(ngModel)]="u.match"
[hidden]="u.showOptions === false || (u.showOptions == null && u.match == null)" [hidden]="u.showOptions === false || (u.showOptions == null && u.match == null)"

View File

@ -113,7 +113,7 @@ export class AddEditComponent implements OnChanges {
{ name: i18nService.t('cfTypeBoolean'), value: FieldType.Boolean }, { name: i18nService.t('cfTypeBoolean'), value: FieldType.Boolean },
]; ];
this.uriMatchOptions = [ this.uriMatchOptions = [
{ name: i18nService.t('defaultAutofillDetection'), value: null }, { name: i18nService.t('defaultMatchDetection'), value: null },
{ name: i18nService.t('baseDomain'), value: UriMatchType.Domain }, { name: i18nService.t('baseDomain'), value: UriMatchType.Domain },
{ name: i18nService.t('host'), value: UriMatchType.Host }, { name: i18nService.t('host'), value: UriMatchType.Host },
{ name: i18nService.t('startsWith'), value: UriMatchType.StartsWith }, { name: i18nService.t('startsWith'), value: UriMatchType.StartsWith },

View File

@ -1000,13 +1000,13 @@
"message": "Regular expression", "message": "Regular expression",
"description": "A programming term, also known as 'RegEx'." "description": "A programming term, also known as 'RegEx'."
}, },
"autofillDetection": { "matchDetection": {
"message": "Auto-fill Detection", "message": "Match Detection",
"description": "URI auto-fill match detection." "description": "URI match detection for auto-fill."
}, },
"defaultAutofillDetection": { "defaultMatchDetection": {
"message": "Default auto-fill detection", "message": "Default match detection",
"description": "Default URI auto-fill match detection." "description": "Default URI match detection for auto-fill."
}, },
"toggleOptions": { "toggleOptions": {
"message": "Toggle Options" "message": "Toggle Options"