mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 07:49:52 +03:00
add translations
This commit is contained in:
@@ -154,12 +154,11 @@ const Settings: FC = () => {
|
|||||||
const content = () => (
|
const content = () => (
|
||||||
<>
|
<>
|
||||||
<List sx={{ borderRadius: 3, border: '2px solid grey' }}>
|
<List sx={{ borderRadius: 3, border: '2px solid grey' }}>
|
||||||
{/* TODO: translate */}
|
|
||||||
<ListMenuItem
|
<ListMenuItem
|
||||||
icon={TuneIcon}
|
icon={TuneIcon}
|
||||||
bgcolor="#134ba2"
|
bgcolor="#134ba2"
|
||||||
label={LL.APPLICATION_SETTINGS()}
|
label={LL.APPLICATION_SETTINGS()}
|
||||||
text="Modify EMS-ESP Application Settings"
|
text={LL.APPLICATION_SETTINGS_1()}
|
||||||
to="ems-esp"
|
to="ems-esp"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
@@ -188,11 +187,8 @@ const Settings: FC = () => {
|
|||||||
/>
|
/>
|
||||||
|
|
||||||
<ListMenuItem icon={DeviceHubIcon} bgcolor="#68374d" label="MQTT" text={LL.CONFIGURE('MQTT')} to="mqtt" />
|
<ListMenuItem icon={DeviceHubIcon} bgcolor="#68374d" label="MQTT" text={LL.CONFIGURE('MQTT')} to="mqtt" />
|
||||||
|
|
||||||
<ListMenuItem icon={CastIcon} bgcolor="#efc34b" label="OTA" text={LL.CONFIGURE('OTA')} to="ota" />
|
<ListMenuItem icon={CastIcon} bgcolor="#efc34b" label="OTA" text={LL.CONFIGURE('OTA')} to="ota" />
|
||||||
|
<ListMenuItem icon={LockIcon} label={LL.SECURITY(0)} text={LL.SECURITY_1()} to="security" />
|
||||||
{/* TODO: translate */}
|
|
||||||
<ListMenuItem icon={LockIcon} label={LL.SECURITY(0)} text="Add/Remove Users" to="security" />
|
|
||||||
|
|
||||||
<ListMenuItem
|
<ListMenuItem
|
||||||
icon={MemoryIcon}
|
icon={MemoryIcon}
|
||||||
@@ -202,12 +198,11 @@ const Settings: FC = () => {
|
|||||||
to="espsystemstatus"
|
to="espsystemstatus"
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{/* TODO: translate */}
|
|
||||||
<ListMenuItem
|
<ListMenuItem
|
||||||
icon={ImportExportIcon}
|
icon={ImportExportIcon}
|
||||||
bgcolor="#5d89f7"
|
bgcolor="#5d89f7"
|
||||||
label={LL.UPLOAD_DOWNLOAD()}
|
label={LL.UPLOAD_DOWNLOAD()}
|
||||||
text="Upload/Download Settings and Firmware"
|
text={LL.UPLOAD_DOWNLOAD_1()}
|
||||||
to="upload"
|
to="upload"
|
||||||
/>
|
/>
|
||||||
</List>
|
</List>
|
||||||
|
|||||||
Reference in New Issue
Block a user