mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-22 11:45:59 +01:00
[SG-805] Update copy for Autofill on page load (#4628)
* [SG-805] Update copy for Autofill on page load * [SG-805] Added learn more auto-fill hyperlink
This commit is contained in:
parent
2edbba8a2c
commit
dc082b0a7b
@ -960,7 +960,10 @@
|
||||
"message": "If a login form is detected, auto-fill when the web page loads."
|
||||
},
|
||||
"experimentalFeature": {
|
||||
"message": "This is currently an experimental feature. Use at your own risk."
|
||||
"message": "Compromised or untrusted websites can exploit auto-fill on page load."
|
||||
},
|
||||
"learnMoreAboutAutofill":{
|
||||
"message": "Learn more about auto-fill"
|
||||
},
|
||||
"defaultAutoFillOnPageLoad": {
|
||||
"message": "Default autofill setting for login items"
|
||||
|
@ -28,6 +28,7 @@
|
||||
{{ "enableAutoFillOnPageLoadDesc" | i18n }}
|
||||
<b>{{ "warning" | i18n }}</b
|
||||
>: {{ "experimentalFeature" | i18n }}
|
||||
<a (click)="AboutAutofill()">{{ "learnMoreAboutAutofill" | i18n }}</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box">
|
||||
|
@ -4,6 +4,8 @@ import { I18nService } from "@bitwarden/common/abstractions/i18n.service";
|
||||
import { StateService } from "@bitwarden/common/abstractions/state.service";
|
||||
import { UriMatchType } from "@bitwarden/common/enums/uriMatchType";
|
||||
|
||||
import { BrowserApi } from "../../browser/browserApi";
|
||||
|
||||
@Component({
|
||||
selector: "app-autofill",
|
||||
templateUrl: "autofill.component.html",
|
||||
@ -51,4 +53,8 @@ export class AutofillComponent implements OnInit {
|
||||
async saveDefaultUriMatch() {
|
||||
await this.stateService.setDefaultUriMatch(this.defaultUriMatch);
|
||||
}
|
||||
|
||||
AboutAutofill() {
|
||||
BrowserApi.createNewTab("https://bitwarden.com/help/auto-fill-browser/");
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user