Merge main

This commit is contained in:
Jason Fischer 2023-02-05 00:21:35 -08:00
commit 11ae52df4a
No known key found for this signature in database
52 changed files with 1012 additions and 211 deletions

View File

@ -88,7 +88,7 @@ jobs:
# https://github.com/docker/build-push-action # https://github.com/docker/build-push-action
- name: Build and push Docker image - name: Build and push Docker image
id: build-and-push id: build-and-push
uses: docker/build-push-action@v3 uses: docker/build-push-action@v4
with: with:
context: . context: .
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}

View File

@ -38,7 +38,8 @@
"wlan_users": "WLAN مستخدمين", "wlan_users": "WLAN مستخدمين",
"up": "يعمل", "up": "يعمل",
"down": "لا يعمل", "down": "لا يعمل",
"wait": "الرجاء الإنتظار" "wait": "الرجاء الإنتظار",
"empty_data": "Subsystem status unknown"
}, },
"wmo": { "wmo": {
"73-day": "ثلج", "73-day": "ثلج",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "مفضلة", "bookmark": "مفضلة",
"service": "خدمة" "service": "خدمة",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "نظام", "available_update": "نظام",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -48,7 +48,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Devices", "devices": "Devices",
"lan_devices": "LAN Devices", "lan_devices": "LAN Devices",
"wlan_devices": "WLAN Devices" "wlan_devices": "WLAN Devices",
"empty_data": "Subsystem status unknown"
}, },
"docker": { "docker": {
"offline": "Изключен", "offline": "Изключен",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"down": "Sites Down",
"up": "Sites Up",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Dispositius", "devices": "Dispositius",
"lan_devices": "Dispositius LAN", "lan_devices": "Dispositius LAN",
"wlan_devices": "Dispositius WLAN" "wlan_devices": "Dispositius WLAN",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Transmissions actives", "streams": "Transmissions actives",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Marcador", "bookmark": "Marcador",
"service": "Servei" "service": "Servei",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "Sistema", "available_update": "Sistema",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"m": "m",
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -50,7 +50,8 @@
"wlan_users": "WLAN Uživatelé", "wlan_users": "WLAN Uživatelé",
"up": "BĚŽÍ", "up": "BĚŽÍ",
"down": "NEBĚŽÍ", "down": "NEBĚŽÍ",
"wait": "Počkejte prosím" "wait": "Počkejte prosím",
"empty_data": "Subsystem status unknown"
}, },
"docker": { "docker": {
"rx": "RX", "rx": "RX",
@ -291,7 +292,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Záložka", "bookmark": "Záložka",
"service": "Služba" "service": "Služba",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"update_available": "Dostupná aktualizace", "update_available": "Dostupná aktualizace",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -175,7 +175,8 @@
"wlan_users": "WLAN Brugere", "wlan_users": "WLAN Brugere",
"up": "Oppe", "up": "Oppe",
"down": "NED", "down": "NED",
"wait": "Vent venligst" "wait": "Vent venligst",
"empty_data": "Subsystem status unknown"
}, },
"docker": { "docker": {
"cpu": "CPU", "cpu": "CPU",
@ -287,7 +288,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bogmærker", "bookmark": "Bogmærker",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"watchtower": { "watchtower": {
"containers_scanned": "Scannet", "containers_scanned": "Scannet",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Geräte", "devices": "Geräte",
"lan_devices": "LAN-Geräte", "lan_devices": "LAN-Geräte",
"wlan_devices": "WLAN Geräte" "wlan_devices": "WLAN Geräte",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Aktive Streams", "streams": "Aktive Streams",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Lesezeichen", "bookmark": "Lesezeichen",
"service": "Dienst" "service": "Dienst",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -52,7 +52,8 @@
"wlan_users": "WLAN Users", "wlan_users": "WLAN Users",
"up": "UP", "up": "UP",
"down": "DOWN", "down": "DOWN",
"wait": "Please wait" "wait": "Please wait",
"empty_data": "Subsystem status unknown"
}, },
"docker": { "docker": {
"rx": "RX", "rx": "RX",
@ -283,7 +284,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"wmo": { "wmo": {
"0-day": "Sunny", "0-day": "Sunny",
@ -447,6 +450,18 @@
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
}, },
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
},
"diskstation": { "diskstation": {
"days": "Days", "days": "Days",
"uptime": "Uptime", "uptime": "Uptime",

View File

@ -38,7 +38,8 @@
"wlan_users": "WLAN Users", "wlan_users": "WLAN Users",
"up": "UP", "up": "UP",
"down": "DOWN", "down": "DOWN",
"wait": "Please wait" "wait": "Please wait",
"empty_data": "Subsystem status unknown"
}, },
"docker": { "docker": {
"rx": "RX", "rx": "RX",
@ -235,7 +236,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Servo" "service": "Servo",
"search": "Search",
"custom": "Custom"
}, },
"wmo": { "wmo": {
"0-day": "Suna", "0-day": "Suna",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Dispositivos", "devices": "Dispositivos",
"lan_devices": "Dispositivos LAN", "lan_devices": "Dispositivos LAN",
"wlan_devices": "Dispositivos WLAN" "wlan_devices": "Dispositivos WLAN",
"empty_data": "Se desconoce el estado del subsistema"
}, },
"plex": { "plex": {
"streams": "Transmisiones activas", "streams": "Transmisiones activas",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Marcadores", "bookmark": "Marcadores",
"service": "Servicio" "service": "Servicio",
"search": "Buscar",
"custom": "Personalizado"
}, },
"homebridge": { "homebridge": {
"available_update": "Sistema", "available_update": "Sistema",
@ -432,9 +435,21 @@
"memory_usage": "Memoria" "memory_usage": "Memoria"
}, },
"immich": { "immich": {
"users": "Users", "users": "Usuarios",
"photos": "Photos", "photos": "Fotos",
"videos": "Videos", "videos": "Vídeos",
"storage": "Storage" "storage": "Almacenamiento"
},
"uptimekuma": {
"up": "Páginas web activas",
"down": "Páginas web inactivas",
"uptime": "Disponibilidad",
"incident": "Incidencia",
"m": "m"
},
"komga": {
"libraries": "Librerías",
"series": "Series",
"books": "Libros"
} }
} }

View File

@ -203,7 +203,8 @@
"lan_devices": "LAN Devices", "lan_devices": "LAN Devices",
"lan": "LAN", "lan": "LAN",
"wlan": "WLAN", "wlan": "WLAN",
"wlan_devices": "WLAN Devices" "wlan_devices": "WLAN Devices",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Active Streams", "streams": "Active Streams",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Équipt.", "devices": "Équipt.",
"lan_devices": "Équipt. LAN", "lan_devices": "Équipt. LAN",
"wlan_devices": "Équipt. WLAN" "wlan_devices": "Équipt. WLAN",
"empty_data": "Statut sous-système inconnu"
}, },
"plex": { "plex": {
"streams": "Flux actif", "streams": "Flux actif",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Signet", "bookmark": "Signet",
"service": "Service" "service": "Service",
"search": "Recherche",
"custom": "Personnalisé"
}, },
"homebridge": { "homebridge": {
"available_update": "Système", "available_update": "Système",
@ -432,9 +435,21 @@
"memory_usage": "Mémoire" "memory_usage": "Mémoire"
}, },
"immich": { "immich": {
"users": "Users", "users": "Utilisateurs",
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Vidéos",
"storage": "Storage" "storage": "Stockage"
},
"uptimekuma": {
"up": "En ligne",
"down": "Hors ligne",
"uptime": "Dispo.",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Librairies",
"series": "Séries",
"books": "Livres"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Devices", "devices": "Devices",
"lan_devices": "LAN Devices", "lan_devices": "LAN Devices",
"wlan_devices": "WLAN Devices" "wlan_devices": "WLAN Devices",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Active Streams", "streams": "Active Streams",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -72,7 +72,8 @@
"wlan_users": "WLAN Users", "wlan_users": "WLAN Users",
"up": "UP", "up": "UP",
"down": "DOWN", "down": "DOWN",
"wait": "Please wait" "wait": "Please wait",
"empty_data": "Subsystem status unknown"
}, },
"docker": { "docker": {
"rx": "RX", "rx": "RX",
@ -225,7 +226,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"wmo": { "wmo": {
"0-day": "Sunny", "0-day": "Sunny",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Uređaji", "devices": "Uređaji",
"lan_devices": "LAN uređaji", "lan_devices": "LAN uređaji",
"wlan_devices": "WLAN uređaji" "wlan_devices": "WLAN uređaji",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Aktivni prijenosi", "streams": "Aktivni prijenosi",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Straničnik", "bookmark": "Straničnik",
"service": "Usluga" "service": "Usluga",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "Sustav", "available_update": "Sustav",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Devices", "devices": "Devices",
"lan_devices": "LAN Devices", "lan_devices": "LAN Devices",
"wlan_devices": "WLAN Devices" "wlan_devices": "WLAN Devices",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Active Streams", "streams": "Active Streams",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Dispositivi", "devices": "Dispositivi",
"lan_devices": "Dispositivi LAN", "lan_devices": "Dispositivi LAN",
"wlan_devices": "Dispositivi WLAN" "wlan_devices": "Dispositivi WLAN",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Trasmissioni attive", "streams": "Trasmissioni attive",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Segnalibro", "bookmark": "Segnalibro",
"service": "Servizio" "service": "Servizio",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "Sistema", "available_update": "Sistema",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -73,7 +73,8 @@
"wlan_users": "WLAN Users", "wlan_users": "WLAN Users",
"up": "UP", "up": "UP",
"down": "DOWN", "down": "DOWN",
"wait": "Please wait" "wait": "Please wait",
"empty_data": "Subsystem status unknown"
}, },
"docker": { "docker": {
"rx": "RX", "rx": "RX",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"wmo": { "wmo": {
"0-day": "Sunny", "0-day": "Sunny",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -42,7 +42,8 @@
"wlan_users": "WLAN lietotāji", "wlan_users": "WLAN lietotāji",
"up": "DARBOJAS", "up": "DARBOJAS",
"down": "NEDARBOJAS", "down": "NEDARBOJAS",
"wait": "Lūdzu, uzgaidiet" "wait": "Lūdzu, uzgaidiet",
"empty_data": "Subsystem status unknown"
}, },
"docker": { "docker": {
"rx": "RX", "rx": "RX",
@ -273,7 +274,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"wmo": { "wmo": {
"0-day": "Saulains", "0-day": "Saulains",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -20,7 +20,8 @@
"wlan_users": "Pengguna WLAN", "wlan_users": "Pengguna WLAN",
"up": "HIDUP", "up": "HIDUP",
"down": "MATI", "down": "MATI",
"wait": "Sila tunggu" "wait": "Sila tunggu",
"empty_data": "Subsystem status unknown"
}, },
"lidarr": { "lidarr": {
"queued": "Dibaris Gilir", "queued": "Dibaris Gilir",
@ -62,7 +63,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Tandabuku", "bookmark": "Tandabuku",
"service": "Servis" "service": "Servis",
"search": "Search",
"custom": "Custom"
}, },
"wmo": { "wmo": {
"0-day": "Terik", "0-day": "Terik",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Devices", "devices": "Devices",
"lan_devices": "LAN Devices", "lan_devices": "LAN Devices",
"wlan_devices": "WLAN Devices" "wlan_devices": "WLAN Devices",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Active Streams", "streams": "Active Streams",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Apparaten", "devices": "Apparaten",
"lan_devices": "LAN Apparaten", "lan_devices": "LAN Apparaten",
"wlan_devices": "WLAN Apparaten" "wlan_devices": "WLAN Apparaten",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Active Streams", "streams": "Active Streams",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Urządzenia", "devices": "Urządzenia",
"lan_devices": "Urządzenia LAN", "lan_devices": "Urządzenia LAN",
"wlan_devices": "Urządzenia WLAN" "wlan_devices": "Urządzenia WLAN",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Aktywne strumienie", "streams": "Aktywne strumienie",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Zakładka", "bookmark": "Zakładka",
"service": "Usługi" "service": "Usługi",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -31,10 +31,10 @@
"missing_type": "Tipo de Widget ausente: {{type}}", "missing_type": "Tipo de Widget ausente: {{type}}",
"api_error": "Erro da API", "api_error": "Erro da API",
"status": "Status", "status": "Status",
"information": "Information", "information": "Informação",
"url": "URL", "url": "URL",
"raw_error": "Raw Error", "raw_error": "Raw Error",
"response_data": "Response Data" "response_data": "Dados de Resposta"
}, },
"weather": { "weather": {
"current": "Localização atual", "current": "Localização atual",
@ -53,13 +53,13 @@
"cpu": "CPU" "cpu": "CPU"
}, },
"docker": { "docker": {
"rx": "Rx", "rx": "Recebido",
"tx": "Tx", "tx": "Transmitido",
"mem": "Mem", "mem": "Memória",
"cpu": "CPU", "cpu": "CPU",
"offline": "Desligado", "offline": "Desligado",
"error": "Error", "error": "Erro",
"unknown": "Unknown" "unknown": "Desconhecido"
}, },
"emby": { "emby": {
"playing": "Reproduzindo", "playing": "Reproduzindo",
@ -99,7 +99,7 @@
"wanted": "Desejado", "wanted": "Desejado",
"queued": "Na fila", "queued": "Na fila",
"movies": "Filmes", "movies": "Filmes",
"missing": "Missing" "missing": "Faltando"
}, },
"lidarr": { "lidarr": {
"wanted": "Desejado", "wanted": "Desejado",
@ -129,7 +129,7 @@
"pending": "Pendente", "pending": "Pendente",
"approved": "Aprovado", "approved": "Aprovado",
"available": "Disponível", "available": "Disponível",
"processing": "Processing" "processing": "Processando"
}, },
"pihole": { "pihole": {
"queries": "Consultas", "queries": "Consultas",
@ -148,9 +148,9 @@
"ping": "Ping" "ping": "Ping"
}, },
"traefik": { "traefik": {
"routers": "Rotas", "routers": "Roteadores",
"services": "Serviços", "services": "Serviços",
"middleware": "Middleware" "middleware": "Software intermediario"
}, },
"npm": { "npm": {
"enabled": "Habilitado", "enabled": "Habilitado",
@ -164,10 +164,10 @@
}, },
"prowlarr": { "prowlarr": {
"enableIndexers": "Indexadores", "enableIndexers": "Indexadores",
"numberOfGrabs": "Grabs", "numberOfGrabs": "Pegos",
"numberOfQueries": "Queries", "numberOfQueries": "Consultas",
"numberOfFailGrabs": "Fail Grabs", "numberOfFailGrabs": "Fail Grabs",
"numberOfFailQueries": "Fail Queries" "numberOfFailQueries": "Consultas Falhas"
}, },
"jackett": { "jackett": {
"configured": "Configurado", "configured": "Configurado",
@ -179,36 +179,37 @@
"domain_count": "Domínios" "domain_count": "Domínios"
}, },
"authentik": { "authentik": {
"users": "Users", "users": "Usuários",
"loginsLast24H": "Logins (24h)", "loginsLast24H": "Logins (24h)",
"failedLoginsLast24H": "Failed Logins (24h)" "failedLoginsLast24H": "Failed Logins (24h)"
}, },
"proxmox": { "proxmox": {
"mem": "MEM", "mem": "Memória",
"cpu": "CPU", "cpu": "Processador",
"lxc": "LXC", "lxc": "LXC",
"vms": "VMs" "vms": "VMs"
}, },
"unifi": { "unifi": {
"users": "Users", "users": "Usuários",
"uptime": "System Uptime", "uptime": "Tempo de Funcionamento",
"days": "Days", "days": "Dias",
"wan": "WAN", "wan": "WAN",
"lan_users": "LAN Users", "lan_users": "Usuarios locais",
"wlan_users": "WLAN Users", "wlan_users": "Usuarios WLAN",
"up": "UP", "up": "LIGADO",
"down": "DOWN", "down": "CÁIDO",
"wait": "Please wait", "wait": "Por favor guarde",
"lan": "LAN", "lan": "LAN",
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Devices", "devices": "Dispositivos",
"lan_devices": "LAN Devices", "lan_devices": "Dispositivos LAN",
"wlan_devices": "WLAN Devices" "wlan_devices": "Dispositivos WLAN",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Active Streams", "streams": "Transmissões ativas",
"movies": "Movies", "movies": "Filmes",
"tv": "TV Shows" "tv": "Séries de TV"
}, },
"glances": { "glances": {
"cpu": "CPU", "cpu": "CPU",
@ -222,10 +223,10 @@
"wmo": { "wmo": {
"1-night": "Mainly Clear", "1-night": "Mainly Clear",
"2-day": "Partly Cloudy", "2-day": "Partly Cloudy",
"2-night": "Partly Cloudy", "2-night": "Parcialmente nublado",
"3-day": "Cloudy", "3-day": "Nublado",
"3-night": "Cloudy", "3-night": "Nublado",
"45-day": "Foggy", "45-day": "Névoa",
"45-night": "Foggy", "45-night": "Foggy",
"48-day": "Foggy", "48-day": "Foggy",
"48-night": "Foggy", "48-night": "Foggy",
@ -233,9 +234,9 @@
"57-day": "Freezing Drizzle", "57-day": "Freezing Drizzle",
"99-day": "Thunderstorm With Hail", "99-day": "Thunderstorm With Hail",
"99-night": "Thunderstorm With Hail", "99-night": "Thunderstorm With Hail",
"0-day": "Sunny", "0-day": "Ensolarado",
"53-day": "Drizzle", "53-day": "Drizzle",
"0-night": "Clear", "0-night": "Limpo",
"1-day": "Mainly Sunny", "1-day": "Mainly Sunny",
"51-day": "Light Drizzle", "51-day": "Light Drizzle",
"51-night": "Light Drizzle", "51-night": "Light Drizzle",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -313,8 +316,8 @@
"time": "{{value, number(style: unit; unitDisplay: long;)}}" "time": "{{value, number(style: unit; unitDisplay: long;)}}"
}, },
"navidrome": { "navidrome": {
"nothing_streaming": "No Active Streams", "nothing_streaming": "Sem transmissões ativas",
"please_wait": "Please Wait" "please_wait": "Por favor aguarde"
}, },
"pyload": { "pyload": {
"speed": "Speed", "speed": "Speed",
@ -332,7 +335,7 @@
"hd": "HD" "hd": "HD"
}, },
"ping": { "ping": {
"error": "Error", "error": "Erro",
"ping": "Ping" "ping": "Ping"
}, },
"scrutiny": { "scrutiny": {
@ -357,14 +360,14 @@
"seed": "Seed" "seed": "Seed"
}, },
"tdarr": { "tdarr": {
"queue": "Queue", "queue": "Fila",
"processed": "Processed", "processed": "Processado",
"errored": "Errored", "errored": "Erro",
"saved": "Saved" "saved": "Salvo"
}, },
"miniflux": { "miniflux": {
"read": "Read", "read": "Lidos",
"unread": "Unread" "unread": "Não Lidos"
}, },
"nextdns": { "nextdns": {
"wait": "Please Wait", "wait": "Please Wait",
@ -375,11 +378,11 @@
"bibitrate": "{{value, rate(bits: true; binary: true)}}" "bibitrate": "{{value, rate(bits: true; binary: true)}}"
}, },
"omada": { "omada": {
"connectedAp": "Connected APs", "connectedAp": "Pontos de acesso conectados",
"activeUser": "Active devices", "activeUser": "Dispositivos ativos",
"alerts": "Alerts", "alerts": "Alertas",
"connectedGateway": "Connected gateways", "connectedGateway": "Gateways conectados",
"connectedSwitches": "Connected switches" "connectedSwitches": "Interruptores conectados"
}, },
"downloadstation": { "downloadstation": {
"download": "Download", "download": "Download",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -216,7 +216,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Dispositivos", "devices": "Dispositivos",
"lan_devices": "Dispositivos LAN", "lan_devices": "Dispositivos LAN",
"wlan_devices": "Dispositivos WLAN" "wlan_devices": "Dispositivos WLAN",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Streams Ativas", "streams": "Streams Ativas",
@ -292,7 +293,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Marcador", "bookmark": "Marcador",
"service": "Serviço" "service": "Serviço",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "Sistema", "available_update": "Sistema",
@ -445,5 +448,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Devices", "devices": "Devices",
"lan_devices": "LAN Devices", "lan_devices": "LAN Devices",
"wlan_devices": "WLAN Devices" "wlan_devices": "WLAN Devices",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Fluxuri active", "streams": "Fluxuri active",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"update_available": "Update Available", "update_available": "Update Available",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Устройства", "devices": "Устройства",
"lan_devices": "Устройства подключённые по LAN", "lan_devices": "Устройства подключённые по LAN",
"wlan_devices": "WLAN Devices" "wlan_devices": "WLAN Devices",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Active Streams", "streams": "Active Streams",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -38,7 +38,8 @@
"wlan_users": "WLAN Users", "wlan_users": "WLAN Users",
"up": "UP", "up": "UP",
"down": "DOWN", "down": "DOWN",
"wait": "Please wait" "wait": "Please wait",
"empty_data": "Subsystem status unknown"
}, },
"docker": { "docker": {
"rx": "RX", "rx": "RX",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Devices", "devices": "Devices",
"lan_devices": "LAN Devices", "lan_devices": "LAN Devices",
"wlan_devices": "WLAN Devices" "wlan_devices": "WLAN Devices",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Aktiva strömmar", "streams": "Aktiva strömmar",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "పరికరాలు", "devices": "పరికరాలు",
"lan_devices": "LAN పరికరాలు", "lan_devices": "LAN పరికరాలు",
"wlan_devices": "WLAN పరికరాలు" "wlan_devices": "WLAN పరికరాలు",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "యాక్టివ్ స్ట్రీమ్‌లు", "streams": "యాక్టివ్ స్ట్రీమ్‌లు",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "బుక్మార్క్", "bookmark": "బుక్మార్క్",
"service": "సేవ" "service": "సేవ",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "వ్యవస్థ", "available_update": "వ్యవస్థ",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -38,7 +38,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Aygıtlar", "devices": "Aygıtlar",
"lan_devices": "LAN Aygıtları", "lan_devices": "LAN Aygıtları",
"wlan_devices": "WLAN Aygıtları" "wlan_devices": "WLAN Aygıtları",
"empty_data": "Subsystem status unknown"
}, },
"docker": { "docker": {
"rx": "Gelen Veri", "rx": "Gelen Veri",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Yer İmi", "bookmark": "Yer İmi",
"service": "Hizmet" "service": "Hizmet",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "Sistem", "available_update": "Sistem",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -143,7 +143,8 @@
"wlan_users": "WLAN користувачі", "wlan_users": "WLAN користувачі",
"up": "Відправка", "up": "Відправка",
"down": "Завантаження", "down": "Завантаження",
"wait": "Будь ласка, зачекайте" "wait": "Будь ласка, зачекайте",
"empty_data": "Статус підсистеми невідомий"
}, },
"docker": { "docker": {
"rx": "RX", "rx": "RX",
@ -341,7 +342,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Закладка", "bookmark": "Закладка",
"service": "Сервіс" "service": "Сервіс",
"search": "Пошук",
"custom": "Користувацький"
}, },
"homebridge": { "homebridge": {
"available_update": "Система", "available_update": "Система",
@ -426,15 +429,27 @@
"status": "Стан" "status": "Стан"
}, },
"proxmoxbackupserver": { "proxmoxbackupserver": {
"datastore_usage": "Datastore", "datastore_usage": "Сховище даних",
"failed_tasks_24h": "Failed Tasks 24h", "failed_tasks_24h": "Невиконані завдання 24 години",
"cpu_usage": "CPU", "cpu_usage": "CPU",
"memory_usage": "Memory" "memory_usage": "Пам'ять"
}, },
"immich": { "immich": {
"users": "Users", "users": "Користувачі",
"photos": "Photos", "photos": "Фотографії",
"videos": "Videos", "videos": "Відео",
"storage": "Storage" "storage": "Сховище"
},
"uptimekuma": {
"up": "Активні сайти",
"down": "Неактивні сайти",
"uptime": "Час роботи",
"incident": "Інцидент",
"m": "хв"
},
"komga": {
"libraries": "Бібліотеки",
"series": "Серії",
"books": "Книжки"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Devices", "devices": "Devices",
"lan_devices": "LAN Devices", "lan_devices": "LAN Devices",
"wlan_devices": "WLAN Devices" "wlan_devices": "WLAN Devices",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Active Streams", "streams": "Active Streams",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "Devices", "devices": "Devices",
"lan_devices": "LAN Devices", "lan_devices": "LAN Devices",
"wlan_devices": "WLAN Devices" "wlan_devices": "WLAN Devices",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "Active Streams", "streams": "Active Streams",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "Bookmark", "bookmark": "Bookmark",
"service": "Service" "service": "Service",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -3,16 +3,16 @@
"missing_type": "缺少小部件类型:{{type}}", "missing_type": "缺少小部件类型:{{type}}",
"api_error": "API错误", "api_error": "API错误",
"status": "状态", "status": "状态",
"information": "Information", "information": "信息",
"url": "URL", "url": "URL",
"raw_error": "Raw Error", "raw_error": "原始错误",
"response_data": "Response Data" "response_data": "返回数据"
}, },
"search": { "search": {
"placeholder": "搜索…" "placeholder": "搜索…"
}, },
"resources": { "resources": {
"total": "", "total": "总计",
"free": "空闲", "free": "空闲",
"used": "已用", "used": "已用",
"load": "负载", "load": "负载",
@ -24,8 +24,8 @@
"mem": "内存", "mem": "内存",
"cpu": "处理器", "cpu": "处理器",
"offline": "离线", "offline": "离线",
"error": "Error", "error": "错误",
"unknown": "Unknown" "unknown": "未知"
}, },
"emby": { "emby": {
"playing": "播放中", "playing": "播放中",
@ -203,7 +203,8 @@
"wlan": "无线局域网", "wlan": "无线局域网",
"devices": "设备", "devices": "设备",
"lan_devices": "局域网设备", "lan_devices": "局域网设备",
"wlan_devices": "无线局域网设备" "wlan_devices": "无线局域网设备",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "活动流", "streams": "活动流",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "书签", "bookmark": "书签",
"service": "服务" "service": "服务",
"search": "Search",
"custom": "Custom"
}, },
"homebridge": { "homebridge": {
"available_update": "System", "available_update": "System",
@ -332,7 +335,7 @@
"hd": "HD" "hd": "HD"
}, },
"ping": { "ping": {
"error": "Error", "error": "错误",
"ping": "Ping" "ping": "Ping"
}, },
"scrutiny": { "scrutiny": {
@ -345,22 +348,22 @@
"total": "Total" "total": "Total"
}, },
"deluge": { "deluge": {
"download": "Download", "download": "下载",
"upload": "Upload", "upload": "上传",
"leech": "Leech", "leech": "下载中",
"seed": "Seed" "seed": "做种"
}, },
"flood": { "flood": {
"leech": "Leech", "leech": "下载中",
"download": "Download", "download": "下载",
"upload": "Upload", "upload": "上传",
"seed": "Seed" "seed": "做种"
}, },
"tdarr": { "tdarr": {
"saved": "Saved", "saved": "Saved",
"queue": "Queue", "queue": "队列",
"processed": "Processed", "processed": "Processed",
"errored": "Errored" "errored": "出错"
}, },
"miniflux": { "miniflux": {
"read": "Read", "read": "Read",
@ -376,16 +379,16 @@
}, },
"omada": { "omada": {
"connectedAp": "Connected APs", "connectedAp": "Connected APs",
"activeUser": "Active devices", "activeUser": "活跃设备",
"alerts": "Alerts", "alerts": "警报",
"connectedGateway": "Connected gateways", "connectedGateway": "已连接网关",
"connectedSwitches": "Connected switches" "connectedSwitches": "已连接开关"
}, },
"downloadstation": { "downloadstation": {
"download": "Download", "download": "下载",
"upload": "Upload", "upload": "上传",
"leech": "Leech", "leech": "下载中",
"seed": "Seed" "seed": "做种"
}, },
"mikrotik": { "mikrotik": {
"cpuLoad": "CPU Load", "cpuLoad": "CPU Load",
@ -436,5 +439,17 @@
"photos": "Photos", "photos": "Photos",
"videos": "Videos", "videos": "Videos",
"storage": "Storage" "storage": "Storage"
},
"uptimekuma": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime",
"incident": "Incident",
"m": "m"
},
"komga": {
"libraries": "Libraries",
"series": "Series",
"books": "Books"
} }
} }

View File

@ -4,9 +4,9 @@
"api_error": "API錯誤", "api_error": "API錯誤",
"status": "狀態", "status": "狀態",
"information": "資訊", "information": "資訊",
"url": "URL", "url": "網址",
"raw_error": "Raw Error", "raw_error": "原始錯誤",
"response_data": "Response Data" "response_data": "回復數據"
}, },
"weather": { "weather": {
"current": "目前位置", "current": "目前位置",
@ -36,9 +36,9 @@
"no_active": "無播放活動" "no_active": "無播放活動"
}, },
"jellyseerr": { "jellyseerr": {
"pending": "待", "pending": "待下載",
"approved": "已接受", "approved": "已核准",
"available": "可用的" "available": "可觀看"
}, },
"search": { "search": {
"placeholder": "搜尋…" "placeholder": "搜尋…"
@ -82,14 +82,14 @@
"books": "書籍" "books": "書籍"
}, },
"ombi": { "ombi": {
"pending": "待", "pending": "待下載",
"approved": "已接受", "approved": "已核准",
"available": "可用的" "available": "可觀看"
}, },
"overseerr": { "overseerr": {
"pending": "待", "pending": "待下載",
"approved": "已接受", "approved": "已核准",
"available": "可用的", "available": "可觀看",
"processing": "處理中" "processing": "處理中"
}, },
"pihole": { "pihole": {
@ -203,7 +203,8 @@
"wlan": "WLAN", "wlan": "WLAN",
"devices": "設備", "devices": "設備",
"lan_devices": "LAN設備", "lan_devices": "LAN設備",
"wlan_devices": "WLAN設備" "wlan_devices": "WLAN設備",
"empty_data": "Subsystem status unknown"
}, },
"plex": { "plex": {
"streams": "正在播放", "streams": "正在播放",
@ -279,7 +280,9 @@
}, },
"quicklaunch": { "quicklaunch": {
"bookmark": "書籤", "bookmark": "書籤",
"service": "服務" "service": "服務",
"search": "搜尋",
"custom": "自訂"
}, },
"homebridge": { "homebridge": {
"available_update": "系統", "available_update": "系統",
@ -290,7 +293,7 @@
"child_bridges_status": "{{ok}}/{{total}}" "child_bridges_status": "{{ok}}/{{total}}"
}, },
"autobrr": { "autobrr": {
"approvedPushes": "接受", "approvedPushes": "已核准",
"rejectedPushes": "拒絕", "rejectedPushes": "拒絕",
"filters": "篩選器", "filters": "篩選器",
"indexers": "索引器" "indexers": "索引器"
@ -422,19 +425,31 @@
"job_completion": "完成度" "job_completion": "完成度"
}, },
"cloudflared": { "cloudflared": {
"origin_ip": "Origin IP", "origin_ip": "源頭IP",
"status": "Status" "status": "狀態"
}, },
"proxmoxbackupserver": { "proxmoxbackupserver": {
"datastore_usage": "Datastore", "datastore_usage": "數據存儲",
"failed_tasks_24h": "Failed Tasks 24h", "failed_tasks_24h": "24小時內失敗任務",
"cpu_usage": "CPU", "cpu_usage": "CPU",
"memory_usage": "Memory" "memory_usage": "記憶體"
}, },
"immich": { "immich": {
"users": "Users", "users": "使用者",
"photos": "Photos", "photos": "照片",
"videos": "Videos", "videos": "影片",
"storage": "Storage" "storage": "儲存空間"
},
"uptimekuma": {
"up": "在線網站",
"down": "離線網站",
"uptime": "在線時間",
"incident": "事件",
"m": "m"
},
"komga": {
"libraries": "文庫",
"series": "叢刊",
"books": "書刊"
} }
} }

View File

@ -6,7 +6,7 @@ import ResolvedIcon from "./resolvedicon";
import { SettingsContext } from "utils/contexts/settings"; import { SettingsContext } from "utils/contexts/settings";
export default function QuickLaunch({servicesAndBookmarks, searchString, setSearchString, isOpen, close, searchDescriptions}) { export default function QuickLaunch({servicesAndBookmarks, searchString, setSearchString, isOpen, close, searchDescriptions, searchProvider}) {
const { t } = useTranslation(); const { t } = useTranslation();
const { settings } = useContext(SettingsContext); const { settings } = useContext(SettingsContext);
@ -50,6 +50,7 @@ export default function QuickLaunch({servicesAndBookmarks, searchString, setSear
} }
} }
function handleItemHover(event) { function handleItemHover(event) {
setCurrentItemIndex(parseInt(event.target?.dataset?.index, 10)); setCurrentItemIndex(parseInt(event.target?.dataset?.index, 10));
} }
@ -75,6 +76,15 @@ export default function QuickLaunch({servicesAndBookmarks, searchString, setSear
if (searchDescriptions) { if (searchDescriptions) {
newResults = newResults.sort((a, b) => b.priority - a.priority); newResults = newResults.sort((a, b) => b.priority - a.priority);
} }
if (searchProvider) {
newResults.push(
{
href: searchProvider.url + encodeURIComponent(searchString),
name: `${searchProvider.name ?? t("quicklaunch.custom")} ${t("quicklaunch.search")} `,
type: 'search',
}
)
}
setResults(newResults); setResults(newResults);
@ -82,7 +92,7 @@ export default function QuickLaunch({servicesAndBookmarks, searchString, setSear
setCurrentItemIndex(0); setCurrentItemIndex(0);
} }
} }
}, [searchString, servicesAndBookmarks, searchDescriptions]); }, [searchString, servicesAndBookmarks, searchDescriptions, searchProvider, t]);
const [hidden, setHidden] = useState(true); const [hidden, setHidden] = useState(true);
@ -135,10 +145,10 @@ export default function QuickLaunch({servicesAndBookmarks, searchString, setSear
i === currentItemIndex && "bg-theme-300/50 dark:bg-theme-700/50", i === currentItemIndex && "bg-theme-300/50 dark:bg-theme-700/50",
)} onClick={handleItemClick}> )} onClick={handleItemClick}>
<div className="flex flex-row items-center mr-4 pointer-events-none"> <div className="flex flex-row items-center mr-4 pointer-events-none">
<div className="w-5 text-xs mr-4"> {(r.icon || r.abbr) && <div className="w-5 text-xs mr-4">
{r.icon && <ResolvedIcon icon={r.icon} />} {r.icon && <ResolvedIcon icon={r.icon} />}
{r.abbr && r.abbr} {r.abbr && r.abbr}
</div> </div>}
<div className="flex flex-col md:flex-row text-left items-baseline mr-4 pointer-events-none"> <div className="flex flex-col md:flex-row text-left items-baseline mr-4 pointer-events-none">
<span className="mr-4">{r.name}</span> <span className="mr-4">{r.name}</span>
{r.description && {r.description &&
@ -148,7 +158,7 @@ export default function QuickLaunch({servicesAndBookmarks, searchString, setSear
} }
</div> </div>
</div> </div>
<div className="text-xs text-theme-600 font-bold pointer-events-none">{r.type === 'service' ? t("quicklaunch.service") : t("quicklaunch.bookmark")}</div> <div className="text-xs text-theme-600 font-bold pointer-events-none">{t(`quicklaunch.${r.type ? r.type.toLowerCase() : 'bookmark'}`)}</div>
</button> </button>
</li> </li>
))} ))}

View File

@ -30,8 +30,8 @@ export default function Status({ service }) {
} }
return ( return (
<div className="w-auto px-1.5 py-0.5 text-center bg-theme-500/10 dark:bg-theme-900/50 rounded-b-[3px] overflow-hidden" title={data.health ?? data.status}> <div className="w-auto px-1.5 py-0.5 text-center bg-theme-500/10 dark:bg-theme-900/50 rounded-b-[3px] overflow-hidden" title={data.health || data.status}>
<div className="text-[8px] font-bold text-emerald-500/80 uppercase">{data.health ?? data.status}</div> <div className="text-[8px] font-bold text-emerald-500/80 uppercase">{data.health || data.status}</div>
</div> </div>
); );
} }

View File

@ -1,9 +1,11 @@
import { useState } from "react"; import { useState, useEffect, Fragment } from "react";
import { useTranslation } from "next-i18next"; import { useTranslation } from "next-i18next";
import { FiSearch } from "react-icons/fi"; import { FiSearch } from "react-icons/fi";
import { SiDuckduckgo, SiMicrosoftbing, SiGoogle, SiBaidu, SiBrave } from "react-icons/si"; import { SiDuckduckgo, SiMicrosoftbing, SiGoogle, SiBaidu, SiBrave } from "react-icons/si";
import { Listbox, Transition } from "@headlessui/react";
import classNames from "classnames";
const providers = { export const searchProviders = {
google: { google: {
name: "Google", name: "Google",
url: "https://www.google.com/search?q=", url: "https://www.google.com/search?q=",
@ -36,21 +38,55 @@ const providers = {
}, },
}; };
function getAvailableProviderIds(options) {
if (options.provider && Array.isArray(options.provider)) {
return Object.keys(searchProviders).filter((value) => options.provider.includes(value));
}
if (options.provider && searchProviders[options.provider]) {
return [options.provider];
}
return null;
}
const localStorageKey = "search-name";
export function getStoredProvider() {
if (typeof window !== 'undefined') {
const storedName = localStorage.getItem(localStorageKey);
if (storedName) {
return Object.values(searchProviders).find((el) => el.name === storedName);
}
}
return null;
}
export default function Search({ options }) { export default function Search({ options }) {
const { t } = useTranslation(); const { t } = useTranslation();
const provider = providers[options.provider]; const availableProviderIds = getAvailableProviderIds(options);
const [query, setQuery] = useState("");
if (!provider) { const [query, setQuery] = useState("");
const [selectedProvider, setSelectedProvider] = useState(searchProviders[availableProviderIds[0] ?? searchProviders.google]);
useEffect(() => {
const storedProvider = getStoredProvider();
let storedProviderKey = null;
storedProviderKey = Object.keys(searchProviders).find((pkey) => searchProviders[pkey] === storedProvider);
if (storedProvider && availableProviderIds.includes(storedProviderKey)) {
setSelectedProvider(storedProvider);
}
}, [availableProviderIds]);
if (!availableProviderIds) {
return null; return null;
} }
function handleSubmit(event) { function handleSubmit(event) {
const q = encodeURIComponent(query); const q = encodeURIComponent(query);
if (provider.url) { const { url } = selectedProvider;
window.open(`${provider.url}${q}`, options.target || "_blank"); if (url) {
window.open(`${url}${q}`, options.target || "_blank");
} else { } else {
window.open(`${options.url}${q}`, options.target || "_blank"); window.open(`${options.url}${q}`, options.target || "_blank");
} }
@ -60,6 +96,11 @@ export default function Search({ options }) {
setQuery(""); setQuery("");
} }
const onChangeProvider = (provider) => {
setSelectedProvider(provider);
localStorage.setItem(localStorageKey, provider.name);
}
return ( return (
<form className="flex-col relative h-8 my-4 min-w-fit grow first:ml-0 ml-4" onSubmit={handleSubmit}> <form className="flex-col relative h-8 my-4 min-w-fit grow first:ml-0 ml-4" onSubmit={handleSubmit}>
<div className="flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none w-full text-theme-800 dark:text-white" /> <div className="flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none w-full text-theme-800 dark:text-white" />
@ -82,17 +123,55 @@ export default function Search({ options }) {
// eslint-disable-next-line jsx-a11y/no-autofocus // eslint-disable-next-line jsx-a11y/no-autofocus
autoFocus={options.focus} autoFocus={options.focus}
/> />
<button <Listbox as="div" value={selectedProvider} onChange={onChangeProvider} className="relative text-left" disabled={availableProviderIds?.length === 1}>
type="submit" <div>
<Listbox.Button
className=" className="
absolute right-0.5 bottom-0.5 rounded-r-md px-4 py-2 border-1 absolute right-0.5 bottom-0.5 rounded-r-md px-4 py-2 border-1
text-white font-medium text-sm text-white font-medium text-sm
bg-theme-600/40 dark:bg-white/10 bg-theme-600/40 dark:bg-white/10
focus:ring-theme-500 dark:focus:ring-white/50" focus:ring-theme-500 dark:focus:ring-white/50"
> >
<provider.icon className="text-white w-3 h-3" /> <selectedProvider.icon className="text-white w-3 h-3" />
<span className="sr-only">{t("search.search")}</span> <span className="sr-only">{t("search.search")}</span>
</button> </Listbox.Button>
</div>
<Transition
as={Fragment}
enter="transition ease-out duration-100"
enterFrom="transform opacity-0 scale-95"
enterTo="transform opacity-100 scale-100"
leave="transition ease-in duration-75"
leaveFrom="transform opacity-100 scale-100"
leaveTo="transform opacity-0 scale-95"
>
<Listbox.Options
className="absolute right-0 z-10 mt-1 origin-top-right rounded-md
bg-theme-100 dark:bg-theme-600 shadow-lg
ring-1 ring-black ring-opacity-5 focus:outline-none"
>
<div className="flex flex-col">
{availableProviderIds.map((providerId) => {
const p = searchProviders[providerId];
return (
<Listbox.Option key={providerId} value={p} as={Fragment}>
{({ active }) => (
<li
className={classNames(
"rounded-md cursor-pointer",
active ? "bg-theme-600/10 dark:bg-white/10 dark:text-gray-900" : "dark:text-gray-100"
)}
>
<p.icon className="h-4 w-4 mx-4 my-2" />
</li>
)}
</Listbox.Option>
);
})}
</div>
</Listbox.Options>
</Transition>
</Listbox>
</form> </form>
); );
} }

View File

@ -20,7 +20,6 @@ export default function Widget({ options }) {
<BiError className="w-8 h-8 text-theme-800 dark:text-theme-200" /> <BiError className="w-8 h-8 text-theme-800 dark:text-theme-200" />
<div className="flex flex-col ml-3 text-left"> <div className="flex flex-col ml-3 text-left">
<span className="text-theme-800 dark:text-theme-200 text-sm">{t("widget.api_error")}</span> <span className="text-theme-800 dark:text-theme-200 text-sm">{t("widget.api_error")}</span>
<span className="text-theme-800 dark:text-theme-200 text-xs">-</span>
</div> </div>
</div> </div>
</div> </div>
@ -28,7 +27,7 @@ export default function Widget({ options }) {
); );
} }
const defaultSite = statsData?.data?.find(s => s.name === "default"); const defaultSite = options.site ? statsData?.data.find(s => s.desc === options.site) : statsData?.data?.find(s => s.name === "default");
if (!defaultSite) { if (!defaultSite) {
return ( return (
@ -55,6 +54,8 @@ export default function Widget({ options }) {
const name = wan.gw_name ?? defaultSite.desc; const name = wan.gw_name ?? defaultSite.desc;
const uptime = wan["gw_system-stats"] ? wan["gw_system-stats"].uptime : null; const uptime = wan["gw_system-stats"] ? wan["gw_system-stats"].uptime : null;
const dataEmpty = !(wan.show || lan.show || wlan.show || uptime);
return ( return (
<div className="flex-none flex flex-row items-center mr-3 py-1.5"> <div className="flex-none flex flex-row items-center mr-3 py-1.5">
<div className="flex flex-col"> <div className="flex flex-col">
@ -64,6 +65,14 @@ export default function Widget({ options }) {
{name} {name}
</div> </div>
</div> </div>
{dataEmpty && <div className="flex flex-row ml-3 text-[8px] justify-between">
<div className="flex flex-row items-center justify-end">
<div className="flex flex-row">
<BiError className="w-4 h-4 text-theme-800 dark:text-theme-200" />
<span className="text-theme-800 dark:text-theme-200 text-xs">{t("unifi.empty_data")}</span>
</div>
</div>
</div>}
<div className="flex flex-row ml-3 text-[10px] justify-between"> <div className="flex flex-row ml-3 text-[10px] justify-between">
{uptime && <div className="flex flex-row" title={t("unifi.uptime")}> {uptime && <div className="flex flex-row" title={t("unifi.uptime")}>
<div className="pr-0.5 text-theme-800 dark:text-theme-200"> <div className="pr-0.5 text-theme-800 dark:text-theme-200">

View File

@ -6,6 +6,7 @@ import Head from "next/head";
import "styles/globals.css"; import "styles/globals.css";
import "styles/theme.css"; import "styles/theme.css";
import "styles/manrope.css"; import "styles/manrope.css";
import "styles/custom.css";
import nextI18nextConfig from "../../next-i18next.config"; import nextI18nextConfig from "../../next-i18next.config";
import { ColorProvider } from "utils/contexts/color"; import { ColorProvider } from "utils/contexts/color";

View File

@ -22,6 +22,7 @@ import { bookmarksResponse, servicesResponse, widgetsResponse } from "utils/conf
import ErrorBoundary from "components/errorboundry"; import ErrorBoundary from "components/errorboundry";
import themes from "utils/styles/themes"; import themes from "utils/styles/themes";
import QuickLaunch from "components/quicklaunch"; import QuickLaunch from "components/quicklaunch";
import { getStoredProvider, searchProviders } from "components/widgets/search/search";
const ThemeToggle = dynamic(() => import("components/toggles/theme"), { const ThemeToggle = dynamic(() => import("components/toggles/theme"), {
ssr: false, ssr: false,
@ -193,6 +194,20 @@ function Home({ initialSettings }) {
const [searching, setSearching] = useState(false); const [searching, setSearching] = useState(false);
const [searchString, setSearchString] = useState(""); const [searchString, setSearchString] = useState("");
let searchProvider = null;
const searchWidget = Object.values(widgets).find(w => w.type === "search");
if (searchWidget) {
if (Array.isArray(searchWidget.options?.provider)) {
// if search provider is a list, try to retrieve from localstorage, fall back to the first
searchProvider = getStoredProvider() ?? searchProviders[searchWidget.options.provider[0]];
} else if (searchWidget.options?.provider === 'custom') {
searchProvider = {
url: searchWidget.options.url
}
} else {
searchProvider = searchProviders[searchWidget.options?.provider];
}
}
useEffect(() => { useEffect(() => {
function handleKeyDown(e) { function handleKeyDown(e) {
@ -251,6 +266,7 @@ function Home({ initialSettings }) {
isOpen={searching} isOpen={searching}
close={setSearching} close={setSearching}
searchDescriptions={settings.quicklaunch?.searchDescriptions} searchDescriptions={settings.quicklaunch?.searchDescriptions}
searchProvider={settings.quicklaunch?.hideInternetSearch ? null : searchProvider}
/> />
{widgets && ( {widgets && (
<> <>

3
src/styles/custom.css Normal file
View File

@ -0,0 +1,3 @@
/*
Mount this file and define your custom styles
*/

View File

@ -233,6 +233,7 @@ export function cleanServiceGroups(groups) {
currency, // coinmarketcap widget currency, // coinmarketcap widget
symbols, symbols,
defaultinterval, defaultinterval,
site, // unifi widget
namespace, // kubernetes widget namespace, // kubernetes widget
app, app,
podSelector, podSelector,
@ -256,6 +257,9 @@ export function cleanServiceGroups(groups) {
if (server) cleanedService.widget.server = server; if (server) cleanedService.widget.server = server;
if (container) cleanedService.widget.container = container; if (container) cleanedService.widget.container = container;
} }
if (type === "unifi") {
if (site) cleanedService.widget.site = site;
}
if (type === "kubernetes") { if (type === "kubernetes") {
if (namespace) cleanedService.widget.namespace = namespace; if (namespace) cleanedService.widget.namespace = namespace;
if (app) cleanedService.widget.app = app; if (app) cleanedService.widget.app = app;

View File

@ -22,6 +22,7 @@ const components = {
jackett: dynamic(() => import("./jackett/component")), jackett: dynamic(() => import("./jackett/component")),
jellyfin: dynamic(() => import("./emby/component")), jellyfin: dynamic(() => import("./emby/component")),
jellyseerr: dynamic(() => import("./jellyseerr/component")), jellyseerr: dynamic(() => import("./jellyseerr/component")),
komga: dynamic(() => import("./komga/component")),
lidarr: dynamic(() => import("./lidarr/component")), lidarr: dynamic(() => import("./lidarr/component")),
mastodon: dynamic(() => import("./mastodon/component")), mastodon: dynamic(() => import("./mastodon/component")),
medusa: dynamic(() => import("./medusa/component")), medusa: dynamic(() => import("./medusa/component")),
@ -64,6 +65,7 @@ const components = {
watchtower: dynamic(() => import("./watchtower/component")), watchtower: dynamic(() => import("./watchtower/component")),
xteve: dynamic(() => import("./xteve/component")), xteve: dynamic(() => import("./xteve/component")),
immich: dynamic(() => import("./immich/component")), immich: dynamic(() => import("./immich/component")),
uptimekuma: dynamic(() => import("./uptimekuma/component")),
}; };
export default components; export default components;

View File

@ -0,0 +1,37 @@
import { useTranslation } from "next-i18next";
import Container from "components/services/widget/container";
import Block from "components/services/widget/block";
import useWidgetAPI from "utils/proxy/use-widget-api";
export default function Component({ service }) {
const { t } = useTranslation();
const { widget } = service;
const { data: libraryData, error: libraryError } = useWidgetAPI(widget, "libraries");
const { data: seriesData, error: seriesError } = useWidgetAPI(widget, "series");
const { data: bookData, error: bookError } = useWidgetAPI(widget, "books");
if (libraryError || seriesError || bookError) {
const finalError = libraryError ?? seriesError ?? bookError;
return <Container error={finalError} />;
}
if (!libraryData || !seriesData || !bookData) {
return (
<Container service={service}>
<Block label="komga.libraries" />
<Block label="komga.series" />
<Block label="komga.books" />
</Container>
);
}
return (
<Container service={service}>
<Block label="komga.libraries" value={t("common.number", { value: libraryData.total })} />
<Block label="komga.series" value={t("common.number", { value: seriesData.totalElements })} />
<Block label="komga.books" value={t("common.number", { value: bookData.totalElements })} />
</Container>
);
}

View File

@ -0,0 +1,30 @@
import genericProxyHandler from "utils/proxy/handlers/generic";
import { jsonArrayFilter } from "utils/proxy/api-helpers";
const widget = {
api: "{url}/api/v1/{endpoint}",
proxyHandler: genericProxyHandler,
mappings: {
libraries: {
endpoint: "libraries",
map: (data) => ({
total: jsonArrayFilter(data, (item) => !item.unavailable).length,
}),
},
series: {
endpoint: "series",
validate: [
"totalElements"
]
},
books: {
endpoint: "books",
validate: [
"totalElements"
]
},
},
};
export default widget;

View File

@ -22,7 +22,7 @@ export default function Component({ service }) {
return ( return (
<Container service={service}> <Container service={service}>
<Block label="proxmoxbackupserver.datastore_usage" /> <Block label="proxmoxbackupserver.datastore_usage" />
<Block label="proxmoxbackupserver.failed_tasks" /> <Block label="proxmoxbackupserver.failed_tasks_24h" />
<Block label="proxmoxbackupserver.cpu_usage" /> <Block label="proxmoxbackupserver.cpu_usage" />
<Block label="proxmoxbackupserver.memory_usage" /> <Block label="proxmoxbackupserver.memory_usage" />
</Container> </Container>

View File

@ -15,7 +15,7 @@ export default function Component({ service }) {
return <Container error={statsError} />; return <Container error={statsError} />;
} }
const defaultSite = statsData?.data?.find(s => s.name === "default"); const defaultSite = widget.site ? statsData?.data.find(s => s.desc === widget.site) : statsData?.data?.find(s => s.name === "default");
if (!defaultSite) { if (!defaultSite) {
return ( return (
@ -38,6 +38,14 @@ export default function Component({ service }) {
const uptime = wan["gw_system-stats"] ? `${t("common.number", { value: wan["gw_system-stats"].uptime / 86400, maximumFractionDigits: 1 })} ${t("unifi.days")}` : null; const uptime = wan["gw_system-stats"] ? `${t("common.number", { value: wan["gw_system-stats"].uptime / 86400, maximumFractionDigits: 1 })} ${t("unifi.days")}` : null;
if (!(wan.show || lan.show || wlan.show || uptime)) {
return (
<Container service={service}>
<Block value={ t("unifi.empty_data") } />
</Container>
)
}
return ( return (
<Container service={service}> <Container service={service}>
{uptime && <Block label="unifi.uptime" value={ uptime } />} {uptime && <Block label="unifi.uptime" value={ uptime } />}

View File

@ -0,0 +1,55 @@
import { useTranslation } from "next-i18next";
import Container from "components/services/widget/container";
import useWidgetAPI from "utils/proxy/use-widget-api";
import Block from "components/services/widget/block";
export default function Component({ service }) {
const { t } = useTranslation();
const { widget } = service;
const { data: statusData, error: statusError } = useWidgetAPI(widget, "status_page");
const { data: heartbeatData, error: heartbeatError } = useWidgetAPI(widget, "heartbeat");
if (statusError || heartbeatError) {
return <Container error={statusError ?? heartbeatError} />;
}
if (!statusData || !heartbeatData) {
return (
<Container service={service}>
<Block label="uptimekuma.up"/>
<Block label="uptimekuma.down"/>
<Block label="uptimekuma.uptime"/>
<Block label="uptimekuma.incidents"/>
</Container>
);
}
let sitesUp = 0;
let sitesDown = 0;
Object.values(heartbeatData.heartbeatList).forEach((siteList) => {
const lastHeartbeat = siteList[siteList.length - 1];
if (lastHeartbeat?.status === 1) {
sitesUp += 1;
} else {
sitesDown += 1;
}
});
// Adapted from https://github.com/bastienwirtz/homer/blob/b7cd8f9482e6836a96b354b11595b03b9c3d67cd/src/components/services/UptimeKuma.vue#L105
const uptimeList = Object.values(heartbeatData.uptimeList);
const percent = uptimeList.reduce((a, b) => a + b, 0) / uptimeList.length || 0;
const uptime = (percent * 100).toFixed(1);
const incidentTime = statusData.incident ? (Math.abs(new Date(statusData.incident?.createdDate) - new Date()) / 1000) / (60 * 60) : null;
return (
<Container service={service}>
<Block label="uptimekuma.up" value={t("common.number", { value: sitesUp })} />
<Block label="uptimekuma.down" value={t("common.number", { value: sitesDown })} />
<Block label="uptimekuma.uptime" value={t("common.percent", { value: uptime })} />
{incidentTime && <Block label="uptimekuma.incident" value={t("common.number", { value: Math.round(incidentTime) }) + t("uptimekuma.m")} />}
</Container>
);
}

View File

@ -0,0 +1,18 @@
// import credentialedProxyHandler from "utils/proxy/handlers/credentialed";
import genericProxyHandler from "utils/proxy/handlers/generic";
const widget = {
api: "{url}/api/{endpoint}/{slug}",
proxyHandler: genericProxyHandler,
mappings: {
status_page: {
endpoint: "status-page",
},
heartbeat: {
endpoint: "status-page/heartbeat",
},
}
};
export default widget;

View File

@ -16,6 +16,7 @@ import hdhomerun from "./hdhomerun/widget";
import homebridge from "./homebridge/widget"; import homebridge from "./homebridge/widget";
import jackett from "./jackett/widget"; import jackett from "./jackett/widget";
import jellyseerr from "./jellyseerr/widget"; import jellyseerr from "./jellyseerr/widget";
import komga from "./komga/widget";
import lidarr from "./lidarr/widget"; import lidarr from "./lidarr/widget";
import mastodon from "./mastodon/widget"; import mastodon from "./mastodon/widget";
import medusa from "./medusa/widget"; import medusa from "./medusa/widget";
@ -58,6 +59,7 @@ import unifi from "./unifi/widget";
import watchtower from "./watchtower/widget"; import watchtower from "./watchtower/widget";
import xteve from "./xteve/widget"; import xteve from "./xteve/widget";
import immich from "./immich/widget"; import immich from "./immich/widget";
import uptimekuma from "./uptimekuma/widget";
const widgets = { const widgets = {
adguard, adguard,
@ -79,6 +81,7 @@ const widgets = {
jackett, jackett,
jellyfin: emby, jellyfin: emby,
jellyseerr, jellyseerr,
komga,
lidarr, lidarr,
mastodon, mastodon,
medusa, medusa,
@ -122,6 +125,7 @@ const widgets = {
watchtower, watchtower,
xteve, xteve,
immich, immich,
uptimekuma,
}; };
export default widgets; export default widgets;