mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-06 21:57:48 +01:00
Compare commits
2 Commits
7a7d93519d
...
81758d0b2b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
81758d0b2b | ||
|
|
837717461f |
@@ -276,7 +276,7 @@
|
||||
"pending": "Wartend",
|
||||
"approved": "Genehmigt",
|
||||
"available": "Verfügbar",
|
||||
"issues": "Open Issues"
|
||||
"issues": "Offene Issues"
|
||||
},
|
||||
"overseerr": {
|
||||
"pending": "Wartend",
|
||||
@@ -1088,22 +1088,22 @@
|
||||
"unraid": {
|
||||
"STARTED": "Gestartet",
|
||||
"STOPPED": "Angehalten",
|
||||
"NEW_ARRAY": "New Array",
|
||||
"RECON_DISK": "Reconstructing Disk",
|
||||
"DISABLE_DISK": "Disk Disabled",
|
||||
"SWAP_DSBL": "Swap Disable",
|
||||
"INVALID_EXPANSION": "Invalid Expansion",
|
||||
"NEW_ARRAY": "Neues Array",
|
||||
"RECON_DISK": "Festplatte wird neu aufgebaut",
|
||||
"DISABLE_DISK": "Festplatte deaktiviert",
|
||||
"SWAP_DSBL": "Swap deaktivieren",
|
||||
"INVALID_EXPANSION": "Üngültige Erweiterung",
|
||||
"PARITY_NOT_BIGGEST": "Parity Not Biggest",
|
||||
"TOO_MANY_MISSING_DISKS": "Too Many Missing Disks",
|
||||
"NEW_DISK_TOO_SMALL": "New Disk Too Small",
|
||||
"TOO_MANY_MISSING_DISKS": "Zu viele fehlende Festplatten",
|
||||
"NEW_DISK_TOO_SMALL": "Neue Festplatte zu klein",
|
||||
"NO_DATA_DISKS": "Keine Datenträger",
|
||||
"notifications": "Mitteilungen",
|
||||
"status": "Status",
|
||||
"cpu": "CPU",
|
||||
"memoryUsed": "Speichernutzung",
|
||||
"memoryAvailable": "Verfügbarer Speicher",
|
||||
"arrayUsed": "Array Used",
|
||||
"arrayFree": "Array Free",
|
||||
"arrayUsed": "Array verwendet",
|
||||
"arrayFree": "Array frei",
|
||||
"poolUsed": "{{pool}} verwendet",
|
||||
"poolFree": "{{pool}} frei"
|
||||
},
|
||||
@@ -1111,9 +1111,9 @@
|
||||
"num_plans": "Pläne",
|
||||
"num_success_30": "Erfolgreich",
|
||||
"num_failure_30": "Fehlerhaft",
|
||||
"num_success_latest": "Succeeding",
|
||||
"num_failure_latest": "Failing",
|
||||
"bytes_added_30": "Bytes Added"
|
||||
"num_success_latest": "Erfolgreich",
|
||||
"num_failure_latest": "Fehlgeschlagen",
|
||||
"bytes_added_30": "Bytes hinzugefügt"
|
||||
},
|
||||
"yourspotify": {
|
||||
"songs": "Titel",
|
||||
|
||||
@@ -24,10 +24,11 @@ function buildResponse(plans) {
|
||||
|
||||
plans.forEach((plan) => {
|
||||
const statuses = plan?.recentBackups?.status;
|
||||
// See https://github.com/garethgeorge/backrest/blob/4357295a17cb2e71639473c9929a060c4dd1b624/proto/v1/operations.proto#L78-L87
|
||||
if (Array.isArray(statuses) && statuses.length > 0) {
|
||||
if (statuses[0] === "STATUS_SUCCESS") {
|
||||
numSuccessLatest++;
|
||||
} else {
|
||||
} else if (statuses[0] === "STATUS_ERROR") {
|
||||
numFailureLatest++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user