mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
add restart translations
This commit is contained in:
@@ -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()}…
|
||||
|
||||
Reference in New Issue
Block a user