mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 17:59:23 -04:00
[I18n] Support interpreting individual i18n-values as html or text-only (#26274)
* [I18n] Add attribute for interpreting i18n-values as html or text-only * Switch over to html_ prefixed values solution * Update readme
This commit is contained in:
parent
b3a618c585
commit
c800f8d592
16 changed files with 209 additions and 91 deletions
|
@ -142,7 +142,7 @@
|
|||
i18n-id="xpack.security.management.roles.reversedTitle"
|
||||
i18n-default-message="Reserved {icon}"
|
||||
i18n-values="{
|
||||
icon: '<span
|
||||
html_icon: '<span
|
||||
class=\'kuiIcon fa-question-circle\'
|
||||
tooltip={{reversedTooltip}}
|
||||
aria-label={{reversedAriaLabel}}
|
||||
|
@ -187,7 +187,7 @@
|
|||
i18n-id="xpack.security.management.roles.disableTitle"
|
||||
i18n-default-message="{icon} Disabled"
|
||||
i18n-values="{
|
||||
icon: '<span class=\'kuiIcon fa-warning\'></span>'
|
||||
html_icon: '<span class=\'kuiIcon fa-warning\'></span>'
|
||||
}"
|
||||
>
|
||||
<span class="kuiIcon fa-warning"></span>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue