mirror of
https://github.com/Psychotoxical/psysonic.git
synced 2026-07-22 15:25:46 +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 nlTranslation = {
|
||||
prev: 'Vorig nummer',
|
||||
play: 'Afspelen',
|
||||
pause: 'Pauzeren',
|
||||
delayModalTitle: 'Timer',
|
||||
delayPauseSection: 'Pauzeren na',
|
||||
delayStartSection: 'Starten na',
|
||||
delaySchedulePause: 'Pauze plannen',
|
||||
delayScheduleStart: 'Start plannen',
|
||||
delayCancelPause: 'Pauze-timer annuleren',
|
||||
delayCancelStart: 'Start-timer annuleren',
|
||||
delayInactivePause: 'Alleen beschikbaar tijdens afspelen.',
|
||||
delayInactiveStart: 'Alleen in pauze met een geladen nummer of radio.',
|
||||
delayCustomMinutes: 'Aangepaste vertraging (minuten)',
|
||||
delayCustomPlaceholder: 'bijv. 2,5',
|
||||
closeDelayModal: 'Sluiten',
|
||||
delayIn: 'over',
|
||||
delayFmtSec: '{{n}} s',
|
||||
delayFmtMin: '{{n}} min',
|
||||
delayFmtHr: '{{n}} u',
|
||||
delayCancel: 'Annuleren',
|
||||
delayApply: 'Toepassen',
|
||||
next: 'Volgend nummer',
|
||||
repeat: 'Herhalen',
|
||||
repeatOff: 'Uit',
|
||||
|
||||
Reference in New Issue
Block a user