Compare commits

..

16 Commits

Author SHA1 Message Date
shamoon
8e5f4d55c9 Bump version to 1.4.5 2025-08-13 06:44:47 -07:00
shamoon
184fd65c76 Update resources.js 2025-08-13 06:44:47 -07:00
shamoon
15817f9b27 Update package.json 2025-08-13 06:35:11 -07:00
shamoon
79671ac30e Merge branch 'dev' 2025-08-13 06:17:38 -07:00
github-actions[bot]
1d5db612fd New Crowdin translations by GitHub Action (#5655)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-08-13 06:16:35 -07:00
shamoon
d30016304b Security: refactor disk resource lookup logic (#5666) 2025-08-13 06:16:12 -07:00
Markus Thierolf
f0fd125e37 Enhancement: summarize charge power of all loadpoints in evcc widget (#5663) 2025-08-12 08:46:23 -07:00
dependabot[bot]
9ed4b85d5a Chore(deps): Bump actions/checkout from 4 to 5 (#5660)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-11 17:21:06 -07:00
shamoon
f607d806d0 Bump version to 1.4.4 2025-08-08 11:32:46 -04:00
shamoon
c0ddb5f816 Merge branch 'dev' 2025-08-08 11:32:29 -04:00
github-actions[bot]
fc563532e1 New Crowdin translations by GitHub Action (#5626)
Co-authored-by: Crowdin Bot <support+bot@crowdin.com>
2025-08-08 11:28:06 -04:00
shamoon
98248903c6 Enhancement: support Tandoor v2 api structure (#5646) 2025-08-06 15:57:02 -04:00
shamoon
5870111d11 Enhancement: Auto-request geolocation if permission already granted (#5638) 2025-08-04 23:16:22 -04:00
shamoon
bb23c25690 Fix: try to restore iframe transparency by restoring light scheme (#5637) 2025-08-04 23:01:26 -04:00
shamoon
4084c8dafc Add fields to trilium docs 2025-08-04 14:52:10 -04:00
Matan Heimann
cb1dde1b79 Documentation: fix missing references to Wallos documentation doc (#5633)
Co-authored-by: MH <m@terramail.co>
2025-08-04 14:50:15 -04:00
22 changed files with 390 additions and 349 deletions

View File

@@ -17,7 +17,7 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: crowdin action
uses: crowdin/github-action@v2
with:

View File

@@ -22,7 +22,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install python
uses: actions/setup-python@v5
@@ -61,7 +61,7 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Extract Docker metadata
id: meta

View File

@@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Install python
uses: actions/setup-python@v5
with:
@@ -32,7 +32,7 @@ jobs:
needs:
- pre-commit
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-python@v5
with:
python-version: 3.x
@@ -54,7 +54,7 @@ jobs:
needs:
- pre-commit
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Configure Git Credentials
run: |
git config user.name github-actions[bot]

View File

@@ -143,6 +143,7 @@ You can also find a list of all available service widgets in the sidebar navigat
- [UptimeRobot](uptimerobot.md)
- [UrBackup](urbackup.md)
- [Vikunja](vikunja.md)
- [Wallos](wallos.md)
- [Watchtower](watchtower.md)
- [WGEasy](wgeasy.md)
- [WhatsUpDocker](whatsupdocker.md)

View File

@@ -9,6 +9,8 @@ This widget is compatible with [TriliumNext](https://github.com/TriliumNext/Note
Find (or create) your ETAPI key under `Options > ETAPI > Create new ETAPI token`.
Allowed fields: `["version", "notesCount", "dbSize"]`
```yaml
widget:
type: trilium

View File

@@ -169,6 +169,7 @@ nav:
- widgets/services/uptimerobot.md
- widgets/services/urbackup.md
- widgets/services/vikunja.md
- widgets/services/wallos.md
- widgets/services/watchtower.md
- widgets/services/wgeasy.md
- widgets/services/whatsupdocker.md

View File

@@ -1,6 +1,6 @@
{
"name": "homepage",
"version": "1.4.3",
"version": "1.4.5",
"private": true,
"scripts": {
"preinstall": "npx only-allow pnpm",
@@ -72,6 +72,7 @@
},
"pnpm": {
"onlyBuiltDependencies": [
"osx-temperature-sensor",
"sharp"
]
}

View File

@@ -43,7 +43,7 @@
"mem": "MEM",
"total": "Total",
"free": "Libre",
"used": "Usado",
"used": "Utilizado",
"load": "Carga",
"temp": "TEMP",
"max": "Máx.",
@@ -61,9 +61,9 @@
"wlan_devices": "Dispositivos WLAN",
"lan_users": "Usuarios LAN",
"wlan_users": "Usuarios WLAN",
"up": "UP",
"up": "ACTIVO",
"down": "CAÍDO",
"wait": "Please wait",
"wait": "Espere, por favor",
"empty_data": "Se desconoce el estado del subsistema"
},
"docker": {
@@ -168,10 +168,10 @@
"passes": "Pases"
},
"tautulli": {
"playing": "Playing",
"transcoding": "Transcoding",
"bitrate": "Bitrate",
"no_active": "No Active Streams",
"playing": "Reproduciendo",
"transcoding": "Transcodificando",
"bitrate": "Tasa de bits",
"no_active": "Sin transmisiones activas",
"plex_connection_error": "Comprueba la conexión a Plex"
},
"omada": {
@@ -189,7 +189,7 @@
"plex": {
"streams": "Transmisiones activas",
"albums": "Álbumes",
"movies": "Movies",
"movies": "Películas",
"tv": "Series"
},
"sabnzbd": {
@@ -199,20 +199,20 @@
},
"rutorrent": {
"active": "Activo",
"upload": "Upload",
"download": "Download"
"upload": "Subida",
"download": "Descarga"
},
"transmission": {
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"download": "Descarga",
"upload": "Subida",
"leech": "Descargando",
"seed": "Semillas"
},
"qbittorrent": {
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"download": "Descarga",
"upload": "Subida",
"leech": "Descargando",
"seed": "Semillas"
},
"qnap": {
"cpuUsage": "Uso de la CPU",
@@ -223,44 +223,44 @@
"invalid": "No válido"
},
"deluge": {
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"download": "Descarga",
"upload": "Subida",
"leech": "Descargando",
"seed": "Semillas"
},
"develancacheui": {
"cachehitbytes": "Bytes encontrados en caché",
"cachemissbytes": "Bytes faltantes en caché"
},
"downloadstation": {
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"download": "Descarga",
"upload": "Subida",
"leech": "Descargando",
"seed": "Semillas"
},
"sonarr": {
"wanted": "Buscando",
"queued": "En cola",
"series": "Series",
"queue": "Queue",
"unknown": "Unknown"
"queue": "Cola",
"unknown": "Desconocido"
},
"radarr": {
"wanted": "Wanted",
"wanted": "Buscando",
"missing": "Faltantes",
"queued": "Queued",
"movies": "Movies",
"queue": "Queue",
"unknown": "Unknown"
"queued": "En cola",
"movies": "Películas",
"queue": "Cola",
"unknown": "Desconocido"
},
"lidarr": {
"wanted": "Wanted",
"queued": "Queued",
"wanted": "Buscando",
"queued": "En cola",
"artists": "Artistas"
},
"readarr": {
"wanted": "Wanted",
"queued": "Queued",
"wanted": "Buscando",
"queued": "En cola",
"books": "Libros"
},
"bazarr": {
@@ -273,19 +273,19 @@
"available": "Disponible"
},
"jellyseerr": {
"pending": "Pending",
"approved": "Approved",
"available": "Available"
"pending": "Pendiente",
"approved": "Aprobado",
"available": "Disponible"
},
"overseerr": {
"pending": "Pending",
"pending": "Pendiente",
"processing": "Procesando",
"approved": "Approved",
"available": "Available"
"approved": "Aprobado",
"available": "Disponible"
},
"netalertx": {
"total": "Total",
"connected": "Connected",
"connected": "Conectado",
"new_devices": "Nuevos dispositivos",
"down_alerts": "Alertas de caída"
},
@@ -296,26 +296,26 @@
"gravity": "Gravity"
},
"adguard": {
"queries": "Queries",
"blocked": "Blocked",
"queries": "Consultas",
"blocked": "Bloqueado",
"filtered": "Filtrado",
"latency": "Latencia"
},
"speedtest": {
"upload": "Upload",
"download": "Download",
"upload": "Subida",
"download": "Descarga",
"ping": "Ping"
},
"portainer": {
"running": "Running",
"running": "En ejecución",
"stopped": "Detenido",
"total": "Total"
},
"suwayomi": {
"download": "Downloaded",
"download": "Descargado",
"nondownload": "No descargado",
"read": "Read",
"unread": "Unread",
"read": "Leído",
"unread": "Sin leer",
"downloadedread": "Descargado y leído",
"downloadedunread": "Descargado y no leído",
"nondownloadedread": "No descargado y leído",
@@ -336,7 +336,7 @@
"ago": "Hace {{value}}"
},
"technitium": {
"totalQueries": "Queries",
"totalQueries": "Consultas",
"totalNoError": "Éxitos",
"totalServerFailure": "Fallas",
"totalNxDomain": "Dominios NX",
@@ -370,8 +370,8 @@
"please_wait": "Por favor, espera"
},
"npm": {
"enabled": "Activado",
"disabled": "Desactivado",
"enabled": "Activos",
"disabled": "Inactivos",
"total": "Total"
},
"coinmarketcap": {
@@ -383,19 +383,19 @@
},
"gotify": {
"apps": "Aplicaciones",
"clients": "Clients",
"clients": "Clientes",
"messages": "Mensajes"
},
"prowlarr": {
"enableIndexers": "Indexadores",
"numberOfGrabs": "Capturas",
"numberOfQueries": "Queries",
"numberOfQueries": "Consultas",
"numberOfFailGrabs": "Capturas fallidas",
"numberOfFailQueries": "Consultas fallidas"
},
"jackett": {
"configured": "Configurado",
"errored": "Errored"
"errored": "Con fallo"
},
"strelaysrv": {
"numActiveSessions": "Sesiones",
@@ -529,9 +529,9 @@
"up_to_date": "Actualizado",
"child_bridges": "Bridges secundarios",
"child_bridges_status": "{{ok}}/{{total}}",
"up": "Up",
"pending": "Pending",
"down": "Down"
"up": "Activo",
"pending": "Pendiente",
"down": "Inactivo"
},
"healthchecks": {
"new": "Nuevo",
@@ -647,7 +647,7 @@
},
"cloudflared": {
"origin_ip": "IP de origen",
"status": "Status"
"status": "Estado"
},
"pfsense": {
"load": "Promedio de carga",
@@ -700,8 +700,8 @@
"wanted": "Wanted"
},
"photoprism": {
"albums": "Albums",
"photos": "Photos",
"albums": "Álbumes",
"photos": "Fotos",
"videos": "Videos",
"people": "Personas"
},
@@ -773,19 +773,19 @@
},
"whatsupdocker": {
"monitoring": "Monitorizando",
"updates": "Updates"
"updates": "Actualizaciones"
},
"calibreweb": {
"books": "Books",
"books": "Libros",
"authors": "Autores",
"categories": "Categories",
"categories": "Categorías",
"series": "Series"
},
"jdownloader": {
"downloadCount": "Queue",
"downloadBytesRemaining": "Remaining",
"downloadTotalBytes": "Size",
"downloadSpeed": "Speed"
"downloadCount": "En cola",
"downloadBytesRemaining": "Restante",
"downloadTotalBytes": "Tamaño",
"downloadSpeed": "Velocidad"
},
"kavita": {
"seriesCount": "Series",
@@ -930,9 +930,9 @@
"bans": "Baneos"
},
"wgeasy": {
"connected": "Connected",
"enabled": "Enabled",
"disabled": "Disabled",
"connected": "Conectados",
"enabled": "Activo",
"disabled": "Inactivos",
"total": "Total"
},
"swagdashboard": {
@@ -1042,14 +1042,14 @@
},
"slskd": {
"slskStatus": "Network",
"connected": "Connected",
"disconnected": "Disconnected",
"connected": "Conectado",
"disconnected": "Desconectado",
"updateStatus": "Actualización",
"update_yes": "Available",
"update_no": "Up to Date",
"update_yes": "Disponible",
"update_no": "Actualizado",
"downloads": "Descargas",
"uploads": "Subidas",
"sharedFiles": "Files"
"sharedFiles": "Compartidos"
},
"jellystat": {
"songs": "Songs",

View File

@@ -451,7 +451,7 @@
"crit": "Krytyczyny",
"read": "Read",
"write": "Zapis",
"gpu": "Karta graficzna",
"gpu": "GPU",
"mem": "Pamięć",
"swap": "Swap"
},

View File

@@ -212,7 +212,7 @@
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"seed": "Semear"
},
"qnap": {
"cpuUsage": "Utilização do CPU",
@@ -223,39 +223,39 @@
"invalid": "Inválido"
},
"deluge": {
"download": "Download",
"download": "Baixar",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"seed": "Semear"
},
"develancacheui": {
"cachehitbytes": "Bytes de Acerto na Memória transitória",
"cachemissbytes": "Bytes de Falha de Memória transitória"
},
"downloadstation": {
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"download": "Baixar",
"upload": "Envio de Dados",
"leech": "Sanguessuga",
"seed": "Semear"
},
"sonarr": {
"wanted": "Desejados",
"queued": "Em fila de espera",
"series": "Series",
"queue": "Queue",
"unknown": "Unknown"
"series": "Séries",
"queue": "Fila",
"unknown": "Desconhecido"
},
"radarr": {
"wanted": "Wanted",
"wanted": "Desejado",
"missing": "Em falta",
"queued": "Queued",
"movies": "Movies",
"queue": "Queue",
"unknown": "Unknown"
"queued": "Na Fila",
"movies": "Filmes",
"queue": "Fila",
"unknown": "Desconhecido"
},
"lidarr": {
"wanted": "Wanted",
"queued": "Queued",
"wanted": "Desejado",
"queued": "Na Fila",
"artists": "Artistas"
},
"readarr": {

View File

@@ -241,7 +241,7 @@
"sonarr": {
"wanted": "Розыск",
"queued": "В очереди",
"series": "Серии",
"series": "Сериалы",
"queue": "Очередь",
"unknown": "Неизвестно"
},

View File

@@ -61,9 +61,9 @@
"wlan_devices": "Zariadenia WLAN",
"lan_users": "Použ. LAN",
"wlan_users": "Použ. WLAN",
"up": "UP",
"up": "BEŽÍ",
"down": "NEBEŽÍ",
"wait": "Please wait",
"wait": "Čakajte, prosím",
"empty_data": "Stav podsystému neznámy"
},
"docker": {
@@ -94,8 +94,8 @@
"error": "Chyba",
"response": "Odpoveď",
"down": "Down",
"up": "Up",
"not_available": "Not Available"
"up": "Beží",
"not_available": "Nedostupné"
},
"emby": {
"playing": "Prehrávané",
@@ -112,7 +112,7 @@
"offline_alt": "Offline",
"online": "Online",
"total": "Celkom",
"unknown": "Unknown"
"unknown": "Neznáme"
},
"evcc": {
"pv_power": "Produkcia",
@@ -141,11 +141,11 @@
"connectionStatusDisconnecting": "Odpájanie",
"connectionStatusDisconnected": "Odpojené",
"connectionStatusConnected": "Pripojené",
"uptime": "Uptime",
"uptime": "Dostupnosť",
"maxDown": "Max. sťahovanie",
"maxUp": "Max. nahrávanie",
"down": "Down",
"up": "Up",
"up": "Beží",
"received": "Prijaté",
"sent": "Odoslané",
"externalIPAddress": "Ext. IP",
@@ -189,7 +189,7 @@
"plex": {
"streams": "Aktívne vysielanie",
"albums": "Albumy",
"movies": "Movies",
"movies": "Filmov",
"tv": "Seriály"
},
"sabnzbd": {
@@ -199,18 +199,18 @@
},
"rutorrent": {
"active": "Aktívne",
"upload": "Upload",
"upload": "Nahrávanie",
"download": "Download"
},
"transmission": {
"download": "Download",
"upload": "Upload",
"upload": "Nahrávanie",
"leech": "Leech",
"seed": "Seed"
},
"qbittorrent": {
"download": "Download",
"upload": "Upload",
"upload": "Nahrávanie",
"leech": "Leech",
"seed": "Seed"
},
@@ -224,7 +224,7 @@
},
"deluge": {
"download": "Download",
"upload": "Upload",
"upload": "Nahrávanie",
"leech": "Leech",
"seed": "Seed"
},
@@ -234,7 +234,7 @@
},
"downloadstation": {
"download": "Download",
"upload": "Upload",
"upload": "Nahrávanie",
"leech": "Leech",
"seed": "Seed"
},
@@ -242,25 +242,25 @@
"wanted": "Žiadané",
"queued": "V poradí",
"series": "Series",
"queue": "Queue",
"unknown": "Unknown"
"queue": "Poradie",
"unknown": "Neznáme"
},
"radarr": {
"wanted": "Wanted",
"missing": "Chýbajúce",
"queued": "Queued",
"movies": "Movies",
"queue": "Queue",
"unknown": "Unknown"
"queued": "V poradí",
"movies": "Filmov",
"queue": "Poradie",
"unknown": "Neznáme"
},
"lidarr": {
"wanted": "Wanted",
"queued": "Queued",
"queued": "V poradí",
"artists": "Interpreti"
},
"readarr": {
"wanted": "Wanted",
"queued": "Queued",
"queued": "V poradí",
"books": "Knihy"
},
"bazarr": {
@@ -273,19 +273,19 @@
"available": "Dostupné"
},
"jellyseerr": {
"pending": "Pending",
"approved": "Approved",
"available": "Available"
"pending": "Čakajúce",
"approved": "Schválené",
"available": "Dostupné"
},
"overseerr": {
"pending": "Pending",
"pending": "Čakajúce",
"processing": "Spracovávané",
"approved": "Approved",
"available": "Available"
"approved": "Schválené",
"available": "Dostupné"
},
"netalertx": {
"total": "Total",
"connected": "Connected",
"total": "Celkom",
"connected": "Pripojené",
"new_devices": "Nové zariadenia",
"down_alerts": "Upozornenia o výpadkoch"
},
@@ -296,26 +296,26 @@
"gravity": "Gravity"
},
"adguard": {
"queries": "Queries",
"blocked": "Blocked",
"queries": "Požiadaviek",
"blocked": "Blokované",
"filtered": "Filtrované",
"latency": "Odozva"
},
"speedtest": {
"upload": "Upload",
"upload": "Nahrávanie",
"download": "Download",
"ping": "Ping"
"ping": "Odozva"
},
"portainer": {
"running": "Running",
"running": "Beží",
"stopped": "Zastavené",
"total": "Total"
"total": "Celkom"
},
"suwayomi": {
"download": "Downloaded",
"nondownload": "Non-Downloaded",
"read": "Read",
"unread": "Unread",
"unread": "Neprečítané",
"downloadedread": "Downloaded & Read",
"downloadedunread": "Downloaded & Unread",
"nondownloadedread": "Non-Downloaded & Read",
@@ -336,7 +336,7 @@
"ago": "Pred {{value}}"
},
"technitium": {
"totalQueries": "Queries",
"totalQueries": "Požiadaviek",
"totalNoError": "Success",
"totalServerFailure": "Failures",
"totalNxDomain": "NX Domains",
@@ -344,12 +344,12 @@
"totalAuthoritative": "Authoritative",
"totalRecursive": "Recursive",
"totalCached": "Cached",
"totalBlocked": "Blocked",
"totalBlocked": "Blokované",
"totalDropped": "Dropped",
"totalClients": "Klienti"
},
"tdarr": {
"queue": "Queue",
"queue": "Poradie",
"processed": "Spracované",
"errored": "Chybné",
"saved": "Uložené"
@@ -360,10 +360,10 @@
"middleware": "Midlvér"
},
"trilium": {
"version": "Version",
"version": "Verzia",
"notesCount": "Notes",
"dbSize": "Database Size",
"unknown": "Unknown"
"unknown": "Neznáme"
},
"navidrome": {
"nothing_streaming": "No Active Streams",
@@ -372,7 +372,7 @@
"npm": {
"enabled": "Povolené",
"disabled": "Zakázané",
"total": "Total"
"total": "Celkom"
},
"coinmarketcap": {
"configure": "Nastavte jednu alebo viac kryptomien na sledovanie",
@@ -389,7 +389,7 @@
"prowlarr": {
"enableIndexers": "Indexery",
"numberOfGrabs": "Zachytení",
"numberOfQueries": "Queries",
"numberOfQueries": "Požiadaviek",
"numberOfFailGrabs": "Neúspešné zachytenia",
"numberOfFailQueries": "Neúspešné dopyty"
},
@@ -404,48 +404,48 @@
"transferRate": "Rate"
},
"mastodon": {
"user_count": "Users",
"user_count": "Používateľov",
"status_count": "Príspevky",
"domain_count": "Domény"
},
"medusa": {
"wanted": "Wanted",
"queued": "Queued",
"queued": "V poradí",
"series": "Series"
},
"minecraft": {
"players": "Hráči",
"version": "Verzia",
"status": "Status",
"status": "Stav",
"up": "Online",
"down": "Offline"
},
"miniflux": {
"read": "Prečítané",
"unread": "Unread"
"unread": "Neprečítané"
},
"authentik": {
"users": "Users",
"users": "Používateľov",
"loginsLast24H": "Prihlás. (24 hod.)",
"failedLoginsLast24H": "Neúspešné prihlás. (24 hod.)"
},
"proxmox": {
"mem": "MEM",
"mem": "RAM",
"cpu": "CPU",
"lxc": "LXC",
"vms": "Virtuálne stroje"
},
"glances": {
"cpu": "CPU",
"load": "Load",
"wait": "Please wait",
"load": "Záťaž",
"wait": "Čakajte, prosím",
"temp": "TEMP",
"_temp": "Teplota",
"warn": "Upozornení",
"uptime": "UP",
"total": "Total",
"free": "Free",
"used": "Used",
"uptime": "BEŽÍ",
"total": "Celkom",
"free": "Voľné",
"used": "Využité",
"days": "d",
"hours": "h",
"crit": "Kritické",
@@ -461,7 +461,7 @@
"search": "Hľadať",
"custom": "Vlastné",
"visit": "Navštíviť",
"url": "URL",
"url": "URL adresa",
"searchsuggestion": "Návrh"
},
"wmo": {
@@ -474,49 +474,49 @@
"3-day": "Oblačno",
"3-night": "Cloudy",
"45-day": "Hmlisto",
"45-night": "Foggy",
"48-day": "Foggy",
"48-night": "Foggy",
"45-night": "Hmlisto",
"48-day": "Hmlisto",
"48-night": "Hmlisto",
"51-day": "Mierne mrholenie",
"51-night": "Light Drizzle",
"53-day": "Mrholenie",
"53-night": "Drizzle",
"55-day": "Silné mrholenie",
"55-night": "Heavy Drizzle",
"55-night": "Silné mrholenie",
"56-day": "Mierne mrazivé mrholenie",
"56-night": "Light Freezing Drizzle",
"57-day": "Mrazivé mrholenie",
"57-night": "Freezing Drizzle",
"61-day": "Slabý dážď",
"61-night": "Light Rain",
"61-night": "Slabý dážď",
"63-day": "Dážď",
"63-night": "Rain",
"63-night": "Dážď",
"65-day": "Silný dážď",
"65-night": "Heavy Rain",
"65-night": "Silný dážď",
"66-day": "Mrazivý dážď",
"66-night": "Mrznúci dážď",
"67-day": "Mrznúci dážď",
"67-night": "Mrznúci dážď",
"71-day": "Mierne sneženie",
"71-night": "Light Snow",
"71-night": "Slabé sneženie",
"73-day": "Sneženie",
"73-night": "Snow",
"73-night": "Sneženie",
"75-day": "Silné sneženie",
"75-night": "Heavy Snow",
"75-night": "Husté sneženie",
"77-day": "Snehové vločky",
"77-night": "Snow Grains",
"80-day": "Mierne prehánky",
"80-night": "Light Showers",
"80-night": "Mierne prehánky",
"81-day": "Prehánky",
"81-night": "Showers",
"81-night": "Prehánky",
"82-day": "Silné prehánky",
"82-night": "Heavy Showers",
"82-night": "Silné prehánky",
"85-day": "Snehové prehánky",
"85-night": "Snow Showers",
"86-day": "Snow Showers",
"86-night": "Snow Showers",
"85-night": "Snehové prehánky",
"86-day": "Snehové prehánky",
"86-night": "Snehové prehánky",
"95-day": "Búrka",
"95-night": "Thunderstorm",
"95-night": "Búrka",
"96-day": "Búrka s krupobitím",
"96-night": "Thunderstorm With Hail",
"99-day": "Thunderstorm With Hail",
@@ -529,17 +529,17 @@
"up_to_date": "Aktuálny",
"child_bridges": "Podradené premostenia",
"child_bridges_status": "{{ok}}/{{total}}",
"up": "Up",
"pending": "Pending",
"up": "Beží",
"pending": "Čakajúce",
"down": "Down"
},
"healthchecks": {
"new": "Nový",
"up": "Up",
"up": "Beží",
"grace": "V dodatočnej lehote",
"down": "Down",
"paused": "Pozastavené",
"status": "Status",
"status": "Stav",
"last_ping": "Poslendný ping",
"never": "Zatiaľ žiadne ping-y"
},
@@ -549,27 +549,27 @@
"containers_failed": "Zlyhané"
},
"autobrr": {
"approvedPushes": "Approved",
"approvedPushes": "Schválené",
"rejectedPushes": "Odmietnuté",
"filters": "Filtre",
"indexers": "Indexers"
},
"tubearchivist": {
"downloads": "Queue",
"downloads": "Poradie",
"videos": "Videá",
"channels": "Kanály",
"playlists": "Playlisty"
},
"truenas": {
"load": "Záťaž systému",
"uptime": "Uptime",
"alerts": "Alerts"
"uptime": "Dostupnosť",
"alerts": "Upozornenia"
},
"pyload": {
"speed": "Rýchlosť",
"active": "Active",
"queue": "Queue",
"total": "Total"
"queue": "Poradie",
"total": "Celkom"
},
"gluetun": {
"public_ip": "Verejná IP",
@@ -585,18 +585,18 @@
"channelNetwork": "Sieť",
"signalStrength": "Sila",
"signalQuality": "Kvalita",
"symbolQuality": "Quality",
"symbolQuality": "Kvalita",
"networkRate": "Bitrate",
"clientIP": "Klient"
},
"scrutiny": {
"passed": "Úspešný",
"failed": "Failed",
"unknown": "Unknown"
"unknown": "Neznáme"
},
"paperlessngx": {
"inbox": "Schránka správ",
"total": "Total"
"total": "Celkom"
},
"peanut": {
"battery_charge": "Nabitie batérie",
@@ -607,13 +607,13 @@
"low_battery": "Slabá batéria"
},
"nextdns": {
"wait": "Please Wait",
"wait": "Čakajte, prosím",
"no_devices": "Informácie o zariadení nezískané"
},
"mikrotik": {
"cpuLoad": "Využitie CPU",
"memoryUsed": "Využitie pamäte",
"uptime": "Uptime",
"uptime": "Dostupnosť",
"numberOfLeases": "Pridelené adresy"
},
"xteve": {
@@ -628,7 +628,7 @@
"limit": "Limit"
},
"opnsense": {
"cpu": "CPU Load",
"cpu": "Zátaž procesora",
"memory": "Aktívna pamäť",
"wanUpload": "WAN nahrávanie",
"wanDownload": "WAN sťahovanie"
@@ -640,20 +640,20 @@
"layers": "Vrstvy"
},
"octoprint": {
"printer_state": "Status",
"printer_state": "Stav",
"temp_tool": "Teplota extrudéra",
"temp_bed": "Teplota podložky",
"job_completion": "Priebeh"
},
"cloudflared": {
"origin_ip": "Zdrojová IP",
"status": "Status"
"status": "Stav"
},
"pfsense": {
"load": "Priemerné zaťaženie",
"memory": "Využitie pamäte",
"wanStatus": "Stav WAN",
"up": "Up",
"up": "Beží",
"down": "Down",
"temp": "Temp",
"disk": "Využitie disku",
@@ -666,15 +666,15 @@
"memory_usage": "Pamäť"
},
"immich": {
"users": "Users",
"photos": "Fotografie",
"videos": "Videos",
"users": "Používateľov",
"photos": "Fotografií",
"videos": "Videí",
"storage": "Úložisko"
},
"uptimekuma": {
"up": "Weby dostupné",
"down": "Weby nedostupné",
"uptime": "Uptime",
"uptime": "Dostupnosť",
"incident": "Udalosť",
"m": "m"
},
@@ -691,8 +691,8 @@
},
"diskstation": {
"days": "Days",
"uptime": "Uptime",
"volumeAvailable": "Available"
"uptime": "Dostupnosť",
"volumeAvailable": "Dostupné"
},
"mylar": {
"series": "Series",
@@ -700,15 +700,15 @@
"wanted": "Wanted"
},
"photoprism": {
"albums": "Albums",
"photos": "Photos",
"videos": "Videos",
"albums": "Albumov",
"photos": "Fotografií",
"videos": "Videí",
"people": "Ľudia"
},
"fileflows": {
"queue": "Queue",
"queue": "Poradie",
"processing": "Processing",
"processed": "Processed",
"processed": "Spracované",
"time": "Čas"
},
"firefly": {
@@ -730,7 +730,7 @@
"numshares": "Zdieľané položky"
},
"kopia": {
"status": "Status",
"status": "Stav",
"size": "Veľkosť",
"lastrun": "Naposledy spustené",
"nextrun": "Nasledujúce spustenie",
@@ -753,10 +753,10 @@
"gatus": {
"up": "Sites Up",
"down": "Sites Down",
"uptime": "Uptime"
"uptime": "Dostupnosť"
},
"ghostfolio": {
"gross_percent_today": "Today",
"gross_percent_today": "Dnes",
"gross_percent_1y": "Jeden rok",
"gross_percent_max": "Za celý čas"
},
@@ -778,22 +778,22 @@
"calibreweb": {
"books": "Books",
"authors": "Autori",
"categories": "Categories",
"categories": "Kategórie",
"series": "Series"
},
"jdownloader": {
"downloadCount": "Queue",
"downloadBytesRemaining": "Remaining",
"downloadTotalBytes": "Size",
"downloadCount": "Poradie",
"downloadBytesRemaining": "Zostávajúce",
"downloadTotalBytes": "Veľkosť",
"downloadSpeed": "Speed"
},
"kavita": {
"seriesCount": "Series",
"totalFiles": "Files"
"totalFiles": "Súborov"
},
"azuredevops": {
"result": "Výsledok",
"status": "Status",
"status": "Stav",
"buildId": "ID zostavy",
"succeeded": "Úspešný",
"notStarted": "Nespustený",
@@ -802,10 +802,10 @@
"inProgress": "Prebieha",
"totalPrs": "Počet PR-ok",
"myPrs": "Moje PR-ka",
"approved": "Approved"
"approved": "Schválené"
},
"gamedig": {
"status": "Status",
"status": "Stav",
"online": "Online",
"offline": "Offline",
"name": "Meno",
@@ -814,7 +814,7 @@
"players": "Players",
"maxPlayers": "Maximálny počet hráčov",
"bots": "Boti",
"ping": "Ping"
"ping": "Odozva"
},
"urbackup": {
"ok": "Ok",
@@ -824,39 +824,39 @@
},
"mealie": {
"recipes": "Recepty",
"users": "Users",
"categories": "Categories",
"users": "Používateľov",
"categories": "Kategórie",
"tags": "Štítky"
},
"openmediavault": {
"downloading": "Sťahovanie",
"total": "Total",
"running": "Running",
"total": "Celkom",
"running": "Beží",
"stopped": "Stopped",
"passed": "Passed",
"failed": "Failed"
},
"openwrt": {
"uptime": "Uptime",
"uptime": "Dostupnosť",
"cpuLoad": "Záťaž CPU priem. (5m)",
"up": "Up",
"up": "Beží",
"down": "Down",
"bytesTx": "Prenesených",
"bytesRx": "Received"
"bytesRx": "Prijaté"
},
"uptimerobot": {
"status": "Status",
"uptime": "Uptime",
"status": "Stav",
"uptime": "Dostupnosť",
"lastDown": "Posledný čas nedostupnosti",
"downDuration": "Trvanie nedostupnosti",
"sitesUp": "Sites Up",
"sitesDown": "Sites Down",
"paused": "Paused",
"paused": "Pozastavené",
"notyetchecked": "Neskontrolované",
"up": "Up",
"up": "Beží",
"seemsdown": "Javí sa nedostupný",
"down": "Down",
"unknown": "Unknown"
"unknown": "Neznáme"
},
"calendar": {
"inCinemas": "V kinách",
@@ -872,13 +872,13 @@
"saves": "Saves",
"states": "States",
"screenshots": "Screenshots",
"totalfilesize": "Total Size"
"totalfilesize": "Celková veľkosť"
},
"mailcow": {
"domains": "Domains",
"mailboxes": "Mailboxes",
"mails": "Mails",
"storage": "Storage"
"storage": "Úložisko"
},
"netdata": {
"warnings": "Upozornenia",
@@ -887,7 +887,7 @@
"plantit": {
"events": "Udalosti",
"plants": "Rastliny",
"photos": "Photos",
"photos": "Fotografií",
"species": "Druhy"
},
"gitea": {
@@ -908,13 +908,13 @@
"galleries": "Galérie",
"performers": "Herci",
"studios": "Štúdiá",
"movies": "Movies",
"tags": "Tags",
"movies": "Filmov",
"tags": "Štítky",
"oCount": "O Count"
},
"tandoor": {
"users": "Users",
"recipes": "Recipes",
"users": "Používateľov",
"recipes": "Recepty",
"keywords": "Kľúčové slová"
},
"homebox": {
@@ -922,18 +922,18 @@
"totalWithWarranty": "So zárukou",
"locations": "Umiestnenia",
"labels": "Štítky",
"users": "Users",
"users": "Používateľov",
"totalValue": "Celková hodnota"
},
"crowdsec": {
"alerts": "Alerts",
"alerts": "Upozornenia",
"bans": "Bany"
},
"wgeasy": {
"connected": "Connected",
"connected": "Pripojené",
"enabled": "Enabled",
"disabled": "Disabled",
"total": "Total"
"total": "Celkom"
},
"swagdashboard": {
"proxied": "Proxied",
@@ -942,26 +942,26 @@
"banned": "Zabanovaný"
},
"myspeed": {
"ping": "Ping",
"ping": "Odozva",
"download": "Download",
"upload": "Upload"
"upload": "Nahrávanie"
},
"stocks": {
"stocks": "Stocks",
"loading": "Loading",
"loading": "Načítava sa",
"open": "Open - US Market",
"closed": "Closed - US Market",
"invalidConfiguration": "Invalid Configuration"
},
"frigate": {
"cameras": "Cameras",
"uptime": "Uptime",
"version": "Version"
"uptime": "Dostupnosť",
"version": "Verzia"
},
"linkwarden": {
"links": "Links",
"links": "Odkazy",
"collections": "Collections",
"tags": "Tags"
"tags": "Štítky"
},
"zabbix": {
"unclassified": "Not classified",
@@ -972,38 +972,38 @@
"disaster": "Disaster"
},
"lubelogger": {
"vehicle": "Vehicle",
"vehicles": "Vehicles",
"vehicle": "Vozidlo",
"vehicles": "Vozidlá",
"serviceRecords": "Service Records",
"reminders": "Reminders",
"nextReminder": "Next Reminder",
"none": "None"
"none": "Žiadne"
},
"vikunja": {
"projects": "Active Projects",
"projects": "Aktívne projekty",
"tasks7d": "Tasks Due This Week",
"tasksOverdue": "Overdue Tasks",
"tasksInProgress": "Tasks In Progress"
},
"headscale": {
"name": "Name",
"address": "Address",
"address": "Adresa",
"last_seen": "Last Seen",
"status": "Status",
"status": "Stav",
"online": "Online",
"offline": "Offline"
},
"beszel": {
"name": "Name",
"systems": "Systems",
"up": "Up",
"up": "Beží",
"down": "Down",
"paused": "Paused",
"pending": "Pending",
"status": "Status",
"paused": "Pozastavené",
"pending": "Čakajúce",
"status": "Stav",
"updated": "Updated",
"cpu": "CPU",
"memory": "MEM",
"memory": "RAM",
"disk": "Disk",
"network": "NET"
},
@@ -1011,14 +1011,14 @@
"apps": "Apps",
"synced": "Synced",
"outOfSync": "Out Of Sync",
"healthy": "Healthy",
"healthy": "Zdravý",
"degraded": "Degraded",
"progressing": "Progressing",
"missing": "Missing",
"suspended": "Suspended"
},
"spoolman": {
"loading": "Loading"
"loading": "Načítava sa"
},
"gitlab": {
"groups": "Groups",
@@ -1027,8 +1027,8 @@
"projects": "Projects"
},
"apcups": {
"status": "Status",
"load": "Load",
"status": "Stav",
"load": "Záťaž",
"bcharge": "Battery Charge",
"timeleft": "Time Left"
},
@@ -1037,45 +1037,45 @@
"favorites": "Favorites",
"archived": "Archived",
"highlights": "Highlights",
"lists": "Lists",
"tags": "Tags"
"lists": "Zoznamy",
"tags": "Štítky"
},
"slskd": {
"slskStatus": "Network",
"connected": "Connected",
"disconnected": "Disconnected",
"connected": "Pripojené",
"disconnected": "Odpojené",
"updateStatus": "Update",
"update_yes": "Available",
"update_yes": "Dostupné",
"update_no": "Up to Date",
"downloads": "Downloads",
"uploads": "Uploads",
"sharedFiles": "Files"
},
"jellystat": {
"songs": "Songs",
"movies": "Movies",
"episodes": "Episodes",
"other": "Other"
"songs": "Skladieb",
"movies": "Filmov",
"episodes": "Epizód",
"other": "Ostatné"
},
"checkmk": {
"serviceErrors": "Service issues",
"hostErrors": "Host issues"
},
"komodo": {
"total": "Total",
"running": "Running",
"total": "Celkom",
"running": "Beží",
"stopped": "Stopped",
"down": "Down",
"unhealthy": "Unhealthy",
"unknown": "Unknown",
"unhealthy": "Nezdravý",
"unknown": "Neznáme",
"servers": "Servers",
"stacks": "Stacks",
"containers": "Containers"
},
"filebrowser": {
"available": "Available",
"used": "Used",
"total": "Total"
"available": "Dostupné",
"used": "Využité",
"total": "Celkom"
},
"wallos": {
"activeSubscriptions": "Subscriptions",

View File

@@ -421,7 +421,7 @@
"down": "Offline"
},
"miniflux": {
"read": "Okunmayan",
"read": "Okunm",
"unread": "Okunmamış"
},
"authentik": {

View File

@@ -112,7 +112,7 @@
"offline_alt": "Offline",
"online": "Онлайн",
"total": "Total",
"unknown": "Unknown"
"unknown": "Невідомо"
},
"evcc": {
"pv_power": "Виробництво",

View File

@@ -63,7 +63,7 @@
"wlan_users": "无线局域网用户",
"up": "UP",
"down": "离线",
"wait": "请稍",
"wait": "请稍",
"empty_data": "子系统状态未知"
},
"docker": {
@@ -83,19 +83,19 @@
"partial": "部分"
},
"ping": {
"error": "Error",
"ping": "Ping",
"down": "Down",
"up": "Up",
"error": "错误",
"ping": "延迟",
"down": "离线",
"up": "在线",
"not_available": "不可用"
},
"siteMonitor": {
"http_status": "HTTP 状态",
"error": "Error",
"error": "错误",
"response": "响应",
"down": "Down",
"up": "Up",
"not_available": "Not Available"
"down": "离线",
"up": "在线",
"not_available": "不可用"
},
"emby": {
"playing": "播放中",
@@ -116,7 +116,7 @@
},
"evcc": {
"pv_power": "正式环境",
"battery_soc": "Battery",
"battery_soc": "电量",
"grid_power": "Grid",
"home_power": "Consumption",
"charge_power": "Charger",
@@ -189,7 +189,7 @@
"plex": {
"streams": "活动流",
"albums": "专辑",
"movies": "Movies",
"movies": "电影",
"tv": "电视节目"
},
"sabnzbd": {
@@ -204,15 +204,15 @@
},
"transmission": {
"download": "Download",
"upload": "Upload",
"upload": "",
"leech": "Leech",
"seed": "Seed"
},
"qbittorrent": {
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"download": "下载速率",
"upload": "上传速率",
"leech": "下载中",
"seed": "做种"
},
"qnap": {
"cpuUsage": "处理器",
@@ -236,31 +236,31 @@
"download": "Download",
"upload": "Upload",
"leech": "Leech",
"seed": "Seed"
"seed": "做种"
},
"sonarr": {
"wanted": "想看",
"queued": "排队",
"series": "Series",
"queue": "Queue",
"unknown": "Unknown"
"series": "系列",
"queue": "队列",
"unknown": "未知"
},
"radarr": {
"wanted": "Wanted",
"wanted": "想看",
"missing": "丢失",
"queued": "Queued",
"movies": "Movies",
"queue": "Queue",
"unknown": "Unknown"
"queued": "队列中",
"movies": "电影",
"queue": "队列",
"unknown": "未知"
},
"lidarr": {
"wanted": "Wanted",
"queued": "Queued",
"wanted": "想看",
"queued": "队列中",
"artists": "Artists"
},
"readarr": {
"wanted": "Wanted",
"queued": "Queued",
"wanted": "想看",
"queued": "队列中",
"books": "书籍"
},
"bazarr": {
@@ -273,7 +273,7 @@
"available": "可用"
},
"jellyseerr": {
"pending": "Pending",
"pending": "待办的",
"approved": "Approved",
"available": "Available"
},
@@ -437,20 +437,20 @@
},
"glances": {
"cpu": "CPU",
"load": "Load",
"wait": "Please wait",
"temp": "TEMP",
"load": "负载",
"wait": "请稍候",
"temp": "温度",
"_temp": "Temp",
"warn": "Warn",
"uptime": "UP",
"total": "Total",
"free": "Free",
"used": "Used",
"days": "d",
"hours": "h",
"uptime": "运行时间",
"total": "总计",
"free": "空闲",
"used": "已使用",
"days": "",
"hours": "",
"crit": "Crit",
"read": "Read",
"write": "Write",
"write": "写入",
"gpu": "GPU",
"mem": "Mem",
"swap": "Swap"

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "next-i18next";
import { useState } from "react";
import { useCallback, useEffect, useState } from "react";
import { MdLocationDisabled, MdLocationSearching } from "react-icons/md";
import { WiCloudDown } from "react-icons/wi";
import useSWR from "swr";
@@ -64,7 +64,7 @@ export default function OpenMeteo({ options }) {
setLocation({ latitude: options.latitude, longitude: options.longitude });
}
const requestLocation = () => {
const requestLocation = useCallback(() => {
setRequesting(true);
if (typeof window !== "undefined") {
navigator.geolocation.getCurrentPosition(
@@ -82,7 +82,17 @@ export default function OpenMeteo({ options }) {
},
);
}
};
}, []);
useEffect(() => {
if (!options.latitude && !options.longitude && typeof navigator !== "undefined") {
navigator.permissions?.query({ name: "geolocation" }).then((result) => {
if (result.state === "granted") {
requestLocation();
}
});
}
}, [options.latitude, options.longitude, requestLocation]);
if (!location) {
return (

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "next-i18next";
import { useState } from "react";
import { useCallback, useEffect, useState } from "react";
import { MdLocationDisabled, MdLocationSearching } from "react-icons/md";
import { WiCloudDown } from "react-icons/wi";
import useSWR from "swr";
@@ -59,7 +59,7 @@ export default function OpenWeatherMap({ options }) {
setLocation({ latitude: options.latitude, longitude: options.longitude });
}
const requestLocation = () => {
const requestLocation = useCallback(() => {
setRequesting(true);
if (typeof window !== "undefined") {
navigator.geolocation.getCurrentPosition(
@@ -77,7 +77,17 @@ export default function OpenWeatherMap({ options }) {
},
);
}
};
}, []);
useEffect(() => {
if (!options.latitude && !options.longitude && typeof navigator !== "undefined") {
navigator.permissions?.query({ name: "geolocation" }).then((result) => {
if (result.state === "granted") {
requestLocation();
}
});
}
}, [options.latitude, options.longitude, requestLocation]);
if (!location) {
return (

View File

@@ -1,5 +1,5 @@
import { useTranslation } from "next-i18next";
import { useState } from "react";
import { useCallback, useEffect, useState } from "react";
import { MdLocationDisabled, MdLocationSearching } from "react-icons/md";
import { WiCloudDown } from "react-icons/wi";
import useSWR from "swr";
@@ -63,7 +63,7 @@ export default function WeatherApi({ options }) {
setLocation({ latitude: options.latitude, longitude: options.longitude });
}
const requestLocation = () => {
const requestLocation = useCallback(() => {
setRequesting(true);
if (typeof window !== "undefined") {
navigator.geolocation.getCurrentPosition(
@@ -81,7 +81,17 @@ export default function WeatherApi({ options }) {
},
);
}
};
}, []);
useEffect(() => {
if (!options.latitude && !options.longitude && typeof navigator !== "undefined") {
navigator.permissions?.query({ name: "geolocation" }).then((result) => {
if (result.state === "granted") {
requestLocation();
}
});
}
}, [options.latitude, options.longitude, requestLocation]);
if (!location) {
return (

View File

@@ -1,5 +1,3 @@
import { existsSync } from "fs";
import createLogger from "utils/logger";
const logger = createLogger("resources");
@@ -20,17 +18,20 @@ export default async function handler(req, res) {
}
if (type === "disk") {
if (!existsSync(target)) {
return res.status(404).json({
error: "Target not found",
});
}
const requested = typeof target === "string" && target ? target : "/";
const fsSize = await si.fsSize();
logger.debug("fsSize:", JSON.stringify(fsSize));
return res.status(200).json({
drive: fsSize.find((fs) => fs.mount === target) ?? fsSize.find((fs) => fs.mount === "/"),
const drive = fsSize.find((fs) => {
return fs.mount === requested;
});
if (!drive) {
logger.warn(`Drive not found for target: ${requested}`);
return res.status(404).json({ error: "Resource not available." });
}
return res.status(200).json({ drive });
}
if (type === "memory") {

View File

@@ -35,15 +35,17 @@ export default function Component({ service }) {
// broken by evcc v0.133.0 https://github.com/evcc-io/evcc/commit/9dcb1fa0a7c08dd926b79309aa1f676a5fc6c8aa
const gridPower = data.gridPower ?? data.grid?.power ?? 0;
// Sum chargePower of all loadpoints
const totalChargePower = Array.isArray(data.loadpoints)
? data.loadpoints.reduce((sum, lp) => sum + (lp.chargePower ?? 0), 0)
: 0;
return (
<Container service={service}>
<Block label="evcc.pv_power" value={`${toKilowatts(t, data.pvPower)} ${t("evcc.kilowatt")}`} />
<Block label="evcc.grid_power" value={`${toKilowatts(t, gridPower)} ${t("evcc.kilowatt")}`} />
<Block label="evcc.home_power" value={`${toKilowatts(t, data.homePower)} ${t("evcc.kilowatt")}`} />
<Block
label="evcc.charge_power"
value={`${toKilowatts(t, data.loadpoints[0].chargePower)} ${t("evcc.kilowatt")}`}
/>
<Block label="evcc.charge_power" value={`${toKilowatts(t, totalChargePower)} ${t("evcc.kilowatt")}`} />
</Container>
);
}

View File

@@ -24,7 +24,7 @@ export default function Component({ service }) {
<Container service={service}>
<div
className={classNames(
"bg-theme-200/50 dark:bg-theme-900/20 rounded-sm m-1 flex-1 flex flex-col items-center justify-center text-center",
"bg-theme-200/50 dark:bg-theme-900/20 rounded-sm m-1 flex-1 flex flex-col items-center justify-center text-center scheme-light",
"service-block",
)}
>

View File

@@ -23,10 +23,13 @@ export default function Component({ service }) {
</Container>
);
}
const space = spaceData.results ? spaceData.results[0] : spaceData[0];
return (
<Container service={service}>
<Block label="tandoor.users" value={spaceData[0]?.user_count} />
<Block label="tandoor.recipes" value={spaceData[0]?.recipe_count} />
<Block label="tandoor.users" value={space?.user_count} />
<Block label="tandoor.recipes" value={space?.recipe_count} />
<Block label="tandoor.keywords" value={keywordData.count} />
</Container>
);