1) Fix: the selected playlist is now persisted (localStorage) and scrolled into view, so F5 keeps it instead of jumping to the first one. 2) Consolidate the in-detail sort: one key select (Title/Duration/Channel) + an asc/desc direction toggle (was separate A-Z / Z-A / shortest / longest options); add Channel as a sort key. Direction also orders the channel groups when grouping. 3) Left rail sorting: by name / item count / total length, asc/desc, plus an 'unsynced first' toggle that floats playlists with unpushed edits to the top. Backend: list/summary now return total_duration_seconds (grouped sum). The rail also shows each playlist's total length. Sort prefs persist to localStorage.
51 lines
2.2 KiB
JSON
51 lines
2.2 KiB
JSON
{
|
|
"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 — edits sync back",
|
|
"noneYet": "No playlists yet",
|
|
"newPlaylist": "New playlist…",
|
|
"itemCount_one": "{{count}} video",
|
|
"itemCount_other": "{{count}} videos",
|
|
"pickOne": "Pick a playlist on the left.",
|
|
"loading": "Loading…",
|
|
"empty": "This playlist is empty — add videos from the feed.",
|
|
"playAll": "Play all",
|
|
"delete": "Delete",
|
|
"rename": "Rename",
|
|
"confirmDelete": "Delete the playlist “{{name}}”? This can't be undone.",
|
|
"addToPlaylist": "Add to playlist",
|
|
"exportToYoutube": "Export to YouTube",
|
|
"pushToYoutube": "Sync to YouTube",
|
|
"unsynced": "Unsynced changes",
|
|
"pushTitle": "Sync to YouTube",
|
|
"pushConfirm": "Sync",
|
|
"pushPlanCreate": "Create a new YouTube playlist with {{count}} videos? (~{{units}} quota units; {{left}} left today.)",
|
|
"pushPlanUpdate": "Update on YouTube — add {{insert}}, remove {{del}}, reorder {{reorder}}? (~{{units}} quota units; {{left}} left today.)",
|
|
"pushDiverged": "{{count}} video(s) currently on YouTube will be removed.",
|
|
"pushNoQuota": "Not enough YouTube quota left today ({{left}}) for this sync (~{{units}} needed). Try again tomorrow.",
|
|
"pushUpToDate": "Already in sync with YouTube.",
|
|
"pushDone": "Synced to YouTube ✓",
|
|
"pushPartial": "Synced, but {{count}} item(s) were skipped.",
|
|
"pushFailed": "Couldn't sync to YouTube.",
|
|
"deleteOnYoutubeTitle": "Delete on YouTube too?",
|
|
"deleteOnYoutubeMsg": "Also delete “{{name}}” from your YouTube account? Choose “Here only” to keep it on YouTube.",
|
|
"deleteOnYoutubeConfirm": "Delete on YouTube",
|
|
"deleteHereOnly": "Here only",
|
|
"deleteYtFailed": "Couldn't delete on YouTube; removed here only.",
|
|
"sortLabel": "Sort",
|
|
"sortManual": "Custom order",
|
|
"sortTitle": "Title",
|
|
"sortDuration": "Duration",
|
|
"sortChannel": "Channel",
|
|
"dirAsc": "Ascending",
|
|
"dirDesc": "Descending",
|
|
"groupByChannel": "Group by channel",
|
|
"railSortCustom": "Custom order",
|
|
"railSortName": "Name",
|
|
"railSortCount": "Item count",
|
|
"railSortDuration": "Total length",
|
|
"dirtyFirst": "Unsynced first"
|
|
}
|