feat(player): add sleep timer

This commit is contained in:
zarzet
2026-08-30 17:23:16 +07:00
parent a926a2825b
commit 29a86b0dc3
5 changed files with 164 additions and 0 deletions
+39
View File
@@ -6053,6 +6053,45 @@
"@nowPlayingDetails": {
"description": "Menu item and section title for track metadata details"
},
"nowPlayingSleepTimer": "Sleep timer",
"@nowPlayingSleepTimer": {
"description": "Menu item and sheet title for the playback sleep timer"
},
"nowPlayingSleepTimerActive": "Ends at {time}",
"@nowPlayingSleepTimerActive": {
"description": "Active sleep timer deadline shown in the player menu",
"placeholders": {
"time": {
"type": "String"
}
}
},
"nowPlayingSleepTimerMinutes": "{minutes, plural, =1{1 minute} other{{minutes} minutes}}",
"@nowPlayingSleepTimerMinutes": {
"description": "Duration choice for the playback sleep timer",
"placeholders": {
"minutes": {
"type": "int"
}
}
},
"nowPlayingSleepTimerOff": "Turn off sleep timer",
"@nowPlayingSleepTimerOff": {
"description": "Action to cancel the active playback sleep timer"
},
"nowPlayingSleepTimerSet": "Sleep timer set for {duration}",
"@nowPlayingSleepTimerSet": {
"description": "Confirmation after setting the playback sleep timer",
"placeholders": {
"duration": {
"type": "String"
}
}
},
"nowPlayingSleepTimerCancelled": "Sleep timer turned off",
"@nowPlayingSleepTimerCancelled": {
"description": "Confirmation after cancelling the playback sleep timer"
},
"nowPlayingOpenInExternalPlayer": "Open in external player",
"@nowPlayingOpenInExternalPlayer": {
"description": "Menu item to open the current track in an external player"