diff --git a/public/locales/ar/common.json b/public/locales/ar/common.json index a81a24aa5..7a4633a20 100644 --- a/public/locales/ar/common.json +++ b/public/locales/ar/common.json @@ -38,7 +38,8 @@ "wlan_users": "WLAN مستخدمين", "up": "يعمل", "down": "لا يعمل", - "wait": "الرجاء الإنتظار" + "wait": "الرجاء الإنتظار", + "empty_data": "Subsystem status unknown" }, "wmo": { "73-day": "ثلج", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/bg/common.json b/public/locales/bg/common.json index 964f82be9..ce929cabf 100644 --- a/public/locales/bg/common.json +++ b/public/locales/bg/common.json @@ -48,7 +48,8 @@ "wlan": "WLAN", "devices": "Devices", "lan_devices": "LAN Devices", - "wlan_devices": "WLAN Devices" + "wlan_devices": "WLAN Devices", + "empty_data": "Subsystem status unknown" }, "docker": { "offline": "Изключен", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/ca/common.json b/public/locales/ca/common.json index dc61c27bd..b85e53774 100644 --- a/public/locales/ca/common.json +++ b/public/locales/ca/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Dispositius", "lan_devices": "Dispositius LAN", - "wlan_devices": "Dispositius WLAN" + "wlan_devices": "Dispositius WLAN", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Transmissions actives", @@ -445,5 +446,10 @@ "down": "Sites Down", "uptime": "Uptime", "incident": "Incident" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/cs/common.json b/public/locales/cs/common.json index 4a7cc114e..bf6bbed82 100644 --- a/public/locales/cs/common.json +++ b/public/locales/cs/common.json @@ -50,7 +50,8 @@ "wlan_users": "WLAN Uživatelé", "up": "BĚŽÍ", "down": "NEBĚŽÍ", - "wait": "Počkejte prosím" + "wait": "Počkejte prosím", + "empty_data": "Subsystem status unknown" }, "docker": { "rx": "RX", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/da/common.json b/public/locales/da/common.json index f3a10bc20..af3cf5148 100644 --- a/public/locales/da/common.json +++ b/public/locales/da/common.json @@ -175,7 +175,8 @@ "wlan_users": "WLAN Brugere", "up": "Oppe", "down": "NED", - "wait": "Vent venligst" + "wait": "Vent venligst", + "empty_data": "Subsystem status unknown" }, "docker": { "cpu": "CPU", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/de/common.json b/public/locales/de/common.json index 750ded50a..f700d34c3 100644 --- a/public/locales/de/common.json +++ b/public/locales/de/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Geräte", "lan_devices": "LAN-Geräte", - "wlan_devices": "WLAN Geräte" + "wlan_devices": "WLAN Geräte", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Aktive Streams", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/en/common.json b/public/locales/en/common.json index 77912d460..a653b41f2 100644 --- a/public/locales/en/common.json +++ b/public/locales/en/common.json @@ -51,7 +51,8 @@ "wlan_users": "WLAN Users", "up": "UP", "down": "DOWN", - "wait": "Please wait" + "wait": "Please wait", + "empty_data": "Subsystem status unknown" }, "docker": { "rx": "RX", @@ -455,6 +456,11 @@ "incident": "Incident", "m": "m" }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" + }, "mylar": { "series": "Series", "issues": "Issues", diff --git a/public/locales/eo/common.json b/public/locales/eo/common.json index 193836586..215b5a7d5 100644 --- a/public/locales/eo/common.json +++ b/public/locales/eo/common.json @@ -38,7 +38,8 @@ "wlan_users": "WLAN Users", "up": "UP", "down": "DOWN", - "wait": "Please wait" + "wait": "Please wait", + "empty_data": "Subsystem status unknown" }, "docker": { "rx": "RX", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/es/common.json b/public/locales/es/common.json index cd18294cf..f1864972b 100644 --- a/public/locales/es/common.json +++ b/public/locales/es/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Dispositivos", "lan_devices": "Dispositivos LAN", - "wlan_devices": "Dispositivos WLAN" + "wlan_devices": "Dispositivos WLAN", + "empty_data": "Se desconoce el estado del subsistema" }, "plex": { "streams": "Transmisiones activas", @@ -440,10 +441,15 @@ "storage": "Almacenamiento" }, "uptimekuma": { - "up": "Sites Up", - "down": "Sites Down", - "uptime": "Uptime", - "incident": "Incident", + "up": "Páginas web activas", + "down": "Páginas web inactivas", + "uptime": "Disponibilidad", + "incident": "Incidencia", "m": "m" + }, + "komga": { + "libraries": "Librerías", + "series": "Series", + "books": "Libros" } } diff --git a/public/locales/fi/common.json b/public/locales/fi/common.json index 4737e1e59..d0ea0f45f 100644 --- a/public/locales/fi/common.json +++ b/public/locales/fi/common.json @@ -203,7 +203,8 @@ "lan_devices": "LAN Devices", "lan": "LAN", "wlan": "WLAN", - "wlan_devices": "WLAN Devices" + "wlan_devices": "WLAN Devices", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Active Streams", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/fr/common.json b/public/locales/fr/common.json index 16d683930..b27e5e667 100644 --- a/public/locales/fr/common.json +++ b/public/locales/fr/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Équipt.", "lan_devices": "Équipt. LAN", - "wlan_devices": "Équipt. WLAN" + "wlan_devices": "Équipt. WLAN", + "empty_data": "Statut sous-système inconnu" }, "plex": { "streams": "Flux actif", @@ -440,10 +441,15 @@ "storage": "Stockage" }, "uptimekuma": { - "up": "Sites Up", - "down": "Sites Down", - "uptime": "Uptime", + "up": "En ligne", + "down": "Hors ligne", + "uptime": "Dispo.", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Librairies", + "series": "Séries", + "books": "Livres" } } diff --git a/public/locales/he/common.json b/public/locales/he/common.json index fcc80f2a1..3539c91d8 100644 --- a/public/locales/he/common.json +++ b/public/locales/he/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Devices", "lan_devices": "LAN Devices", - "wlan_devices": "WLAN Devices" + "wlan_devices": "WLAN Devices", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Active Streams", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/hi/common.json b/public/locales/hi/common.json index 8cc6242cc..c7eb9ea90 100644 --- a/public/locales/hi/common.json +++ b/public/locales/hi/common.json @@ -72,7 +72,8 @@ "wlan_users": "WLAN Users", "up": "UP", "down": "DOWN", - "wait": "Please wait" + "wait": "Please wait", + "empty_data": "Subsystem status unknown" }, "docker": { "rx": "RX", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/hr/common.json b/public/locales/hr/common.json index c93e71466..6fbe0278b 100644 --- a/public/locales/hr/common.json +++ b/public/locales/hr/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Uređaji", "lan_devices": "LAN uređaji", - "wlan_devices": "WLAN uređaji" + "wlan_devices": "WLAN uređaji", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Aktivni prijenosi", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/hu/common.json b/public/locales/hu/common.json index 5bf60115e..d1b8baf66 100644 --- a/public/locales/hu/common.json +++ b/public/locales/hu/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Devices", "lan_devices": "LAN Devices", - "wlan_devices": "WLAN Devices" + "wlan_devices": "WLAN Devices", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Active Streams", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/it/common.json b/public/locales/it/common.json index d1b077797..6e54b5aba 100644 --- a/public/locales/it/common.json +++ b/public/locales/it/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Dispositivi", "lan_devices": "Dispositivi LAN", - "wlan_devices": "Dispositivi WLAN" + "wlan_devices": "Dispositivi WLAN", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Trasmissioni attive", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/ja/common.json b/public/locales/ja/common.json index 8a9e135da..fc1a1a260 100644 --- a/public/locales/ja/common.json +++ b/public/locales/ja/common.json @@ -73,7 +73,8 @@ "wlan_users": "WLAN Users", "up": "UP", "down": "DOWN", - "wait": "Please wait" + "wait": "Please wait", + "empty_data": "Subsystem status unknown" }, "docker": { "rx": "RX", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/lv/common.json b/public/locales/lv/common.json index 6ac1523d7..967dbc143 100644 --- a/public/locales/lv/common.json +++ b/public/locales/lv/common.json @@ -42,7 +42,8 @@ "wlan_users": "WLAN lietotāji", "up": "DARBOJAS", "down": "NEDARBOJAS", - "wait": "Lūdzu, uzgaidiet" + "wait": "Lūdzu, uzgaidiet", + "empty_data": "Subsystem status unknown" }, "docker": { "rx": "RX", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/ms/common.json b/public/locales/ms/common.json index 703c33ab0..4522de977 100644 --- a/public/locales/ms/common.json +++ b/public/locales/ms/common.json @@ -20,7 +20,8 @@ "wlan_users": "Pengguna WLAN", "up": "HIDUP", "down": "MATI", - "wait": "Sila tunggu" + "wait": "Sila tunggu", + "empty_data": "Subsystem status unknown" }, "lidarr": { "queued": "Dibaris Gilir", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/nb-NO/common.json b/public/locales/nb-NO/common.json index 33226a0de..20090c4ae 100644 --- a/public/locales/nb-NO/common.json +++ b/public/locales/nb-NO/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Devices", "lan_devices": "LAN Devices", - "wlan_devices": "WLAN Devices" + "wlan_devices": "WLAN Devices", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Active Streams", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/nl/common.json b/public/locales/nl/common.json index a22c6c906..5132e27ec 100644 --- a/public/locales/nl/common.json +++ b/public/locales/nl/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Apparaten", "lan_devices": "LAN Apparaten", - "wlan_devices": "WLAN Apparaten" + "wlan_devices": "WLAN Apparaten", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Active Streams", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/pl/common.json b/public/locales/pl/common.json index 7339c16c8..5d287c8d0 100644 --- a/public/locales/pl/common.json +++ b/public/locales/pl/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Urządzenia", "lan_devices": "Urządzenia LAN", - "wlan_devices": "Urządzenia WLAN" + "wlan_devices": "Urządzenia WLAN", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Aktywne strumienie", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/pt-BR/common.json b/public/locales/pt-BR/common.json index 68a3aa838..e1a4f53b6 100644 --- a/public/locales/pt-BR/common.json +++ b/public/locales/pt-BR/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Dispositivos", "lan_devices": "Dispositivos LAN", - "wlan_devices": "Dispositivos WLAN" + "wlan_devices": "Dispositivos WLAN", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Transmissões ativas", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/pt/common.json b/public/locales/pt/common.json index 51d1146fd..a6337ee0f 100644 --- a/public/locales/pt/common.json +++ b/public/locales/pt/common.json @@ -216,7 +216,8 @@ "wlan": "WLAN", "devices": "Dispositivos", "lan_devices": "Dispositivos LAN", - "wlan_devices": "Dispositivos WLAN" + "wlan_devices": "Dispositivos WLAN", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Streams Ativas", @@ -454,5 +455,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/ro/common.json b/public/locales/ro/common.json index 466ba3c2f..225ae3ba9 100644 --- a/public/locales/ro/common.json +++ b/public/locales/ro/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Devices", "lan_devices": "LAN Devices", - "wlan_devices": "WLAN Devices" + "wlan_devices": "WLAN Devices", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Fluxuri active", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/ru/common.json b/public/locales/ru/common.json index bff1e1332..ad81e13cc 100644 --- a/public/locales/ru/common.json +++ b/public/locales/ru/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Устройства", "lan_devices": "Устройства подключённые по LAN", - "wlan_devices": "WLAN Devices" + "wlan_devices": "WLAN Devices", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Active Streams", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/sr/common.json b/public/locales/sr/common.json index 0e28f167d..e624b14bb 100644 --- a/public/locales/sr/common.json +++ b/public/locales/sr/common.json @@ -38,7 +38,8 @@ "wlan_users": "WLAN Users", "up": "UP", "down": "DOWN", - "wait": "Please wait" + "wait": "Please wait", + "empty_data": "Subsystem status unknown" }, "docker": { "rx": "RX", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/sv/common.json b/public/locales/sv/common.json index 6efeca006..7e8ac3e6d 100644 --- a/public/locales/sv/common.json +++ b/public/locales/sv/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Devices", "lan_devices": "LAN Devices", - "wlan_devices": "WLAN Devices" + "wlan_devices": "WLAN Devices", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Aktiva strömmar", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/te/common.json b/public/locales/te/common.json index b14fd21ee..ef020175f 100644 --- a/public/locales/te/common.json +++ b/public/locales/te/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "పరికరాలు", "lan_devices": "LAN పరికరాలు", - "wlan_devices": "WLAN పరికరాలు" + "wlan_devices": "WLAN పరికరాలు", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "యాక్టివ్ స్ట్రీమ్‌లు", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/tr/common.json b/public/locales/tr/common.json index a7bc7bd52..c393e601b 100644 --- a/public/locales/tr/common.json +++ b/public/locales/tr/common.json @@ -38,7 +38,8 @@ "wlan": "WLAN", "devices": "Aygıtlar", "lan_devices": "LAN Aygıtları", - "wlan_devices": "WLAN Aygıtları" + "wlan_devices": "WLAN Aygıtları", + "empty_data": "Subsystem status unknown" }, "docker": { "rx": "Gelen Veri", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/uk/common.json b/public/locales/uk/common.json index 84ad6da34..f47619725 100644 --- a/public/locales/uk/common.json +++ b/public/locales/uk/common.json @@ -143,7 +143,8 @@ "wlan_users": "WLAN користувачі", "up": "Відправка", "down": "Завантаження", - "wait": "Будь ласка, зачекайте" + "wait": "Будь ласка, зачекайте", + "empty_data": "Статус підсистеми невідомий" }, "docker": { "rx": "RX", @@ -440,10 +441,15 @@ "storage": "Сховище" }, "uptimekuma": { - "up": "Sites Up", - "down": "Sites Down", - "uptime": "Uptime", - "incident": "Incident", - "m": "m" + "up": "Активні сайти", + "down": "Неактивні сайти", + "uptime": "Час роботи", + "incident": "Інцидент", + "m": "хв" + }, + "komga": { + "libraries": "Бібліотеки", + "series": "Серії", + "books": "Книжки" } } diff --git a/public/locales/vi/common.json b/public/locales/vi/common.json index a38cfc052..b3f33f107 100644 --- a/public/locales/vi/common.json +++ b/public/locales/vi/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Devices", "lan_devices": "LAN Devices", - "wlan_devices": "WLAN Devices" + "wlan_devices": "WLAN Devices", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Active Streams", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/yue/common.json b/public/locales/yue/common.json index 036dd2495..270b97064 100644 --- a/public/locales/yue/common.json +++ b/public/locales/yue/common.json @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "Devices", "lan_devices": "LAN Devices", - "wlan_devices": "WLAN Devices" + "wlan_devices": "WLAN Devices", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "Active Streams", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/zh-CN/common.json b/public/locales/zh-CN/common.json index 881d25ccd..fb6d87666 100644 --- a/public/locales/zh-CN/common.json +++ b/public/locales/zh-CN/common.json @@ -203,7 +203,8 @@ "wlan": "无线局域网", "devices": "设备", "lan_devices": "局域网设备", - "wlan_devices": "无线局域网设备" + "wlan_devices": "无线局域网设备", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "活动流", @@ -445,5 +446,10 @@ "uptime": "Uptime", "incident": "Incident", "m": "m" + }, + "komga": { + "libraries": "Libraries", + "series": "Series", + "books": "Books" } } diff --git a/public/locales/zh-Hant/common.json b/public/locales/zh-Hant/common.json index bd9e88d56..708626d3d 100644 --- a/public/locales/zh-Hant/common.json +++ b/public/locales/zh-Hant/common.json @@ -4,9 +4,9 @@ "api_error": "API錯誤", "status": "狀態", "information": "資訊", - "url": "URL", - "raw_error": "Raw Error", - "response_data": "Response Data" + "url": "網址", + "raw_error": "原始錯誤", + "response_data": "回復數據" }, "weather": { "current": "目前位置", @@ -36,9 +36,9 @@ "no_active": "無播放活動" }, "jellyseerr": { - "pending": "待定", - "approved": "已接受", - "available": "可用的" + "pending": "待下載", + "approved": "已核准", + "available": "可觀看" }, "search": { "placeholder": "搜尋…" @@ -82,14 +82,14 @@ "books": "書籍" }, "ombi": { - "pending": "待定", - "approved": "已接受", - "available": "可用的" + "pending": "待下載", + "approved": "已核准", + "available": "可觀看" }, "overseerr": { - "pending": "待定", - "approved": "已接受", - "available": "可用的", + "pending": "待下載", + "approved": "已核准", + "available": "可觀看", "processing": "處理中" }, "pihole": { @@ -203,7 +203,8 @@ "wlan": "WLAN", "devices": "設備", "lan_devices": "LAN設備", - "wlan_devices": "WLAN設備" + "wlan_devices": "WLAN設備", + "empty_data": "Subsystem status unknown" }, "plex": { "streams": "正在播放", @@ -280,8 +281,8 @@ "quicklaunch": { "bookmark": "書籤", "service": "服務", - "search": "Search", - "custom": "Custom" + "search": "搜尋", + "custom": "自訂" }, "homebridge": { "available_update": "系統", @@ -292,7 +293,7 @@ "child_bridges_status": "{{ok}}/{{total}}" }, "autobrr": { - "approvedPushes": "接受", + "approvedPushes": "已核准", "rejectedPushes": "拒絕", "filters": "篩選器", "indexers": "索引器" @@ -424,26 +425,31 @@ "job_completion": "完成度" }, "cloudflared": { - "origin_ip": "Origin IP", - "status": "Status" + "origin_ip": "源頭IP", + "status": "狀態" }, "proxmoxbackupserver": { - "datastore_usage": "Datastore", - "failed_tasks_24h": "Failed Tasks 24h", + "datastore_usage": "數據存儲", + "failed_tasks_24h": "24小時內失敗任務", "cpu_usage": "CPU", - "memory_usage": "Memory" + "memory_usage": "記憶體" }, "immich": { - "users": "Users", - "photos": "Photos", - "videos": "Videos", - "storage": "Storage" + "users": "使用者", + "photos": "照片", + "videos": "影片", + "storage": "儲存空間" }, "uptimekuma": { - "up": "Sites Up", - "down": "Sites Down", - "uptime": "Uptime", - "incident": "Incident", + "up": "在線網站", + "down": "離線網站", + "uptime": "在線時間", + "incident": "事件", "m": "m" + }, + "komga": { + "libraries": "文庫", + "series": "叢刊", + "books": "書刊" } } diff --git a/src/components/widgets/unifi_console/unifi_console.jsx b/src/components/widgets/unifi_console/unifi_console.jsx index af8fd4586..13c90bd42 100644 --- a/src/components/widgets/unifi_console/unifi_console.jsx +++ b/src/components/widgets/unifi_console/unifi_console.jsx @@ -20,7 +20,6 @@ export default function Widget({ options }) {
{t("widget.api_error")} - -
@@ -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) { return ( @@ -55,6 +54,8 @@ export default function Widget({ options }) { const name = wan.gw_name ?? defaultSite.desc; const uptime = wan["gw_system-stats"] ? wan["gw_system-stats"].uptime : null; + const dataEmpty = !(wan.show || lan.show || wlan.show || uptime); + return (
@@ -64,6 +65,14 @@ export default function Widget({ options }) { {name}
+ {dataEmpty &&
+
+
+ + {t("unifi.empty_data")} +
+
+
}
{uptime &&
diff --git a/src/utils/config/service-helpers.js b/src/utils/config/service-helpers.js index 352367d2e..e2e3055e0 100644 --- a/src/utils/config/service-helpers.js +++ b/src/utils/config/service-helpers.js @@ -233,6 +233,7 @@ export function cleanServiceGroups(groups) { currency, // coinmarketcap widget symbols, defaultinterval, + site, // unifi widget namespace, // kubernetes widget app, podSelector, @@ -256,6 +257,9 @@ export function cleanServiceGroups(groups) { if (server) cleanedService.widget.server = server; if (container) cleanedService.widget.container = container; } + if (type === "unifi") { + if (site) cleanedService.widget.site = site; + } if (type === "kubernetes") { if (namespace) cleanedService.widget.namespace = namespace; if (app) cleanedService.widget.app = app; diff --git a/src/widgets/components.js b/src/widgets/components.js index 11f7812b9..d28a28c09 100644 --- a/src/widgets/components.js +++ b/src/widgets/components.js @@ -21,6 +21,7 @@ const components = { jackett: dynamic(() => import("./jackett/component")), jellyfin: dynamic(() => import("./emby/component")), jellyseerr: dynamic(() => import("./jellyseerr/component")), + komga: dynamic(() => import("./komga/component")), lidarr: dynamic(() => import("./lidarr/component")), mastodon: dynamic(() => import("./mastodon/component")), medusa: dynamic(() => import("./medusa/component")), diff --git a/src/widgets/komga/component.jsx b/src/widgets/komga/component.jsx new file mode 100644 index 000000000..9d6c406f7 --- /dev/null +++ b/src/widgets/komga/component.jsx @@ -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 ; + } + + if (!libraryData || !seriesData || !bookData) { + return ( + + + + + + ); + } + + return ( + + + + + + ); +} \ No newline at end of file diff --git a/src/widgets/komga/widget.js b/src/widgets/komga/widget.js new file mode 100644 index 000000000..eb43883d5 --- /dev/null +++ b/src/widgets/komga/widget.js @@ -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; \ No newline at end of file diff --git a/src/widgets/proxmoxbackupserver/component.jsx b/src/widgets/proxmoxbackupserver/component.jsx index 96151e256..7302390f7 100644 --- a/src/widgets/proxmoxbackupserver/component.jsx +++ b/src/widgets/proxmoxbackupserver/component.jsx @@ -22,7 +22,7 @@ export default function Component({ service }) { return ( - + diff --git a/src/widgets/unifi/component.jsx b/src/widgets/unifi/component.jsx index 6df43dfdb..ff3185169 100644 --- a/src/widgets/unifi/component.jsx +++ b/src/widgets/unifi/component.jsx @@ -15,7 +15,7 @@ export default function Component({ service }) { return ; } - 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) { 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; + if (!(wan.show || lan.show || wlan.show || uptime)) { + return ( + + + + ) + } + return ( {uptime && } diff --git a/src/widgets/widgets.js b/src/widgets/widgets.js index 4abed3dd8..47b5e9886 100644 --- a/src/widgets/widgets.js +++ b/src/widgets/widgets.js @@ -15,6 +15,7 @@ import hdhomerun from "./hdhomerun/widget"; import homebridge from "./homebridge/widget"; import jackett from "./jackett/widget"; import jellyseerr from "./jellyseerr/widget"; +import komga from "./komga/widget"; import lidarr from "./lidarr/widget"; import mastodon from "./mastodon/widget"; import medusa from "./medusa/widget"; @@ -80,6 +81,7 @@ const widgets = { jackett, jellyfin: emby, jellyseerr, + komga, lidarr, mastodon, medusa,