add restart translations

This commit is contained in:
proddy
2024-09-01 11:43:40 +02:00
parent 4ff7e95b19
commit 89854a45b5
11 changed files with 22 additions and 4 deletions

View File

@@ -52,14 +52,13 @@ const RestartMonitor = () => {
fontWeight={400}
textAlign="center"
>
{/* TODO: translate these */}
{data?.status === 'uploading'
? LL.WAIT_FIRMWARE()
: data?.status === 'restarting'
? LL.APPLICATION_RESTARTING()
: data?.status === 'ready'
? 'Reloading'
: 'Preparing'}
? LL.RESTARTING_PRE()
: LL.RESTARTING_POST()}
</Typography>
<Typography mt={2} variant="h6" fontWeight={400} textAlign="center">
{LL.PLEASE_WAIT()}&hellip;