Keep the screen awake while a workout is running
Locking and unlocking the phone between every set was the worst part of logging on one. Settings -> During a workout -> Keep screen awake, on by default; the lock is held only while S.active exists, so it follows the workout rather than the route and lets go when you finish. The browser drops the lock whenever the document stops being visible, which is what happens the moment you glance at a message, so wakelock.js keeps its own 'wanted' intent and re-acquires on every visibilitychange. It also releases a sentinel that arrives after a release landed mid-request, and swallows the rejection iOS gives in Low Power Mode. Where the API is missing the row shows disabled instead of offering a switch that does nothing. Settings is regrouped by what each thing affects while the row needed a home: General (language, units), During a workout (rest timer, keep awake, sounds, effort), Notifications, Appearance, Data. Nothing removed, no setting changed meaning.
This commit is contained in:
1 parent
42d3659615
commit
248da53dca
16 files changed
+258
-43
No files matched your search
@@ -256,7 +256,10 @@ export default {
|
||||
'Dark': 'Dunkel',
|
||||
'Light': 'Hell',
|
||||
'Accent color': 'Akzentfarbe',
|
||||
'Units & timer': 'Einheiten & Timer',
|
||||
'General': 'Allgemein',
|
||||
'During a workout': 'Während des Trainings',
|
||||
'Keep screen awake': 'Bildschirm anlassen',
|
||||
'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': 'Der Bildschirm bleibt an, solange ein Workout läuft — so musst du zwischen den Sätzen nicht entsperren.',
|
||||
'Weight unit': 'Gewichtseinheit',
|
||||
'Rest timer': 'Pausen-Timer',
|
||||
'Sounds': 'Töne',
|
||||
|
||||
@@ -242,7 +242,10 @@ export default {
|
||||
'Dark': 'Oscuro',
|
||||
'Light': 'Claro',
|
||||
'Accent color': 'Color de acento',
|
||||
'Units & timer': 'Unidades y temporizador',
|
||||
'General': 'General',
|
||||
'During a workout': 'Durante el entrenamiento',
|
||||
'Keep screen awake': 'Mantener la pantalla encendida',
|
||||
'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': 'La pantalla se mantiene encendida mientras hay un entrenamiento en curso, así no tienes que desbloquear el móvil entre series.',
|
||||
'Weight unit': 'Unidad de peso',
|
||||
'Rest timer': 'Temporizador de descanso',
|
||||
'Sounds': 'Sonidos',
|
||||
|
||||
@@ -242,7 +242,10 @@ export default {
|
||||
'Dark': 'Sombre',
|
||||
'Light': 'Clair',
|
||||
'Accent color': "Couleur d'accent",
|
||||
'Units & timer': 'Unités et minuteur',
|
||||
'General': 'Général',
|
||||
'During a workout': 'Pendant la séance',
|
||||
'Keep screen awake': 'Garder l’écran allumé',
|
||||
'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': 'L’écran reste allumé tant qu’une séance est en cours, pas besoin de déverrouiller ton téléphone entre les séries.',
|
||||
'Weight unit': 'Unité de poids',
|
||||
'Rest timer': 'Minuteur de repos',
|
||||
'Sounds': 'Sons',
|
||||
|
||||
@@ -242,7 +242,10 @@ export default {
|
||||
'Dark': 'डार्क',
|
||||
'Light': 'लाइट',
|
||||
'Accent color': 'एक्सेंट रंग',
|
||||
'Units & timer': 'इकाइयाँ और टाइमर',
|
||||
'General': 'सामान्य',
|
||||
'During a workout': 'वर्कआउट के दौरान',
|
||||
'Keep screen awake': 'स्क्रीन चालू रखें',
|
||||
'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': 'वर्कआउट चलने के दौरान स्क्रीन चालू रहती है, ताकि सेट के बीच फ़ोन अनलॉक न करना पड़े।',
|
||||
'Weight unit': 'वज़न की इकाई',
|
||||
'Rest timer': 'आराम टाइमर',
|
||||
'Sounds': 'ध्वनियाँ',
|
||||
|
||||
@@ -242,7 +242,10 @@ export default {
|
||||
'Dark': 'Scuro',
|
||||
'Light': 'Chiaro',
|
||||
'Accent color': 'Colore accento',
|
||||
'Units & timer': 'Unità e timer',
|
||||
'General': 'Generale',
|
||||
'During a workout': 'Durante l’allenamento',
|
||||
'Keep screen awake': 'Mantieni lo schermo acceso',
|
||||
'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': 'Lo schermo resta acceso mentre un allenamento è in corso, così non devi sbloccare il telefono tra una serie e l’altra.',
|
||||
'Weight unit': 'Unità di peso',
|
||||
'Rest timer': 'Timer di riposo',
|
||||
'Sounds': 'Suoni',
|
||||
|
||||
@@ -242,7 +242,10 @@ export default {
|
||||
'Dark': '다크',
|
||||
'Light': '라이트',
|
||||
'Accent color': '강조 색상',
|
||||
'Units & timer': '단위와 타이머',
|
||||
'General': '일반',
|
||||
'During a workout': '운동 중',
|
||||
'Keep screen awake': '화면 켜두기',
|
||||
'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': '운동이 진행되는 동안 화면이 켜져 있어 세트 사이에 잠금을 해제할 필요가 없습니다.',
|
||||
'Weight unit': '무게 단위',
|
||||
'Rest timer': '휴식 타이머',
|
||||
'Sounds': '소리',
|
||||
|
||||
@@ -242,7 +242,10 @@ export default {
|
||||
'Dark': 'Ciemny',
|
||||
'Light': 'Jasny',
|
||||
'Accent color': 'Kolor akcentu',
|
||||
'Units & timer': 'Jednostki i minutnik',
|
||||
'General': 'Ogólne',
|
||||
'During a workout': 'Podczas treningu',
|
||||
'Keep screen awake': 'Nie wygaszaj ekranu',
|
||||
'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': 'Ekran pozostaje włączony w trakcie treningu, więc nie musisz odblokowywać telefonu między seriami.',
|
||||
'Weight unit': 'Jednostka wagi',
|
||||
'Rest timer': 'Minutnik przerwy',
|
||||
'Sounds': 'Dźwięki',
|
||||
|
||||
@@ -242,7 +242,10 @@ export default {
|
||||
'Dark': 'Escuro',
|
||||
'Light': 'Claro',
|
||||
'Accent color': 'Cor de destaque',
|
||||
'Units & timer': 'Unidades e temporizador',
|
||||
'General': 'Geral',
|
||||
'During a workout': 'Durante o treino',
|
||||
'Keep screen awake': 'Manter o ecrã ligado',
|
||||
'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': 'O ecrã fica ligado enquanto há um treino a decorrer, para não teres de desbloquear o telemóvel entre séries.',
|
||||
'Weight unit': 'Unidade de peso',
|
||||
'Rest timer': 'Temporizador de descanso',
|
||||
'Sounds': 'Sons',
|
||||
|
||||
@@ -242,7 +242,10 @@ export default {
|
||||
'Dark': 'Тёмная',
|
||||
'Light': 'Светлая',
|
||||
'Accent color': 'Акцентный цвет',
|
||||
'Units & timer': 'Единицы и таймер',
|
||||
'General': 'Основное',
|
||||
'During a workout': 'Во время тренировки',
|
||||
'Keep screen awake': 'Не гасить экран',
|
||||
'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': 'Экран не гаснет, пока идёт тренировка, — не нужно разблокировать телефон между подходами.',
|
||||
'Weight unit': 'Единица веса',
|
||||
'Rest timer': 'Таймер отдыха',
|
||||
'Sounds': 'Звуки',
|
||||
|
||||
@@ -242,7 +242,10 @@ export default {
|
||||
'Dark': 'Koyu',
|
||||
'Light': 'Açık',
|
||||
'Accent color': 'Vurgu rengi',
|
||||
'Units & timer': 'Birimler ve sayaç',
|
||||
'General': 'Genel',
|
||||
'During a workout': 'Antrenman sırasında',
|
||||
'Keep screen awake': 'Ekranı açık tut',
|
||||
'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': 'Antrenman sürerken ekran açık kalır, böylece setler arasında telefonunu açmak zorunda kalmazsın.',
|
||||
'Weight unit': 'Ağırlık birimi',
|
||||
'Rest timer': 'Dinlenme sayacı',
|
||||
'Sounds': 'Sesler',
|
||||
|
||||
@@ -242,7 +242,10 @@ export default {
|
||||
'Dark': '深色',
|
||||
'Light': '浅色',
|
||||
'Accent color': '强调色',
|
||||
'Units & timer': '单位与计时',
|
||||
'General': '通用',
|
||||
'During a workout': '训练期间',
|
||||
'Keep screen awake': '保持屏幕常亮',
|
||||
'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': '训练进行时屏幕保持常亮,组间无需再解锁手机。',
|
||||
'Weight unit': '重量单位',
|
||||
'Rest timer': '休息计时',
|
||||
'Sounds': '声音',
|
||||
|
||||
Reference in new issue
Block a user