1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-21 10:43:35 +00:00

[PM-15187] Do not use innerHTML (#12108)

* do not use innerHTML

* remove unused catalog message
This commit is contained in:
Jonathan Prusik
2024-11-22 14:07:13 -05:00
committed by GitHub
parent 02ea368446
commit 04caec6f69
2 changed files with 8 additions and 14 deletions

View File

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

View File

@@ -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"