typos application used/free

This commit is contained in:
MichaelDvP
2022-09-23 22:20:51 +02:00
parent 58ca4efd42
commit 1b4af09185
9 changed files with 20 additions and 29 deletions

View File

@@ -319,9 +319,7 @@ const SystemStatusForm: FC = () => {
</ListItemAvatar>
<ListItemText
primary={LL.APPSIZE()}
secondary={
formatNumber(data.app_size) + ' kb / ' + formatNumber(data.app_free) + ' kb'
}
secondary={formatNumber(data.app_used) + ' kb / ' + formatNumber(data.app_free) + ' kb'}
/>
</ListItem>
<Divider variant="inset" component="li" />
@@ -333,14 +331,7 @@ const SystemStatusForm: FC = () => {
</ListItemAvatar>
<ListItemText
primary={LL.FILESYSTEM()}
secondary={
formatNumber(data.fs_used) +
' kb / ' +
formatNumber(data.fs_total) +
' kb (' +
formatNumber(data.fs_total - data.fs_used) +
'\xa0kb free)'
}
secondary={formatNumber(data.fs_used) + ' kb / ' + formatNumber(data.fs_free) + ' kb'}
/>
</ListItem>
<Divider variant="inset" component="li" />

View File

@@ -182,8 +182,8 @@ const de: Translation = {
HEAP: 'RAM Speicher (Frei / Max Belegt)',
PSRAM: 'PSRAM (Größe / Frei)',
FLASH: 'Flash Speicher (Größe / Geschwindigkeit)',
APPSIZE: 'Programm (Größe / Frei)',
FILESYSTEM: 'Dateisystem (Genutzt / Gesamt)',
APPSIZE: 'Programm (Genutzt / Frei)',
FILESYSTEM: 'Dateisystem (Genutzt / Frei)',
BUFFER_SIZE: 'Puffergröße',
COMPACT: 'Kompakte Darstellung',
ENABLE_OTA: 'OTA Updates verwenden',

View File

@@ -182,8 +182,8 @@ const en: BaseTranslation = {
HEAP: 'Heap (Free / Max Alloc)',
PSRAM: 'PSRAM (Size / Free)',
FLASH: 'Flash Chip (Size / Speed)',
APPSIZE: 'Application (Size / Free)',
FILESYSTEM: 'File System (Used / Total)',
APPSIZE: 'Application (Used / Free)',
FILESYSTEM: 'File System (Used / Free)',
BUFFER_SIZE: 'Buffer Size',
COMPACT: 'Compact',
ENABLE_OTA: 'Enable OTA Updates',

View File

@@ -730,11 +730,11 @@ type RootTranslation = {
*/
FLASH: string
/**
* Application (Size / Free)
* Application (Used / Free)
*/
APPSIZE: string
/**
* File System (Used / Total)
* File System (Used / Free)
*/
FILESYSTEM: string
/**
@@ -1747,11 +1747,11 @@ export type TranslationFunctions = {
*/
FLASH: () => LocalizedString
/**
* Application (Size / Free)
* Application (Used / Free)
*/
APPSIZE: () => LocalizedString
/**
* File System (Used / Total)
* File System (Used / Free)
*/
FILESYSTEM: () => LocalizedString
/**

View File

@@ -183,8 +183,8 @@ const nl: BaseTranslation = {
HEAP: 'Heap (Free / Max Alloc)',
PSRAM: 'PSRAM (Size / Free)',
FLASH: 'Flash Chip (Size / Speed)',
APPSIZE: 'Application (Size / Free)',
FILESYSTEM: 'File System (Used / Total)',
APPSIZE: 'Application (Used / Free)',
FILESYSTEM: 'File System (Used / Free)',
BUFFER_SIZE: 'Buffer Size',
COMPACT: 'Compact',
ENABLE_OTA: 'Acitveer OTA Updates',

View File

@@ -182,8 +182,8 @@ const no: BaseTranslation = {
HEAP: 'Heap (Free / Max Alloc)',
PSRAM: 'PSRAM (Size / Free)',
FLASH: 'Flash Chip (Size / Speed)',
APPSIZE: 'Application (Size / Free)',
FILESYSTEM: 'File System (Used / Total)',
APPSIZE: 'Application (Used / Free)',
FILESYSTEM: 'File System (Used / Free)',
BUFFER_SIZE: 'Buffer Size',
COMPACT: 'Compact',
ENABLE_OTA: 'Enable OTA Updates',

View File

@@ -184,8 +184,8 @@ const pl: BaseTranslation = {
HEAP: 'Pamięć (Wolna / Zaalokowana)',
PSRAM: 'PSRAM (Rozmiar / Wolna)',
FLASH: 'Pamięć flash ( Rozmiar / Taktowanie)',
APPSIZE: 'Application (Size / Free)',
FILESYSTEM: 'System plików (Wykorzystano / Cała pojemność)',
APPSIZE: 'Application (Wykorzystano / Wolna)',
FILESYSTEM: 'System plików (Wykorzystano / Wolna)',
BUFFER_SIZE: 'Rozmiar bufora',
COMPACT: 'Kompaktowy',
ENABLE_OTA: 'Włącz aktualizację OTA',

View File

@@ -181,8 +181,8 @@ const se: BaseTranslation = {
HEAP: 'Heap (Ledigt / Max allokerat)',
PSRAM: 'PSRAM (Storlek / Ledigt)',
FLASH: 'Flash Chip (Storlek / Hastighet)',
APPSIZE: 'Application (Size / Free)',
FILESYSTEM: 'Filsystem (Använt / Totalt)',
APPSIZE: 'Application (Använt / Ledigt)',
FILESYSTEM: 'Filsystem (Använt / Ledigt)',
BUFFER_SIZE: 'Bufferstorlek',
COMPACT: 'Komprimera',
ENABLE_OTA: 'Aktivera OTA-uppdateringar',

View File

@@ -12,10 +12,10 @@ interface ESPSystemStatus {
sdk_version: string;
flash_chip_size: number;
flash_chip_speed: number;
app_size: number;
app_used: number;
app_free: number;
fs_used: number;
fs_total: number;
fs_free: number;
uptime: string;
free_mem: number;
}