Skip to content

Commit

Permalink
fix: wrap i18n key with translation fuction (#2483)
Browse files Browse the repository at this point in the history
  • Loading branch information
sirtawast authored Nov 23, 2023
1 parent 11c80ab commit 051469d
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,9 @@ const ApplicationFormStep1: React.FC<DynamicFormStepComponentProps> = ({
direction="vertical"
required
errorText={getErrorMessage(fields.coOperationNegotiations.name)}
tooltipText={`${translationsBase}.fields.${APPLICATION_FIELDS_STEP1_KEYS.CO_OPERATION_NEGOTIATIONS}.tooltipText`}
tooltipText={t(
`${translationsBase}.fields.${APPLICATION_FIELDS_STEP1_KEYS.CO_OPERATION_NEGOTIATIONS}.tooltipText`
)}
>
<$RadioButton
id={`${fields.coOperationNegotiations.name}False`}
Expand Down

0 comments on commit 051469d

Please sign in to comment.