Ensure that strong component is defined for translations (#15370)

GitOrigin-RevId: 729ac6ac56285d97340e07861a5f47c273ebd131
This commit is contained in:
Alf Eaton 2023-10-23 11:24:36 +01:00 committed by Copybot
parent 0124712cd2
commit fa2afb7807

View file

@ -198,7 +198,10 @@ function CompileTimeoutMessages() {
shouldUnescape
tOptions={{ interpolation: { escapeValue: true } }}
/>{' '}
{t('and_you_can_upgrade_for_plenty_more_compile_time')}
<Trans
i18nKey="and_you_can_upgrade_for_plenty_more_compile_time"
components={{ strong: <strong /> }}
/>
</p>
</div>
}
@ -223,9 +226,10 @@ function CompileTimeoutMessages() {
/>
</p>
<p className="row-spaced">
{t(
'tell_the_project_owner_to_upgrade_plan_for_more_compile_time'
)}
<Trans
i18nKey="tell_the_project_owner_to_upgrade_plan_for_more_compile_time"
components={{ strong: <strong /> }}
/>
</p>
</div>
}