Loading modules/disks/disks.cpp +2 −2 Changes for modules/disks/disks.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * selfTest {disk, type: short|long} * abortSelfTest {disk} * * A disk: name, size, model, serial, firmware, transport (ata|nvme|none), * A disk: name, size, model, serial, firmware, transport (ata|scsi|nvme|none), * smart, enabled, rotation, power, health (passed|failing|unknown), * temperature, powerOnHours, ... (camelCase of storaged's fields; numbers * as numbers), warnings [...], readAt, problem. */ Loading @@ -60,7 +60,7 @@ const std::set<std::string> Numbers = { "size", "temperature", "power_on_hours", "power_cycles", "reallocated", "pending", "uncorrectable", "crc_errors", "critical_warning", "available_spare", "spare_threshold", "percentage_used", "data_read", "data_written", "unsafe_shutdowns", "media_errors", "error_log_entries", "self_test_remaining", "short_test_minutes", "long_test_minutes", "read_at", "value", "worst", "threshold", "raw", "attr"}; "short_test_minutes", "long_test_minutes", "read_at", "start_stop_cycles", "load_cycles", "non_medium_errors", "value", "worst", "threshold", "raw", "attr"}; std::string camel(const std::string &k) { std::string out; Loading www/modules/disks.js +6 −2 Changes for www/modules/disks.js: 6 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -32,7 +32,8 @@ 'Threshold': 'Grenze', 'Raw': 'Rohwert', 'failing now': 'unter Grenzwert', 'failed in the past': 'früher unter Grenzwert', 'pre-failure': 'Ausfallvorhersage', 'Problem': 'Problem', 'SMART is switched off on the drive': 'SMART ist auf dem Laufwerk abgeschaltet', 'the drive has no SMART': 'das Laufwerk hat kein SMART', 'no SMART on this kind of device': 'kein SMART bei dieser Art Gerät', 'not responding': 'antwortet nicht', 'not responding': 'antwortet nicht', 'Start-stop cycles': 'Start-Stopp-Zyklen', 'Load cycles': 'Lade-Zyklen', 'Non-medium errors': 'Fehler außerhalb des Mediums', 'storaged checks all disks every half hour and logs new warnings in the journal.': 'storaged prüft alle Laufwerke jede halbe Stunde und schreibt neue Warnungen ins Journal.', }}); Loading Loading @@ -102,12 +103,14 @@ add(t('Model'), d.model); add(t('Serial number'), d.serial); add(t('Firmware'), d.firmware); add(t('Connection'), d.transport === 'nvme' ? 'NVMe' : d.transport === 'ata' ? 'ATA' : undefined); add(t('Connection'), d.transport === 'nvme' ? 'NVMe' : d.transport === 'ata' ? 'ATA' : d.transport === 'scsi' ? 'SCSI/SAS' : undefined); add(t('Type'), d.rotation === 'ssd' ? t('SSD') : d.rotation ? t('{0} rpm', d.rotation) : undefined); add(t('Size'), d.size ? size(d.size) : undefined); add(t('Temperature'), d.temperature !== undefined ? d.temperature + ' °C' : undefined); add(t('Powered on'), d.powerOnHours !== undefined ? hours(d.powerOnHours) : undefined); add(t('Power cycles'), d.powerCycles); add(t('Start-stop cycles'), d.startStopCycles); add(t('Load cycles'), d.loadCycles); add(t('Reallocated sectors'), d.reallocated); add(t('Pending sectors'), d.pending); add(t('Uncorrectable sectors'), d.uncorrectable); Loading @@ -119,6 +122,7 @@ add(t('Unsafe shutdowns'), d.unsafeShutdowns); add(t('Media errors'), d.mediaErrors); add(t('Error log entries'), d.errorLogEntries); add(t('Non-medium errors'), d.nonMediumErrors); add(t('Self-test'), testText(d)); add(t('Problem'), d.problem ? t(d.problem) : undefined); return rows; Loading Loading
modules/disks/disks.cpp +2 −2 Changes for modules/disks/disks.cpp: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -33,7 +33,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * selfTest {disk, type: short|long} * abortSelfTest {disk} * * A disk: name, size, model, serial, firmware, transport (ata|nvme|none), * A disk: name, size, model, serial, firmware, transport (ata|scsi|nvme|none), * smart, enabled, rotation, power, health (passed|failing|unknown), * temperature, powerOnHours, ... (camelCase of storaged's fields; numbers * as numbers), warnings [...], readAt, problem. */ Loading @@ -60,7 +60,7 @@ const std::set<std::string> Numbers = { "size", "temperature", "power_on_hours", "power_cycles", "reallocated", "pending", "uncorrectable", "crc_errors", "critical_warning", "available_spare", "spare_threshold", "percentage_used", "data_read", "data_written", "unsafe_shutdowns", "media_errors", "error_log_entries", "self_test_remaining", "short_test_minutes", "long_test_minutes", "read_at", "value", "worst", "threshold", "raw", "attr"}; "short_test_minutes", "long_test_minutes", "read_at", "start_stop_cycles", "load_cycles", "non_medium_errors", "value", "worst", "threshold", "raw", "attr"}; std::string camel(const std::string &k) { std::string out; Loading
www/modules/disks.js +6 −2 Changes for www/modules/disks.js: 6 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -32,7 +32,8 @@ 'Threshold': 'Grenze', 'Raw': 'Rohwert', 'failing now': 'unter Grenzwert', 'failed in the past': 'früher unter Grenzwert', 'pre-failure': 'Ausfallvorhersage', 'Problem': 'Problem', 'SMART is switched off on the drive': 'SMART ist auf dem Laufwerk abgeschaltet', 'the drive has no SMART': 'das Laufwerk hat kein SMART', 'no SMART on this kind of device': 'kein SMART bei dieser Art Gerät', 'not responding': 'antwortet nicht', 'not responding': 'antwortet nicht', 'Start-stop cycles': 'Start-Stopp-Zyklen', 'Load cycles': 'Lade-Zyklen', 'Non-medium errors': 'Fehler außerhalb des Mediums', 'storaged checks all disks every half hour and logs new warnings in the journal.': 'storaged prüft alle Laufwerke jede halbe Stunde und schreibt neue Warnungen ins Journal.', }}); Loading Loading @@ -102,12 +103,14 @@ add(t('Model'), d.model); add(t('Serial number'), d.serial); add(t('Firmware'), d.firmware); add(t('Connection'), d.transport === 'nvme' ? 'NVMe' : d.transport === 'ata' ? 'ATA' : undefined); add(t('Connection'), d.transport === 'nvme' ? 'NVMe' : d.transport === 'ata' ? 'ATA' : d.transport === 'scsi' ? 'SCSI/SAS' : undefined); add(t('Type'), d.rotation === 'ssd' ? t('SSD') : d.rotation ? t('{0} rpm', d.rotation) : undefined); add(t('Size'), d.size ? size(d.size) : undefined); add(t('Temperature'), d.temperature !== undefined ? d.temperature + ' °C' : undefined); add(t('Powered on'), d.powerOnHours !== undefined ? hours(d.powerOnHours) : undefined); add(t('Power cycles'), d.powerCycles); add(t('Start-stop cycles'), d.startStopCycles); add(t('Load cycles'), d.loadCycles); add(t('Reallocated sectors'), d.reallocated); add(t('Pending sectors'), d.pending); add(t('Uncorrectable sectors'), d.uncorrectable); Loading @@ -119,6 +122,7 @@ add(t('Unsafe shutdowns'), d.unsafeShutdowns); add(t('Media errors'), d.mediaErrors); add(t('Error log entries'), d.errorLogEntries); add(t('Non-medium errors'), d.nonMediumErrors); add(t('Self-test'), testText(d)); add(t('Problem'), d.problem ? t(d.problem) : undefined); return rows; Loading