feat(playlists): YouTube-mirrored playlists in the UI (read-only) + sync button

Show YouTube-sourced playlists with a YouTube icon; they're read-only for now (no
rename/delete/reorder/remove, excluded from the add-to-playlist popover) with a
'synced from YouTube' note — editing comes with the write-back phase. Add a 'Sync from
YouTube' button in the Playlists rail (api.syncYoutubePlaylists) with a result toast.
Trilingual strings.
This commit is contained in:
npeter83 2026-06-15 19:37:17 +02:00
parent 240b6fb611
commit 12339009b5
6 changed files with 92 additions and 23 deletions

View file

@ -1,6 +1,10 @@
{
"title": "Playlists",
"watchLater": "Watch later",
"syncYoutube": "Sync from YouTube",
"syncedToast": "Synced {{count}} playlists from YouTube",
"syncFailed": "Couldn't sync from YouTube",
"ytReadonly": "Synced from YouTube — read-only for now",
"noneYet": "No playlists yet",
"newPlaylist": "New playlist…",
"itemCount_one": "{{count}} video",