Open-source gym & body-weight tracker, now in the App Store (iPhone + Apple Watch) and as an Android APK. Plan routines, log workouts, see which muscles are trained, import from Strong/Hevy/FitNotes. Self-host it or use it on the phone alone.
JavaScript apple-watchbodyweightdockerfitnessfitness-trackergymhealthiosmcpnodejspasskeysprogressive-web-applicationspwareactself-hostedself-hostingvitewebauthnweightliftingworkout-tracker
Settings search: Swipe on sets is found by swipe, gesture and its own words in every language
Duarte Santos41a27ede7eee
diff --git a/frontend/src/lib/pt-br-locale.test.js b/frontend/src/lib/pt-br-locale.test.jsindex db947728e..b48e87d69 100644--- a/frontend/src/lib/pt-br-locale.test.js+++ b/frontend/src/lib/pt-br-locale.test.js@@ -41,7 +41,7 @@ describe('Brazilian Portuguese locale', () => {// has to be taught is a number nobody reads. What the numbers stood for is asserted above.// If the hash fails, review the changed keys and wording before accepting a new one. From// frontend/: node scripts/pt-br-inheritance-fingerprint.mjs --list- expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('7f4975bb13d90d3d98c30398944120a4b678407c4d0f93fe6f0c19408245243c')+ expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('7809b5a075099cc8bf92d9cfec4199c41365ff30da8e7a326c49a7dccae931a8')})test('does not leak European Portuguese UI terms', () => {diff --git a/frontend/src/locales/ar.js b/frontend/src/locales/ar.jsindex 91cf45be9..559fd6b98 100644--- a/frontend/src/locales/ar.js+++ b/frontend/src/locales/ar.js@@ -1943,6 +1943,7 @@ export default {'Move {0}': 'نقل {0}','Build your loop in Plan': 'أنشئ دورتك في الخطة','week start': 'بداية الأسبوع',+ 'swipe gesture': 'سحب إيماءة تمرير','Finish workout?': 'إنهاء التمرين؟','Finish and save': 'إنهاء وحفظ','Make it a warm-up set': 'اجعلها مجموعة إحماء',diff --git a/frontend/src/locales/de.js b/frontend/src/locales/de.jsindex f402ea1e6..1ccb36827 100644--- a/frontend/src/locales/de.js+++ b/frontend/src/locales/de.js@@ -1910,6 +1910,7 @@ export default {'Move {0}': '{0} verschieben','Build your loop in Plan': 'Kreislauf im Plan erstellen','week start': 'Wochenstart',+ 'swipe gesture': 'Wischgeste wischen','Finish workout?': 'Training beenden?','Finish and save': 'Beenden und speichern','Make it a warm-up set': 'Zum Aufwärmsatz machen',diff --git a/frontend/src/locales/es.js b/frontend/src/locales/es.jsindex 4e8a0b44f..d6d302c41 100644--- a/frontend/src/locales/es.js+++ b/frontend/src/locales/es.js@@ -1890,6 +1890,7 @@ export default {'Move {0}': 'Mover {0}','Build your loop in Plan': 'Crea tu bucle en Plan','week start': 'inicio de semana',+ 'swipe gesture': 'deslizar gesto','Finish workout?': '¿Terminar entrenamiento?','Finish and save': 'Terminar y guardar','Make it a warm-up set': 'Convertir en serie de calentamiento',diff --git a/frontend/src/locales/fr.js b/frontend/src/locales/fr.jsindex 55edbdc4f..cab699c5c 100644--- a/frontend/src/locales/fr.js+++ b/frontend/src/locales/fr.js@@ -1890,6 +1890,7 @@ export default {'Move {0}': 'Déplacer {0}','Build your loop in Plan': 'Crée ta boucle dans Plan','week start': 'début de semaine',+ 'swipe gesture': 'glisser balayer geste','Finish workout?': 'Terminer la séance ?','Finish and save': 'Terminer et enregistrer','Make it a warm-up set': 'En faire une série d’échauffement',diff --git a/frontend/src/locales/hi.js b/frontend/src/locales/hi.jsindex 4a76ac24c..50d6c2a13 100644--- a/frontend/src/locales/hi.js+++ b/frontend/src/locales/hi.js@@ -1890,6 +1890,7 @@ export default {'Move {0}': '{0} खिसकाएँ','Build your loop in Plan': 'योजना में अपना चक्र बनाएं','week start': 'सप्ताह की शुरुआत',+ 'swipe gesture': 'स्वाइप इशारा','Finish workout?': 'वर्कआउट समाप्त करें?','Finish and save': 'समाप्त करें और सहेजें','Make it a warm-up set': 'इसे वार्म-अप सेट बनाएं',diff --git a/frontend/src/locales/hu.js b/frontend/src/locales/hu.jsindex 0d1c07b88..63a01610c 100644--- a/frontend/src/locales/hu.js+++ b/frontend/src/locales/hu.js@@ -1893,6 +1893,7 @@ export default {'Move {0}': '{0} áthelyezése','Build your loop in Plan': 'Állítsd össze a köröd a Tervben','week start': 'hét kezdete',+ 'swipe gesture': 'húzás csúsztatás gesztus','Finish workout?': 'Befejezed az edzést?','Finish and save': 'Befejezés és mentés','Make it a warm-up set': 'Legyen bemelegítő sorozat',diff --git a/frontend/src/locales/it.js b/frontend/src/locales/it.jsindex 0705c1506..1f7952b78 100644--- a/frontend/src/locales/it.js+++ b/frontend/src/locales/it.js@@ -1890,6 +1890,7 @@ export default {'Move {0}': 'Sposta {0}','Build your loop in Plan': 'Crea il tuo ciclo in Piano','week start': 'inizio settimana',+ 'swipe gesture': 'scorrere gesto','Finish workout?': 'Terminare l’allenamento?','Finish and save': 'Termina e salva','Make it a warm-up set': 'Rendila serie di riscaldamento',diff --git a/frontend/src/locales/ko.js b/frontend/src/locales/ko.jsindex 82be73bba..b39aec816 100644--- a/frontend/src/locales/ko.js+++ b/frontend/src/locales/ko.js@@ -1890,6 +1890,7 @@ export default {'Move {0}': '{0} 이동','Build your loop in Plan': '계획에서 순환 만들기','week start': '주 시작',+ 'swipe gesture': '스와이프 제스처 밀기','Finish workout?': '운동을 마칠까요?','Finish and save': '마치고 저장','Make it a warm-up set': '워밍업 세트로 바꾸기',diff --git a/frontend/src/locales/pl.js b/frontend/src/locales/pl.jsindex 3cc4dc685..18f4a3c7d 100644--- a/frontend/src/locales/pl.js+++ b/frontend/src/locales/pl.js@@ -1890,6 +1890,7 @@ export default {'Move {0}': 'Przenieś {0}','Build your loop in Plan': 'Zbuduj pętlę w Planie','week start': 'początek tygodnia',+ 'swipe gesture': 'przesunięcie gest','Finish workout?': 'Zakończyć trening?','Finish and save': 'Zakończ i zapisz','Make it a warm-up set': 'Zamień na serię rozgrzewkową',diff --git a/frontend/src/locales/pt.js b/frontend/src/locales/pt.jsindex de30e2cea..8bef994c4 100644--- a/frontend/src/locales/pt.js+++ b/frontend/src/locales/pt.js@@ -1890,6 +1890,7 @@ export default {'Move {0}': 'Mover {0}','Build your loop in Plan': 'Crie o seu ciclo no Plano','week start': 'início da semana',+ 'swipe gesture': 'deslizar gesto','Finish workout?': 'Terminar o treino?','Finish and save': 'Terminar e guardar','Make it a warm-up set': 'Tornar série de aquecimento',diff --git a/frontend/src/locales/ru.js b/frontend/src/locales/ru.jsindex 4dd4d659d..4a10859d8 100644--- a/frontend/src/locales/ru.js+++ b/frontend/src/locales/ru.js@@ -1894,6 +1894,7 @@ export default {'Move {0}': 'Переместить {0}','Build your loop in Plan': 'Собери круг в Плане','week start': 'начало недели',+ 'swipe gesture': 'свайп жест смахивание','Finish workout?': 'Завершить тренировку?','Finish and save': 'Завершить и сохранить','Make it a warm-up set': 'Сделать разминочным подходом',diff --git a/frontend/src/locales/th.js b/frontend/src/locales/th.jsindex 920b98277..61c05fcf1 100644--- a/frontend/src/locales/th.js+++ b/frontend/src/locales/th.js@@ -1901,6 +1901,7 @@ export default {'Move {0}': 'ย้าย {0}','Build your loop in Plan': 'สร้างการวนรอบในแผน','week start': 'วันเริ่มสัปดาห์',+ 'swipe gesture': 'ปัด ท่าทาง','Finish workout?': 'จบการออกกำลังกายไหม?','Finish and save': 'จบและบันทึก','Make it a warm-up set': 'เปลี่ยนเป็นเซ็ตวอร์มอัพ',diff --git a/frontend/src/locales/tr.js b/frontend/src/locales/tr.jsindex 2dd3d40fc..e2c143f7e 100644--- a/frontend/src/locales/tr.js+++ b/frontend/src/locales/tr.js@@ -1890,6 +1890,7 @@ export default {'Move {0}': '{0} taşı','Build your loop in Plan': 'Döngünü Plan\'da oluştur','week start': 'hafta başlangıcı',+ 'swipe gesture': 'kaydırma hareket','Finish workout?': 'Antrenman bitirilsin mi?','Finish and save': 'Bitir ve kaydet','Make it a warm-up set': 'Isınma setine çevir',diff --git a/frontend/src/locales/uk.js b/frontend/src/locales/uk.jsindex 726e7c168..ad045dd97 100644--- a/frontend/src/locales/uk.js+++ b/frontend/src/locales/uk.js@@ -1887,6 +1887,7 @@ export default {'Move {0}': 'Перемістити {0}','Build your loop in Plan': 'Збери коло в Плані','week start': 'початок тижня',+ 'swipe gesture': 'свайп жест','Finish workout?': 'Завершити тренування?','Finish and save': 'Завершити й зберегти','Make it a warm-up set': 'Зробити розминковим підходом',diff --git a/frontend/src/locales/zh-TW.js b/frontend/src/locales/zh-TW.jsindex 910ebbc1d..c324397bd 100644--- a/frontend/src/locales/zh-TW.js+++ b/frontend/src/locales/zh-TW.js@@ -1883,6 +1883,7 @@ export default {'Move {0}': '移動 {0}','Build your loop in Plan': '在計畫中建立循環','week start': '每週開始',+ 'swipe gesture': '滑動 手勢','Finish workout?': '結束訓練?','Finish and save': '結束並儲存','Make it a warm-up set': '改為熱身組',diff --git a/frontend/src/locales/zh.js b/frontend/src/locales/zh.jsindex d164dbc66..ad594a660 100644--- a/frontend/src/locales/zh.js+++ b/frontend/src/locales/zh.js@@ -1890,6 +1890,7 @@ export default {'Move {0}': '移动 {0}','Build your loop in Plan': '在计划中创建循环','week start': '每周开始',+ 'swipe gesture': '滑动 手势','Finish workout?': '结束训练?','Finish and save': '结束并保存','Make it a warm-up set': '改为热身组',diff --git a/frontend/src/views/settings-pages.js b/frontend/src/views/settings-pages.jsindex b5d3a2a1e..4dca7cb49 100644--- a/frontend/src/views/settings-pages.js+++ b/frontend/src/views/settings-pages.js@@ -65,6 +65,7 @@ export const SEARCH = [{ page: 'advanced', title: 'Keep timing after target', icon: 'stopwatch', tint: 'var(--orange)', kw: 'timed set overtime hold duration' },{ page: 'advanced', title: 'Weight and reps buttons', icon: 'plusCircle', tint: 'var(--green)', kw: 'steppers plus minus buttons workout controls' },{ page: 'advanced', title: 'Drop and burst shortcuts on every set', icon: 'bolt', tint: 'var(--orange)', kw: 'drop set burst shortcuts workout controls' },+ { page: 'advanced', title: 'Swipe on sets', icon: 'swap', tint: 'var(--indigo)', kw: 'swipe gesture slide delete remove copy duplicate set workout controls', tkw: () => t('swipe gesture') },{ page: 'advanced', title: 'Superset buttons in the exercise header', icon: 'link', tint: 'var(--blue)', kw: 'superset pair workout controls' },{ page: 'advanced', title: 'Move, swap and remove buttons below the exercise', icon: 'swap', tint: 'var(--teal)', kw: 'move swap remove replace workout controls' },// Timer alertsdiff --git a/frontend/src/views/settings-pages.test.jsx b/frontend/src/views/settings-pages.test.jsxindex 5f64f307c..6bd68c65f 100644--- a/frontend/src/views/settings-pages.test.jsx+++ b/frontend/src/views/settings-pages.test.jsx@@ -204,6 +204,8 @@ describe('the search lands on a row', () => {expect(searchSettings('server', web, tr).map(h => h.title)).toContain('Sync now')expect(searchSettings('sync', web, tr).map(h => h.title)).toContain('Sync now')expect(searchSettings('loop', web, tr).map(h => h.title)).toContain('How you train')+ expect(searchSettings('swipe', web, tr)[0].title).toBe('Swipe on sets')+ expect(searchSettings('gesture', web, tr).map(h => h.title)).toEqual(['Swipe on sets'])expect(searchSettings('home screen', web, tr).map(h => h.title)).toEqual(['In Safari: Share → Add to Home Screen'])expect(searchSettings('install', { ...web, androidWeb: true }, tr).map(h => h.title)).toEqual(['In Chrome: ⋮ menu → Add to Home screen'])expect(searchSettings('backup folder', { ...guestWeb, mobile: true, android: true, autoBackup: true }, tr).map(h => h.title)).toEqual(['Backup folder'])@@ -398,6 +400,8 @@ describe('searchSettings', () => {expect(first('Feste Woche')).toBe('How you train')expect(first('Wochenstart')).toBe('Week starts on')expect(first('kompakt')).toBe('Layout')+ expect(first('wischen')).toBe('Swipe on sets')+ expect(first('Geste')).toBe('Swipe on sets')await setLang('ar')expect(searchSettings('تناوب', guestWeb, t).map(h => h.title)).toContain('How you train')} finally { await setLang('en') }