mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
alternative word translations implementation idea
just for demonstration!
This commit is contained in:
@@ -124,7 +124,7 @@ const SystemStatusForm: FC = () => {
|
||||
const renderVersionDialog = () => {
|
||||
return (
|
||||
<Dialog open={showingVersion} onClose={() => setShowingVersion(false)}>
|
||||
<DialogTitle>{LL.VERSION_CHECK()}</DialogTitle>
|
||||
<DialogTitle>{LL.VERSION_CHECK(1)}</DialogTitle>
|
||||
<DialogContent dividers>
|
||||
<MessageBox my={0} level="info" message={LL.SYSTEM_VERSION_RUNNING() + ' ' + data?.emsesp_version} />
|
||||
{latestVersion && (
|
||||
@@ -232,7 +232,7 @@ const SystemStatusForm: FC = () => {
|
||||
<ListItemText primary="EMS-ESP Version" secondary={'v' + data.emsesp_version} />
|
||||
{latestVersion && (
|
||||
<Button color="primary" onClick={() => setShowingVersion(true)}>
|
||||
{LL.VERSION_CHECK()}
|
||||
{LL.VERSION_CHECK(0)}
|
||||
</Button>
|
||||
)}
|
||||
</ListItem>
|
||||
|
||||
Reference in New Issue
Block a user