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:
@@ -1191,6 +1191,24 @@ export const ruTranslation = {
|
||||
prev: 'Предыдущий трек',
|
||||
play: 'Играть',
|
||||
pause: 'Пауза',
|
||||
delayModalTitle: 'Таймер',
|
||||
delayPauseSection: 'Пауза через',
|
||||
delayStartSection: 'Старт через',
|
||||
delaySchedulePause: 'Запланировать паузу',
|
||||
delayScheduleStart: 'Запланировать старт',
|
||||
delayCancelPause: 'Отменить таймер паузы',
|
||||
delayCancelStart: 'Отменить таймер старта',
|
||||
delayInactivePause: 'Доступно только во время воспроизведения.',
|
||||
delayInactiveStart: 'Доступно на паузе при загруженном треке или радио.',
|
||||
delayCustomMinutes: 'Своя задержка (минуты)',
|
||||
delayCustomPlaceholder: 'напр. 2.5',
|
||||
closeDelayModal: 'Закрыть',
|
||||
delayIn: 'через',
|
||||
delayFmtSec: '{{n}} с',
|
||||
delayFmtMin: '{{n}} мин',
|
||||
delayFmtHr: '{{n}} ч',
|
||||
delayCancel: 'Отмена',
|
||||
delayApply: 'Применить',
|
||||
next: 'Следующий трек',
|
||||
repeat: 'Повтор',
|
||||
repeatOff: 'Выкл.',
|
||||
|
||||
Reference in New Issue
Block a user