mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-25 12:15:18 +01:00
[PM-15187] Do not use innerHTML (#12108)
* do not use innerHTML * remove unused catalog message
This commit is contained in:
parent
02ea368446
commit
04caec6f69
@ -1125,6 +1125,10 @@
|
||||
"message": "WARNING",
|
||||
"description": "WARNING (should stay in capitalized letters if the language permits)"
|
||||
},
|
||||
"warningCapitalized": {
|
||||
"message": "Warning",
|
||||
"description": "Warning (should maintain locale-relevant capitalization)"
|
||||
},
|
||||
"confirmVaultExport": {
|
||||
"message": "Confirm vault export"
|
||||
},
|
||||
@ -1503,19 +1507,6 @@
|
||||
"enableAutoFillOnPageLoadDesc": {
|
||||
"message": "If a login form is detected, autofill when the web page loads."
|
||||
},
|
||||
"autofillOnPageLoadWarning": {
|
||||
"message": "$OPENTAG$Warning:$CLOSETAG$ Compromised or untrusted websites can exploit autofill on page load.",
|
||||
"placeholders": {
|
||||
"openTag": {
|
||||
"content": "$1",
|
||||
"example": "<b>"
|
||||
},
|
||||
"closeTag": {
|
||||
"content": "$2",
|
||||
"example": "</b>"
|
||||
}
|
||||
}
|
||||
},
|
||||
"experimentalFeature": {
|
||||
"message": "Compromised or untrusted websites can exploit autofill on page load."
|
||||
},
|
||||
|
@ -160,7 +160,10 @@
|
||||
<bit-card>
|
||||
<bit-hint class="tw-mb-6 tw-text-sm">
|
||||
{{ "enableAutoFillOnPageLoadDesc" | i18n }}
|
||||
<span [innerHTML]="'autofillOnPageLoadWarning' | i18n: '\<b>' : '\</b>'"></span>
|
||||
<span
|
||||
><b>{{ "warningCapitalized" | i18n }}</b
|
||||
>: {{ "experimentalFeature" | i18n }}</span
|
||||
>
|
||||
<a
|
||||
bitLink
|
||||
class="tw-no-underline"
|
||||
|
Loading…
Reference in New Issue
Block a user