mirror of
https://github.com/kilyabin/psysonic.git
synced 2026-07-21 22:15:40 +00:00
feat(player): sleep timer and delayed start via long-press on play/pause (#270)
Add scheduled pause and resume timers in the player store, cleared on stop and track changes. Long-press opens a compact preset modal anchored above the transport row; one-tap presets plus custom minutes. Portaled countdown badge on the play button; clear the long-press click guard when the modal closes so the first play/pause click works after scheduling.
This commit is contained in:
@@ -1113,6 +1113,24 @@ export const nbTranslation = {
|
||||
prev: 'Forrige spor',
|
||||
play: 'Spill av',
|
||||
pause: 'Pause',
|
||||
delayModalTitle: 'Tidsur',
|
||||
delayPauseSection: 'Pause etter',
|
||||
delayStartSection: 'Start etter',
|
||||
delaySchedulePause: 'Planlegg pause',
|
||||
delayScheduleStart: 'Planlegg start',
|
||||
delayCancelPause: 'Avbryt pause-timer',
|
||||
delayCancelStart: 'Avbryt start-timer',
|
||||
delayInactivePause: 'Kun tilgjengelig under avspilling.',
|
||||
delayInactiveStart: 'Kun i pause med spor eller radio lastet.',
|
||||
delayCustomMinutes: 'Egen forsinkelse (minutter)',
|
||||
delayCustomPlaceholder: 'f.eks. 2,5',
|
||||
closeDelayModal: 'Lukk',
|
||||
delayIn: 'om',
|
||||
delayFmtSec: '{{n}} s',
|
||||
delayFmtMin: '{{n}} min',
|
||||
delayFmtHr: '{{n}} t',
|
||||
delayCancel: 'Avbryt',
|
||||
delayApply: 'Bruk',
|
||||
next: 'Neste spor',
|
||||
repeat: 'Gjenta',
|
||||
repeatOff: 'Av',
|
||||
|
||||
Reference in New Issue
Block a user