Translate separately so the i18n gets less confused

This commit is contained in:
David Baker 2022-12-22 14:23:19 +00:00
commit 5823cd41e8
2 changed files with 8 additions and 4 deletions

View file

@ -116,10 +116,13 @@ export function CrashView() {
<FullScreenView>
<Trans>
<h1>Oops, something's gone wrong.</h1>
{Config.get().rageshake?.submit_url && (
<p>Submitting debug logs will help us track down the problem.</p>
)}
</Trans>
{Config.get().rageshake?.submit_url && (
<Trans>
<p>Submitting debug logs will help us track down the problem.</p>
</Trans>
)}
<div className={styles.sendLogsSection}>{logsComponent}</div>
{error && (
<ErrorMessage error={translatedError("Couldn't send debug logs!", t)} />