Skip to content

Commit

Permalink
Fix deprecation translation
Browse files Browse the repository at this point in the history
Use i18n interpolation instead of a template literal.
  • Loading branch information
rylnd committed Nov 1, 2021
1 parent 4698a05 commit 9eec2b9
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ export const registerRulePreviewPrivilegeDeprecations = ({
message: i18n.translate(
'xpack.securitySolution.deprecations.rulePreviewPrivileges.message',
{
defaultMessage: `In order to enable a more robust preview, users will need read privileges to new signals preview indices (.siem-preview-signals-<KIBANA_SPACE>), analogous to existing signals indices (${DEFAULT_SIGNALS_INDEX}-<KIBANA_SPACE>).`,
values: {
previewIndexPrefix: '.siem-preview-signals',
signalsIndexPrefix: DEFAULT_SIGNALS_INDEX,
},
defaultMessage:
'In order to enable a more robust preview, users will need read privileges to new signals preview indices ({previewIndexPrefix}-<KIBANA_SPACE>), analogous to existing signals indices ({signalsIndexPrefix}-<KIBANA_SPACE>).',
}
),
level: 'warning',
Expand Down

0 comments on commit 9eec2b9

Please sign in to comment.