Add Regular Expression Custom Format translation

(cherry picked from commit 9f50166fa62a71d0a23e2c2d331651792285dc0e)

Closes #4506
This commit is contained in:
Stevie Robinson 2024-01-23 05:55:33 +01:00 committed by Bogdan
parent 7ff23ccadb
commit 4a5cd2098b
3 changed files with 4 additions and 2 deletions

View file

@ -49,7 +49,7 @@ function EditSpecificationModalContent(props) {
{...otherProps}
>
{
fields && fields.some((x) => x.label === 'Regular Expression') &&
fields && fields.some((x) => x.label === translate('CustomFormatsSpecificationRegularExpression')) &&
<Alert kind={kinds.INFO}>
<div>
<div dangerouslySetInnerHTML={{ __html: 'This condition matches using Regular Expressions. Note that the characters <code>\\^$.|?*+()[{</code> have special meanings and need escaping with a <code>\\</code>' }} />