Skip to content

Commit

Permalink
update translation to include id in the exception comment
Browse files Browse the repository at this point in the history
  • Loading branch information
WafaaNasr committed Jun 28, 2023
1 parent 6d0c1d4 commit eab421e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ describe('Rule Exceptions workflows from Alert', () => {
*/
validateExceptionCommentCountAndText(
1,
'Exception conditions are pre-filled with relevant data from'
'Exception conditions are pre-filled with relevant data from alert with "id"'
);

addExceptionFlyoutItemName(ITEM_NAME);
Expand Down Expand Up @@ -207,7 +207,7 @@ describe('Rule Exceptions workflows from Alert', () => {
*/
validateExceptionCommentCountAndText(
1,
'Exception conditions are pre-filled with relevant data from'
'Exception conditions are pre-filled with relevant data from alert with "id"'
);

addExceptionFlyoutItemName(ITEM_NAME);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export const ADD_RULE_EXCEPTION_FROM_ALERT_COMMENT = (alertId: string) =>
'xpack.securitySolution.ruleExceptions.addExceptionFlyout.addRuleExceptionFromAlertComment',
{
values: { alertId },
defaultMessage: 'Exception conditions are pre-filled with relevant data from {alertId}.',
defaultMessage:
'Exception conditions are pre-filled with relevant data from alert with "id" {alertId}.',
}
);

0 comments on commit eab421e

Please sign in to comment.