fix(playlist): migrate duplicate modal to Svelte 5 and add i18n
Migrate PlaylistDuplicateConfirmModal from Svelte 4 (export let, createEventDispatcher, on:click) to Svelte 5 ($props, callback props, onclick). Replace hardcoded English strings with i18n keys under playlist.duplicates for all 4 locales (en, es, de, fr).
This commit is contained in:
1 parent
ae1a3533a8
commit
f85d04fa68
6 files changed
+69
-43
No files matched your search
@@ -273,7 +273,14 @@
|
||||
"hideFromSidebar": "Ocultar de la barra lateral",
|
||||
"createAndAdd": "Crear y Agregar",
|
||||
"playlistWithTracks": "{name} ({count} pistas)",
|
||||
"copyToLibrary": "Copiar a mi biblioteca"
|
||||
"copyToLibrary": "Copiar a mi biblioteca",
|
||||
"duplicates": {
|
||||
"title": "Algunas de estas pistas ya fueron agregadas",
|
||||
"description": "Esta lista ya contiene {duplicateCount} de las {totalCount} pistas que estás agregando. Agrega solo las nuevas o agrega todas incluyendo duplicadas.",
|
||||
"addAll": "Agregar todas",
|
||||
"addNew": "Agregar solo nuevas",
|
||||
"adding": "Agregando..."
|
||||
}
|
||||
},
|
||||
"sort": {
|
||||
"nameAZ": "Nombre (A-Z)",
|
||||
|
||||
Reference in new issue
Block a user