mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-07 00:09:51 +03:00
formatting, add missing text
This commit is contained in:
@@ -27,7 +27,8 @@ const de: Translation = {
|
|||||||
ENTITIES: 'Entitäten',
|
ENTITIES: 'Entitäten',
|
||||||
REFRESH: 'Aktualisieren',
|
REFRESH: 'Aktualisieren',
|
||||||
EXPORT: 'Exportieren',
|
EXPORT: 'Exportieren',
|
||||||
BRAND: "Marke",
|
DEVICE_DETAILS: 'Geräte Details',
|
||||||
|
BRAND: 'Marke',
|
||||||
ENTITY_NAME: 'Entitätsname',
|
ENTITY_NAME: 'Entitätsname',
|
||||||
VALUE: 'Wert',
|
VALUE: 'Wert',
|
||||||
SHOW_FAV: 'nur Favoriten anzeigen',
|
SHOW_FAV: 'nur Favoriten anzeigen',
|
||||||
@@ -46,12 +47,12 @@ const de: Translation = {
|
|||||||
ACCESS_DENIED: 'Zugriff abgelehnt',
|
ACCESS_DENIED: 'Zugriff abgelehnt',
|
||||||
ANALOG_SENSOR: 'Analogsensor{post}',
|
ANALOG_SENSOR: 'Analogsensor{post}',
|
||||||
ANALOG_SENSORS: 'Analogsensoren',
|
ANALOG_SENSORS: 'Analogsensoren',
|
||||||
OFFSET: "Addition",
|
OFFSET: 'Addition',
|
||||||
FACTOR: "Faktor",
|
FACTOR: 'Faktor',
|
||||||
FREQ: "Frequenz",
|
FREQ: 'Frequenz',
|
||||||
STARTVALUE: "Startwert",
|
STARTVALUE: 'Startwert',
|
||||||
WARN_GPIO: "Warnung: Vorsicht bei der korrekten Wahl des GPIO!",
|
WARN_GPIO: 'Warnung: Vorsicht bei der korrekten Wahl des GPIO!',
|
||||||
EDIT: "Editiere",
|
EDIT: 'Editiere',
|
||||||
TEMP_SENSOR: 'Temperatursensor{post}',
|
TEMP_SENSOR: 'Temperatursensor{post}',
|
||||||
TEMP_SENSORS: 'Temperatursensoren',
|
TEMP_SENSORS: 'Temperatursensoren',
|
||||||
WRITE_COMMAND: 'Befehl schreiben {cmd}',
|
WRITE_COMMAND: 'Befehl schreiben {cmd}',
|
||||||
|
|||||||
@@ -27,7 +27,8 @@ const en: BaseTranslation = {
|
|||||||
ENTITIES: 'Entities',
|
ENTITIES: 'Entities',
|
||||||
REFRESH: 'Refresh',
|
REFRESH: 'Refresh',
|
||||||
EXPORT: 'Export',
|
EXPORT: 'Export',
|
||||||
BRAND: "Brand",
|
DEVICE_DETAILS: 'Device Details',
|
||||||
|
BRAND: 'Brand',
|
||||||
ENTITY_NAME: 'Entity Name',
|
ENTITY_NAME: 'Entity Name',
|
||||||
VALUE: 'Value',
|
VALUE: 'Value',
|
||||||
SHOW_FAV: 'only show favorites',
|
SHOW_FAV: 'only show favorites',
|
||||||
@@ -46,12 +47,12 @@ const en: BaseTranslation = {
|
|||||||
ACCESS_DENIED: 'Access Denied',
|
ACCESS_DENIED: 'Access Denied',
|
||||||
ANALOG_SENSOR: 'Analog Sensor{post}',
|
ANALOG_SENSOR: 'Analog Sensor{post}',
|
||||||
ANALOG_SENSORS: 'Analog Sensors',
|
ANALOG_SENSORS: 'Analog Sensors',
|
||||||
OFFSET: "Offset",
|
OFFSET: 'Offset',
|
||||||
FACTOR: "Factor",
|
FACTOR: 'Factor',
|
||||||
FREQ: "Frequency",
|
FREQ: 'Frequency',
|
||||||
STARTVALUE: "Start value",
|
STARTVALUE: 'Start value',
|
||||||
WARN_GPIO: "Warning: be careful when assigning a GPIO!",
|
WARN_GPIO: 'Warning: be careful when assigning a GPIO!',
|
||||||
EDIT: "Edit",
|
EDIT: 'Edit',
|
||||||
TEMP_SENSOR: 'Temperature Sensor{post}',
|
TEMP_SENSOR: 'Temperature Sensor{post}',
|
||||||
TEMP_SENSORS: 'Temperature Sensors',
|
TEMP_SENSORS: 'Temperature Sensors',
|
||||||
WRITE_COMMAND: 'Write command {cmd}',
|
WRITE_COMMAND: 'Write command {cmd}',
|
||||||
@@ -123,7 +124,7 @@ const en: BaseTranslation = {
|
|||||||
SECONDS: 'seconds',
|
SECONDS: 'seconds',
|
||||||
MINUTES: 'minutes',
|
MINUTES: 'minutes',
|
||||||
RESTART: 'Restart',
|
RESTART: 'Restart',
|
||||||
HOURS: "hours",
|
HOURS: 'hours',
|
||||||
RESTART_TEXT: 'EMS-ESP needs to be restarted to apply changed system settings',
|
RESTART_TEXT: 'EMS-ESP needs to be restarted to apply changed system settings',
|
||||||
COMMAND: 'Command',
|
COMMAND: 'Command',
|
||||||
CUSTOMIZATIONS_RESTART: 'All customizations have been removed. Restarting...',
|
CUSTOMIZATIONS_RESTART: 'All customizations have been removed. Restarting...',
|
||||||
|
|||||||
@@ -120,6 +120,10 @@ type RootTranslation = {
|
|||||||
* Export
|
* Export
|
||||||
*/
|
*/
|
||||||
EXPORT: string
|
EXPORT: string
|
||||||
|
/**
|
||||||
|
* Device Details
|
||||||
|
*/
|
||||||
|
DEVICE_DETAILS: string
|
||||||
/**
|
/**
|
||||||
* Brand
|
* Brand
|
||||||
*/
|
*/
|
||||||
@@ -1123,6 +1127,10 @@ export type TranslationFunctions = {
|
|||||||
* Export
|
* Export
|
||||||
*/
|
*/
|
||||||
EXPORT: () => LocalizedString
|
EXPORT: () => LocalizedString
|
||||||
|
/**
|
||||||
|
* Device Details
|
||||||
|
*/
|
||||||
|
DEVICE_DETAILS: () => LocalizedString
|
||||||
/**
|
/**
|
||||||
* Brand
|
* Brand
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -27,7 +27,8 @@ const en: BaseTranslation = {
|
|||||||
ENTITIES: 'Entities',
|
ENTITIES: 'Entities',
|
||||||
REFRESH: 'Refresh',
|
REFRESH: 'Refresh',
|
||||||
EXPORT: 'Export',
|
EXPORT: 'Export',
|
||||||
BRAND: "Brand",
|
BRAND: 'Brand',
|
||||||
|
DEVICE_DETAILS: 'Device Details',
|
||||||
ENTITY_NAME: 'Entity Name',
|
ENTITY_NAME: 'Entity Name',
|
||||||
VALUE: 'Value',
|
VALUE: 'Value',
|
||||||
SHOW_FAV: 'only show favorites',
|
SHOW_FAV: 'only show favorites',
|
||||||
@@ -46,12 +47,12 @@ const en: BaseTranslation = {
|
|||||||
ACCESS_DENIED: 'Access Denied',
|
ACCESS_DENIED: 'Access Denied',
|
||||||
ANALOG_SENSOR: 'Analog Sensor{post}',
|
ANALOG_SENSOR: 'Analog Sensor{post}',
|
||||||
ANALOG_SENSORS: 'Analog Sensors',
|
ANALOG_SENSORS: 'Analog Sensors',
|
||||||
OFFSET: "Offset",
|
OFFSET: 'Offset',
|
||||||
FACTOR: "Factor",
|
FACTOR: 'Factor',
|
||||||
FREQ: "Frequency",
|
FREQ: 'Frequency',
|
||||||
STARTVALUE: "Start value",
|
STARTVALUE: 'Start value',
|
||||||
WARN_GPIO: "Warning: be careful when assigning a GPIO!",
|
WARN_GPIO: 'Warning: be careful when assigning a GPIO!',
|
||||||
EDIT: "Edit",
|
EDIT: 'Edit',
|
||||||
TEMP_SENSOR: 'Temperature Sensor{post}',
|
TEMP_SENSOR: 'Temperature Sensor{post}',
|
||||||
TEMP_SENSORS: 'Temperature Sensors',
|
TEMP_SENSORS: 'Temperature Sensors',
|
||||||
WRITE_COMMAND: 'Write command {cmd}',
|
WRITE_COMMAND: 'Write command {cmd}',
|
||||||
@@ -123,7 +124,7 @@ const en: BaseTranslation = {
|
|||||||
SECONDS: 'seconds',
|
SECONDS: 'seconds',
|
||||||
MINUTES: 'minutes',
|
MINUTES: 'minutes',
|
||||||
RESTART: 'Restart',
|
RESTART: 'Restart',
|
||||||
HOURS: "hours",
|
HOURS: 'hours',
|
||||||
RESTART_TEXT: 'EMS-ESP needs to be restarted to apply changed system settings',
|
RESTART_TEXT: 'EMS-ESP needs to be restarted to apply changed system settings',
|
||||||
COMMAND: 'Command',
|
COMMAND: 'Command',
|
||||||
CUSTOMIZATIONS_RESTART: 'All customizations have been removed. Restarting...',
|
CUSTOMIZATIONS_RESTART: 'All customizations have been removed. Restarting...',
|
||||||
|
|||||||
@@ -639,7 +639,7 @@ const DashboardData: FC = () => {
|
|||||||
if (coreData && coreData.devices.length > 0 && deviceDialog !== -1) {
|
if (coreData && coreData.devices.length > 0 && deviceDialog !== -1) {
|
||||||
return (
|
return (
|
||||||
<Dialog open={deviceDialog !== -1} onClose={() => setDeviceDialog(-1)}>
|
<Dialog open={deviceDialog !== -1} onClose={() => setDeviceDialog(-1)}>
|
||||||
<DialogTitle>Device Details</DialogTitle>
|
<DialogTitle>{LL.DEVICE_DETAILS()}</DialogTitle>
|
||||||
<DialogContent dividers>
|
<DialogContent dividers>
|
||||||
<List dense={true}>
|
<List dense={true}>
|
||||||
<ListItem>
|
<ListItem>
|
||||||
@@ -667,7 +667,7 @@ const DashboardData: FC = () => {
|
|||||||
</DialogContent>
|
</DialogContent>
|
||||||
<DialogActions>
|
<DialogActions>
|
||||||
<Button variant="outlined" onClick={() => setDeviceDialog(-1)} color="secondary">
|
<Button variant="outlined" onClick={() => setDeviceDialog(-1)} color="secondary">
|
||||||
Close
|
{LL.CLOSE()}
|
||||||
</Button>
|
</Button>
|
||||||
</DialogActions>
|
</DialogActions>
|
||||||
</Dialog>
|
</Dialog>
|
||||||
|
|||||||
Reference in New Issue
Block a user