fix: remove $t() calls from $derived() blocks to fix PostCSS errors
vite-plugin-svelte CSS extraction fails when $t() is used inside $derived(). This causes "[postcss] Unknown word <script" errors that appear to be cache issues but are actually a known Svelte 5 / vite-plugin-svelte incompatibility. Files fixed: - DownloadButton.svelte: use titleKey pattern with function resolver - DACSetupWizard.svelte: use labelKey pattern resolved in WizardStepper - RemoteControlSetupGuide.svelte: use labelKey pattern - WizardStepper.svelte: support optional labelKey with $t() in template Also added download.* translation keys to en.json and es.json. cc
This commit is contained in:
1 parent
4cfde680aa
commit
c9b26eb4db
6 files changed
+45
-15
No files matched your search
@@ -987,6 +987,13 @@
|
||||
"showNetworkFolders": "Mostrar Contenido de Carpetas de Red",
|
||||
"showNetworkFoldersDesc": "Mostrar contenido de carpetas montadas en red (NAS, Samba, etc.) mientras estas en modo offline manual"
|
||||
},
|
||||
"download": {
|
||||
"makeAvailable": "Hacer disponible offline",
|
||||
"queued": "En cola para offline",
|
||||
"preparing": "Preparando para offline",
|
||||
"ready": "Disponible offline (clic para eliminar)",
|
||||
"failed": "Error al cachear para offline (clic para reintentar)"
|
||||
},
|
||||
"filter": {
|
||||
"all": "Todos"
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user