mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Ensure that strong component is defined for translations (#15370)
GitOrigin-RevId: 729ac6ac56285d97340e07861a5f47c273ebd131
This commit is contained in:
parent
0124712cd2
commit
fa2afb7807
1 changed files with 8 additions and 4 deletions
|
@ -198,7 +198,10 @@ function CompileTimeoutMessages() {
|
||||||
shouldUnescape
|
shouldUnescape
|
||||||
tOptions={{ interpolation: { escapeValue: true } }}
|
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>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
@ -223,9 +226,10 @@ function CompileTimeoutMessages() {
|
||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
<p className="row-spaced">
|
<p className="row-spaced">
|
||||||
{t(
|
<Trans
|
||||||
'tell_the_project_owner_to_upgrade_plan_for_more_compile_time'
|
i18nKey="tell_the_project_owner_to_upgrade_plan_for_more_compile_time"
|
||||||
)}
|
components={{ strong: <strong /> }}
|
||||||
|
/>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue