mirror of
https://github.com/bitwarden/browser
synced 2026-01-30 16:23:53 +00:00
Refactor autofill policy naming and update related translations (#18628)
- Renamed `activateAutofill` to `activateAutofillPolicy` in the policy order map and component. - Updated corresponding translation keys in `messages.json` for consistency. - Adjusted warning message in the `activate-autofill.component.html` to reflect the new naming convention.
This commit is contained in:
@@ -20,7 +20,7 @@ const POLICY_ORDER_MAP = new Map<string, number>([
|
||||
["removeUnlockWithPinPolicyTitle", 10],
|
||||
["passwordGenerator", 11],
|
||||
["uriMatchDetectionPolicy", 12],
|
||||
["activateAutofill", 13],
|
||||
["activateAutofillPolicy", 13],
|
||||
["sendOptions", 14],
|
||||
["disableSend", 15],
|
||||
["restrictedItemTypePolicy", 16],
|
||||
|
||||
@@ -6937,17 +6937,17 @@
|
||||
"personalVaultExportPolicyInEffect": {
|
||||
"message": "One or more organization policies prevents you from exporting your individual vault."
|
||||
},
|
||||
"activateAutofill": {
|
||||
"message": "Activate auto-fill"
|
||||
"activateAutofillPolicy": {
|
||||
"message": "Activate autofill"
|
||||
},
|
||||
"activateAutofillPolicyDescription": {
|
||||
"message": "Activate the autofill on page load setting on the browser extension for all existing and new members."
|
||||
},
|
||||
"experimentalFeature": {
|
||||
"message": "Compromised or untrusted websites can exploit auto-fill on page load."
|
||||
"autofillOnPageLoadExploitWarning": {
|
||||
"message": "Compromised or untrusted websites can exploit autofill on page load."
|
||||
},
|
||||
"learnMoreAboutAutofill": {
|
||||
"message": "Learn more about auto-fill"
|
||||
"learnMoreAboutAutofillPolicy": {
|
||||
"message": "Learn more about autofill"
|
||||
},
|
||||
"selectType": {
|
||||
"message": "Select SSO type"
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
<bit-callout type="warning">
|
||||
{{ "experimentalFeature" | i18n }}
|
||||
{{ "autofillOnPageLoadExploitWarning" | i18n }}
|
||||
<a
|
||||
bitLink
|
||||
href="https://bitwarden.com/help/auto-fill-browser/"
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
>{{ "learnMoreAboutAutofill" | i18n }}</a
|
||||
>{{ "learnMoreAboutAutofillPolicy" | i18n }}</a
|
||||
>
|
||||
</bit-callout>
|
||||
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
import { SharedModule } from "@bitwarden/web-vault/app/shared";
|
||||
|
||||
export class ActivateAutofillPolicy extends BasePolicyEditDefinition {
|
||||
name = "activateAutofill";
|
||||
name = "activateAutofillPolicy";
|
||||
description = "activateAutofillPolicyDescription";
|
||||
type = PolicyType.ActivateAutofill;
|
||||
component = ActivateAutofillPolicyComponent;
|
||||
|
||||
Reference in New Issue
Block a user