Skip to content

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.

Watch link: the app's language, the weigh-in, the weight step and what the watch shows

Duarte Santosaf614a2f5b25
diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx
index 02bfd307b..16bb947ba 100644
--- a/frontend/src/App.jsx
+++ b/frontend/src/App.jsx
@@ -16,6 +16,7 @@ import { initBackButton } from './lib/back.js'
import { installEdgeSwipeBack, BACK_PREVIEW_EVENT } from './lib/edge-swipe-back.js'
import { startWatchSync, bindWatchAppActions, patchSetIn } from './lib/watch-sync.js'
import { stampWorkout } from './lib/sync-merge.js'
+import { logWeighIn } from './lib/bodyweight.js'
import { startWidgetSync } from './lib/widgets.js'
import { startLiveActivitySync } from './lib/live-activity.js'
import { useWakeLock } from './lib/wakelock.js'
@@ -342,7 +343,9 @@ export default function App() {
// A session started on the watch starts here as the phone's Start does, with the watch's id
// and start time, and no weigh-in question (the lifter is at the watch, not here).
const unbind = bindWatchAppActions({
- start: (ids, opts) => beginWorkout(ids, null, opts),
+ start: (ids, { bw = null, ...opts } = {}) => beginWorkout(ids, bw, opts),
+ // The watch's weigh-in: logged as the phone's check-in logs one (today's replaces today's).
+ weighIn: ({ w, at }) => useStore.getState().update(s => { logWeighIn(s, w, at) }),
patchSet: (where, fields, opts = {}) => useStore.getState().update(s => {
patchSetIn(s, where, fields, stampWorkout, { ...opts, recount: w => { w.vol = workoutVolume(w) } })
}),
diff --git a/frontend/src/lib/bodyweight.js b/frontend/src/lib/bodyweight.js
index 0b6871a01..7e7683b11 100644
--- a/frontend/src/lib/bodyweight.js
+++ b/frontend/src/lib/bodyweight.js
@@ -36,3 +36,19 @@ export function weighInAt(b) {
const t = Number(b?.t)
return t > 0 && isoOf(new Date(t)) === b.d ? t : new Date(b.d + 'T12:00:00').getTime()
}
+
+/**
+ * A weigh-in logged into the profile's list, the way the check-in before a workout does it: on the
+ * day it was made, replacing that day's (a second weigh-in the same day is a correction), sorted.
+ * Used for the Apple Watch's weigh-in (lib/watch-sync.js). `at` is when it was made (ms).
+ */
+export function logWeighIn(s, w, at = Date.now()) {
+ const n = Math.round(Number(w) * 10) / 10
+ if (!(n > 0)) return false
+ if (!Array.isArray(s.bodyweight)) s.bodyweight = []
+ const d = isoOf(new Date(at))
+ const ex = s.bodyweight.find(b => b.d === d)
+ if (ex) { ex.w = n; ex.t = at } else s.bodyweight.push({ d, w: n, t: at })
+ s.bodyweight.sort((a, b) => (a.d < b.d ? -1 : 1))
+ return true
+}
diff --git a/frontend/src/lib/i18n.js b/frontend/src/lib/i18n.js
index fb4c1d2ac..b19c6aaf1 100644
--- a/frontend/src/lib/i18n.js
+++ b/frontend/src/lib/i18n.js
@@ -80,6 +80,9 @@ export async function setLang(l, showEn, enOnly) {
notify()
}
+/** Called after every language change (the Apple Watch link sends the watch its new words). */
+export function onLangChange(fn) { subs.add(fn); return () => subs.delete(fn) }
+
// Re-renders the subscribing component (and its children) whenever the language changes.
export function useLang() {
return useSyncExternalStore(fn => { subs.add(fn); return () => subs.delete(fn) }, getVersion)
diff --git a/frontend/src/lib/watch-settings.js b/frontend/src/lib/watch-settings.js
index 8362f7d07..41d2346df 100644
--- a/frontend/src/lib/watch-settings.js
+++ b/frontend/src/lib/watch-settings.js
@@ -6,13 +6,26 @@
// enabled send workouts to the watch at all (off: the watch shows nothing to do)
// autoShow a workout started on the phone opens the watch app too (HealthKit's startWatchApp)
// restHaptics the wrist taps when a rest is over
-// crown what the Digital Crown turns first on a set: 'reps' or 'weight'
+// crown what the Digital Crown turns first on a set: 'reps' or 'weight' (older watch apps;
+// the watch now edits a value on its own screen, the crown there is that value's)
+// show what a workout screen shows: clip (the animation), hr, last (last time's sets),
+// elapsed (time so far), kcal, next (the next exercise during a rest), and rest:
+// 'ring' or 'plain' (the countdown alone)
// Apple Health on the watch is not a choice of its own: it follows the phone's Apple Health switch
// (Settings → Data, lib/health-sync.js), which the watch gets as `settings.health`. An older build's
// `health` field in the stored prefs is left alone and not read.
export const WATCH_PREFS_KEY = 'gym_watch_v1'
export const WATCH_STATUS_KEY = 'gym_watch_status_v1'
-export const WATCH_DEFAULTS = Object.freeze({ enabled: true, autoShow: true, restHaptics: true, crown: 'reps' })
+export const SHOW_DEFAULTS = Object.freeze({ clip: true, hr: true, last: true, elapsed: false, kcal: false, next: true, rest: 'ring' })
+export const WATCH_DEFAULTS = Object.freeze({ enabled: true, autoShow: true, restHaptics: true, crown: 'reps', show: SHOW_DEFAULTS })
+
+const showOf = v => {
+ const o = v && typeof v === 'object' ? v : {}
+ const out = {}
+ for (const k of ['clip', 'hr', 'last', 'elapsed', 'kcal', 'next']) out[k] = typeof o[k] === 'boolean' ? o[k] : SHOW_DEFAULTS[k]
+ out.rest = o.rest === 'plain' ? 'plain' : 'ring'
+ return out
+}
const listeners = new Set()
export const onWatchPrefs = fn => { listeners.add(fn); return () => listeners.delete(fn) }
@@ -27,11 +40,15 @@ export function readWatchPrefs(storage = globalThis.localStorage) {
autoShow: v.autoShow !== false,
restHaptics: v.restHaptics !== false,
crown: v.crown === 'weight' ? 'weight' : 'reps',
+ show: showOf(v.show),
}
}
export function writeWatchPrefs(patch, storage = globalThis.localStorage) {
- const next = readWatchPrefs({ getItem: () => JSON.stringify({ ...readWatchPrefs(storage), ...patch }) })
+ const cur = readWatchPrefs(storage)
+ // `show` is merged one choice at a time: a patch of one switch keeps the others.
+ const merged = { ...cur, ...patch, ...(patch && patch.show ? { show: { ...cur.show, ...patch.show } } : {}) }
+ const next = readWatchPrefs({ getItem: () => JSON.stringify(merged) })
try { storage?.setItem(WATCH_PREFS_KEY, JSON.stringify(next)) } catch { /* private mode: for this run */ }
emit()
return next
@@ -52,4 +69,4 @@ export function writeWatchStatus(ev, storage = globalThis.localStorage) {
}
/** The choices as the watch reads them (WatchCore Model.swift WatchSettings); `health` is the phone's Apple Health switch. */
-export const settingsForWatch = (p = readWatchPrefs(), health = false) => ({ health: !!health, restHaptics: p.restHaptics, crown: p.crown })
+export const settingsForWatch = (p = readWatchPrefs(), health = false) => ({ health: !!health, restHaptics: p.restHaptics, crown: p.crown, show: { ...p.show } })
diff --git a/frontend/src/lib/watch-settings.test.js b/frontend/src/lib/watch-settings.test.js
index b85be1eef..1c4dd659a 100644
--- a/frontend/src/lib/watch-settings.test.js
+++ b/frontend/src/lib/watch-settings.test.js
@@ -1,7 +1,7 @@
// @vitest-environment happy-dom
// Settings → Apple Watch: this phone's choices for its watch, per device, never in the profile.
import { beforeEach, describe, expect, it, vi } from 'vitest'
-import { readWatchPrefs, writeWatchPrefs, settingsForWatch, readWatchStatus, writeWatchStatus, onWatchPrefs, WATCH_DEFAULTS } from './watch-settings.js'
+import { readWatchPrefs, writeWatchPrefs, settingsForWatch, readWatchStatus, writeWatchStatus, onWatchPrefs, WATCH_DEFAULTS, SHOW_DEFAULTS } from './watch-settings.js'
import { applyEvents, bindWatchAppActions, _resetWatchSync } from './watch-sync.js'
beforeEach(() => { localStorage.clear(); _resetWatchSync() })
@@ -11,7 +11,7 @@ describe('the choices', () => {
expect(readWatchPrefs()).toEqual({ ...WATCH_DEFAULTS })
const seen = vi.fn()
onWatchPrefs(seen)
- expect(writeWatchPrefs({ autoShow: false, crown: 'weight', junk: 1, health: true })).toEqual({ enabled: true, autoShow: false, restHaptics: true, crown: 'weight' })
+ expect(writeWatchPrefs({ autoShow: false, crown: 'weight', junk: 1, health: true })).toEqual({ enabled: true, autoShow: false, restHaptics: true, crown: 'weight', show: { ...SHOW_DEFAULTS } })
expect(readWatchPrefs().crown).toBe('weight')
expect(seen).toHaveBeenCalled()
localStorage.setItem('gym_watch_v1', '{broken')
@@ -20,7 +20,7 @@ describe('the choices', () => {
it('go to the watch as its settings, and live outside the profile', () => {
writeWatchPrefs({ restHaptics: false })
- expect(settingsForWatch()).toEqual({ health: false, restHaptics: false, crown: 'reps' })
+ expect(settingsForWatch()).toEqual({ health: false, restHaptics: false, crown: 'reps', show: { ...SHOW_DEFAULTS } })
// Apple Health on the watch is the phone's Apple Health switch, whatever an older build stored.
localStorage.setItem('gym_watch_v1', JSON.stringify({ health: true }))
expect(settingsForWatch().health).toBe(false)
@@ -38,3 +38,17 @@ describe('what the watch says about itself', () => {
expect(readWatchStatus().health).toBeNull()
})
})
+
+describe('what the watch shows', () => {
+ it('starts clean (animation, heart rate, last time, next exercise, the ring; no clock, no calories)', () => {
+ expect(readWatchPrefs().show).toEqual({ clip: true, hr: true, last: true, elapsed: false, kcal: false, next: true, rest: 'ring' })
+ })
+ it('changes one choice at a time, keeps the rest, and drops what it does not know', () => {
+ writeWatchPrefs({ show: { kcal: true } })
+ writeWatchPrefs({ show: { clip: false, rest: 'plain', bogus: 1 } })
+ expect(readWatchPrefs().show).toEqual({ clip: false, hr: true, last: true, elapsed: false, kcal: true, next: true, rest: 'plain' })
+ expect(settingsForWatch().show).toEqual(readWatchPrefs().show)
+ localStorage.setItem('gym_watch_v1', JSON.stringify({ show: { hr: 'yes', rest: 'spiral' } }))
+ expect(readWatchPrefs().show).toEqual({ ...SHOW_DEFAULTS })
+ })
+})
diff --git a/frontend/src/lib/watch-sync.js b/frontend/src/lib/watch-sync.js
index b713a4333..1ca6ff079 100644
--- a/frontend/src/lib/watch-sync.js
+++ b/frontend/src/lib/watch-sync.js
@@ -18,10 +18,11 @@ import { MOBILE, nativePlatform } from './mobile.js'
import { EXIDX, gifSrc, figureOf, isAssisted } from './exercises.js'
import { packId, packDrawingId } from './anim-quality.js'
import { getState as animPacks } from './anim-packs.js'
-import { exerciseNameFor } from './i18n.js'
+import { exerciseNameFor, getLang, baseLang, onLangChange } from './i18n.js'
import { modeOf, setLabel, lastEntryFor, effectiveRoutineIds, isBw, isPerSide } from './history.js'
import { isWarmupRow, isSideSet, syncSideAggregate } from './workout-model.js'
import { bestSetFor } from './exercise-history.js'
+import { weightIncrement } from './progression.js'
import { sessionHistory } from './backfill.js'
import { buildCombinedEntries, deriveSessionName } from './session-merge.js'
import { todayISO } from './format.js'
@@ -36,6 +37,8 @@ const SEND_DEBOUNCE_MS = 400
const READY_MAX = 8
const num = v => (typeof v === 'number' && Number.isFinite(v) ? v : null)
+// A body weight from the watch that holds up (kg or lb, whatever the profile uses).
+const okBw = v => { const n = num(v); return n != null && n > 0 && n < 700 }
// One side of a per-side set, from the watch: 'L', 'R', or none (the whole set).
const sideOf = v => (v === 'L' || v === 'R' ? v : null)
// What a tick of a hold (`sec`) or of one side carries besides the numbers; nothing for a plain set.
@@ -58,6 +61,8 @@ function bestFor (S, id, mode) {
return bestCache.map.get(key)
}
+const stepOf = (cfg, S) => { try { return num(weightIncrement(cfg, S?.unit === 'lb' ? 'lb' : 'kg')) } catch { return null } }
+
const sideRow = v => ({ w: num(v?.w), r: num(v?.r), done: v?.done === true })
// One set as the watch shows it. A per-side set (a unilateral exercise) carries its two sides,
@@ -97,6 +102,8 @@ function watchEntry (e, H, S) {
...(e.sg ? { group: String(e.sg) } : {}),
...(best ? { best } : {}),
...(mode === 'reps' && isAssisted(e.id) ? { assisted: true } : {}),
+ // the step the weight moves in, as on the phone (this exercise's own, else its plates' default)
+ ...(mode === 'reps' && stepOf(cfg, S) ? { step: stepOf(cfg, S) } : {}),
}
}
@@ -224,7 +231,7 @@ export function applyEvents (events, getState) {
if (!appHandlers) break
// Started at the wrist: the watch app is open already, nothing to open there (startWatchSync).
if (ev.wid) startedOnWatch.add(ev.wid)
- appHandlers.start(Array.isArray(ev.routineIds) ? ev.routineIds : [], { id: ev.wid || null, start: num(ev.at) })
+ appHandlers.start(Array.isArray(ev.routineIds) ? ev.routineIds : [], { id: ev.wid || null, start: num(ev.at), ...(okBw(ev.bw) ? { bw: num(ev.bw) } : {}) })
}
// A workout already running on the phone is kept; one with the watch's id is this one.
} else if (ev.type === 'setDone' && saved) {
@@ -242,6 +249,13 @@ export function applyEvents (events, getState) {
const idx = entryIndexOf(A, ev)
const set = idx >= 0 ? A.entries[idx].sets?.[ev.setIdx] : null
if (set) handlers.setDone(idx, ev.setIdx, { w: num(ev.w), r: num(ev.r), at: num(ev.at), hr: sanitizeHr(ev.hr), ...extraOf(ev) })
+ } else if (ev.type === 'weighIn') {
+ // The weigh-in the watch asks for before a workout it starts: a body weight entry on its
+ // day, as the phone's own check-in makes one (today's replaces today's).
+ if (okBw(ev.w)) {
+ if (!appHandlers?.weighIn) break
+ appHandlers.weighIn({ w: num(ev.w), at: num(ev.at) || Date.now() })
+ }
} else if (ev.type === 'watchStatus') {
// What the watch says about itself, for Settings → Apple Watch. Never queued behind anything.
writeWatchStatus(ev)
@@ -367,6 +381,22 @@ export function fitSnapshot (snap, max = SNAPSHOT_MAX_BYTES) {
return out
}
+/**
+ * What the watch takes from the app beyond its own settings: the app's language (the watch shows
+ * its words in it, whatever the watch itself is set to), and whether a workout starts with the
+ * weigh-in (Settings → During a workout) with the last body weight to start the crown from.
+ */
+export function watchExtras (S) {
+ let lang = 'en'
+ try { lang = baseLang(getLang()) || 'en' } catch { lang = 'en' }
+ const bw = Array.isArray(S?.bodyweight) && S.bodyweight.length ? S.bodyweight[S.bodyweight.length - 1] : null
+ return {
+ lang,
+ weighIn: S?.weighIn !== false,
+ ...(bw && num(bw.w) ? { lastBw: num(bw.w) } : {}),
+ }
+}
+
export async function startWatchSync ({ useStore, useUI }) {
const p = await watchPlugin()
if (!p) return () => {}
@@ -407,7 +437,7 @@ export async function startWatchSync ({ useStore, useUI }) {
const snap = prefs.enabled
? buildSnapshot(S, { timer: useUI.getState().timer, ready: readyFor(S) })
: { v: SNAPSHOT_VERSION, unit: S.unit === 'lb' ? 'lb' : 'kg', active: null, ready: null }
- snap.settings = settingsForWatch(prefs, healthOn)
+ snap.settings = { ...settingsForWatch(prefs, healthOn), ...watchExtras(S) }
const json = JSON.stringify(fitSnapshot(snap))
if (json !== lastSent) {
const r = await p.WatchBridge.sendSnapshot({ json })
@@ -437,6 +467,10 @@ export async function startWatchSync ({ useStore, useUI }) {
const restOf = t => (t ? `${t.endsAt}|${!!t.paused}|${!!t.ready}` : '')
const offUI = useUI.subscribe((s, prev) => { if (s.timer !== prev.timer && restOf(s.timer) !== restOf(prev.timer)) schedule() })
const offPrefs = onWatchPrefs(() => schedule())
+ // The watch speaks the app's language, not its own system's: told again when it changes (the
+ // exercise names in the snapshot change with it too).
+ let offLang = () => {}
+ try { offLang = onLangChange(() => schedule()) } catch { /* a test without i18n */ }
const sub = await p.WatchBridge.addListener('watchEvent', () => { drainWatchEvents() })
// The link itself changed (the session finished activating after launch, a watch was paired, the
// app was installed on it): asked again, and the snapshot sent when there is a watch now.
@@ -445,7 +479,7 @@ export async function startWatchSync ({ useStore, useUI }) {
document.addEventListener('visibilitychange', onVisible)
schedule()
drainWatchEvents()
- return () => { offStore(); offUI(); offPrefs(); offHealth(); sub?.remove?.(); subLink?.remove?.(); document.removeEventListener('visibilitychange', onVisible); clearTimeout(tm) }
+ return () => { offStore(); offUI(); offPrefs(); offHealth(); offLang(); sub?.remove?.(); subLink?.remove?.(); document.removeEventListener('visibilitychange', onVisible); clearTimeout(tm) }
}
// Test seams.
diff --git a/frontend/src/lib/watch-sync.settypes.test.js b/frontend/src/lib/watch-sync.settypes.test.js
index 91368f6dd..d0e0412ad 100644
--- a/frontend/src/lib/watch-sync.settypes.test.js
+++ b/frontend/src/lib/watch-sync.settypes.test.js
@@ -60,6 +60,13 @@ describe('the snapshot carries every kind of set', () => {
expect(bench.assisted).toBeUndefined()
})
it('no best for an exercise never done before', () => { expect(curl.best).toBeUndefined() })
+ it('the weight step each exercise moves in, as on the phone (its own, else the default)', () => {
+ expect(bench.step).toBeGreaterThan(0)
+ expect(plank.step).toBeUndefined()
+ const S2 = S()
+ S2.active.entries[0].target.inc = 1.25
+ expect(buildSnapshot(S2).active.entries[0].step).toBe(1.25)
+ })
})
describe('ticks of every kind', () => {
@@ -125,3 +132,37 @@ describe('a snapshot too big for the application context', () => {
expect(fit.active.entries[0].last).toBeTruthy()
})
})
+
+describe('the weigh-in from the watch', () => {
+ it('goes to the app as a weigh-in, and rides on the start as the session\'s body weight', () => {
+ const weighIn = vi.fn(), start = vi.fn()
+ bindWatchAppActions({ start, patchSet: vi.fn(), weighIn })
+ applyEvents([
+ { id: 'b1', type: 'weighIn', w: 81.4, at: 1000 },
+ { id: 's1', type: 'start', wid: 'watch-1', routineIds: ['r1'], at: 1000, bw: 81.4 },
+ { id: 'b2', type: 'weighIn', w: -3, at: 1000 },
+ ], () => ({ S: { active: null } }))
+ expect(weighIn).toHaveBeenCalledTimes(1)
+ expect(weighIn).toHaveBeenCalledWith({ w: 81.4, at: 1000 })
+ expect(start).toHaveBeenCalledWith(['r1'], { id: 'watch-1', start: 1000, bw: 81.4 })
+ // once each
+ applyEvents([{ id: 'b1', type: 'weighIn', w: 81.4, at: 1000 }], () => ({ S: { active: null } }))
+ expect(weighIn).toHaveBeenCalledTimes(1)
+ })
+
+ it('is logged on its day, replacing that day\'s', async () => {
+ const { logWeighIn } = await import('./bodyweight.js')
+ const at = new Date('2026-10-14T08:00:00').getTime()
+ const s = { bodyweight: [{ d: '2026-10-13', w: 82, t: 1 }, { d: '2026-10-14', w: 81, t: 2 }] }
+ expect(logWeighIn(s, 80.96, at)).toBe(true)
+ expect(s.bodyweight).toEqual([{ d: '2026-10-13', w: 82, t: 1 }, { d: '2026-10-14', w: 81, t: at }])
+ expect(logWeighIn(s, 0, at)).toBe(false)
+ })
+
+ it('the watch is told the app\'s language, whether to ask, and the last weight', async () => {
+ const { watchExtras } = await import('./watch-sync.js')
+ expect(watchExtras({ weighIn: false, bodyweight: [{ d: '2026-10-01', w: 80 }, { d: '2026-10-10', w: 79.5 }] }))
+ .toEqual({ lang: 'en', weighIn: false, lastBw: 79.5 })
+ expect(watchExtras({})).toEqual({ lang: 'en', weighIn: true })
+ })
+})
diff --git a/frontend/src/locales/ar.js b/frontend/src/locales/ar.js
index 8c8bf2913..ff7b066b1 100644
--- a/frontend/src/locales/ar.js
+++ b/frontend/src/locales/ar.js
@@ -2419,7 +2419,6 @@ export default {
'Not allowed': 'غير مسموح',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'فعّل Apple صحتي وستقيس الساعة نبضك في كل مجموعة.',
'Tap the wrist when a rest is over': 'نقرة على المعصم عند انتهاء الراحة',
- 'The Digital Crown turns first': 'التاج الرقمي يغيّر أولًا',
'No Apple Watch paired with this iPhone': 'لا توجد Apple Watch مقترنة بهذا الـ iPhone',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'openGym ليس على Apple Watch بعد. ثبّته من تطبيق Watch.',
'openGym is on your Apple Watch': 'openGym موجود على Apple Watch',
@@ -2445,4 +2444,13 @@ export default {
'Workout running': 'تمرين جارٍ',
'Set {0} of {1}': 'المجموعة {0} من {1}',
'All sets done': 'اكتملت كل المجموعات',
+ 'On the watch': 'على الساعة',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'أشياء أقل وأرقام أكبر. اختر ما يساعدك أثناء المجموعة.',
+ 'Exercise animation': 'رسوم التمرين المتحركة',
+ 'Heart rate': 'النبض',
+ 'Time so far': 'الوقت حتى الآن',
+ 'Calories': 'السعرات',
+ 'Next exercise during the rest': 'التمرين التالي أثناء الراحة',
+ 'Ring': 'حلقة',
+ 'Countdown only': 'العد التنازلي فقط',
}
diff --git a/frontend/src/locales/bn.js b/frontend/src/locales/bn.js
index 0df0886ba..1dfb51066 100644
--- a/frontend/src/locales/bn.js
+++ b/frontend/src/locales/bn.js
@@ -2443,7 +2443,6 @@ export default {
'Not allowed': 'অনুমতি নেই',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Apple Health চালু করুন, ঘড়ি প্রতিটি সেটে আপনার হৃদস্পন্দন মাপবে।',
'Tap the wrist when a rest is over': 'বিশ্রাম শেষে কবজিতে টোকা',
- 'The Digital Crown turns first': 'Digital Crown প্রথমে বদলায়',
'No Apple Watch paired with this iPhone': 'এই iPhone-এর সাথে কোনো Apple Watch যুক্ত নেই',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'openGym এখনও আপনার Apple Watch-এ নেই। Watch অ্যাপ থেকে ইনস্টল করুন।',
'openGym is on your Apple Watch': 'openGym আপনার Apple Watch-এ আছে',
@@ -2469,4 +2468,13 @@ export default {
'Workout running': 'ওয়ার্কআউট চলছে',
'Set {0} of {1}': 'সেট {0} / {1}',
'All sets done': 'সব সেট শেষ',
+ 'On the watch': 'ঘড়িতে',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'কম জিনিস, বড় সংখ্যা। সেটের মাঝে যা কাজে লাগে তা বেছে নিন।',
+ 'Exercise animation': 'ব্যায়ামের অ্যানিমেশন',
+ 'Heart rate': 'হার্ট রেট',
+ 'Time so far': 'এ পর্যন্ত সময়',
+ 'Calories': 'ক্যালোরি',
+ 'Next exercise during the rest': 'বিশ্রামের সময় পরের ব্যায়াম',
+ 'Ring': 'রিং',
+ 'Countdown only': 'শুধু কাউন্টডাউন',
}
diff --git a/frontend/src/locales/de.js b/frontend/src/locales/de.js
index d09bfe5ff..08758b6d2 100644
--- a/frontend/src/locales/de.js
+++ b/frontend/src/locales/de.js
@@ -2384,7 +2384,6 @@ export default {
'Not allowed': 'Nicht erlaubt',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Schalte Apple Health ein, dann misst die Watch deinen Puls bei jedem Satz.',
'Tap the wrist when a rest is over': 'Am Handgelenk tippen, wenn die Pause vorbei ist',
- 'The Digital Crown turns first': 'Die Digital Crown dreht zuerst',
'No Apple Watch paired with this iPhone': 'Keine Apple Watch mit diesem iPhone gekoppelt',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'openGym ist noch nicht auf deiner Apple Watch. Installiere es in der Watch-App.',
'openGym is on your Apple Watch': 'openGym ist auf deiner Apple Watch',
@@ -2410,4 +2409,13 @@ export default {
'Workout running': 'Training läuft',
'Set {0} of {1}': 'Satz {0} von {1}',
'All sets done': 'Alle Sätze erledigt',
+ 'On the watch': 'Auf der Watch',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'Weniger Kram, größere Zahlen. Nimm, was dir mitten im Satz hilft.',
+ 'Exercise animation': 'Übungsanimation',
+ 'Heart rate': 'Puls',
+ 'Time so far': 'Bisherige Zeit',
+ 'Calories': 'Kalorien',
+ 'Next exercise during the rest': 'Nächste Übung in der Pause',
+ 'Ring': 'Ring',
+ 'Countdown only': 'Nur Countdown',
}
diff --git a/frontend/src/locales/es.js b/frontend/src/locales/es.js
index 5195ae291..3b23f401b 100644
--- a/frontend/src/locales/es.js
+++ b/frontend/src/locales/es.js
@@ -2364,7 +2364,6 @@ export default {
'Not allowed': 'No permitido',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Activa Apple Salud y el reloj mide tu pulso en cada serie.',
'Tap the wrist when a rest is over': 'Toque en la muñeca al acabar el descanso',
- 'The Digital Crown turns first': 'La Digital Crown ajusta primero',
'No Apple Watch paired with this iPhone': 'Ningún Apple Watch enlazado con este iPhone',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'openGym aún no está en tu Apple Watch. Instálalo desde la app Watch.',
'openGym is on your Apple Watch': 'openGym está en tu Apple Watch',
@@ -2390,4 +2389,13 @@ export default {
'Workout running': 'Entreno en curso',
'Set {0} of {1}': 'Serie {0} de {1}',
'All sets done': 'Todas las series hechas',
+ 'On the watch': 'En el reloj',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'Menos cosas, números más grandes. Elige lo que te ayuda a mitad de serie.',
+ 'Exercise animation': 'Animación del ejercicio',
+ 'Heart rate': 'Pulso',
+ 'Time so far': 'Tiempo transcurrido',
+ 'Calories': 'Calorías',
+ 'Next exercise during the rest': 'Siguiente ejercicio en el descanso',
+ 'Ring': 'Anillo',
+ 'Countdown only': 'Solo cuenta atrás',
}
diff --git a/frontend/src/locales/fr.js b/frontend/src/locales/fr.js
index 44b7d207b..3f1a1b5b4 100644
--- a/frontend/src/locales/fr.js
+++ b/frontend/src/locales/fr.js
@@ -2364,7 +2364,6 @@ export default {
'Not allowed': 'Non autorisé',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Active Apple Santé et la montre mesure ton pouls à chaque série.',
'Tap the wrist when a rest is over': 'Taper au poignet à la fin du repos',
- 'The Digital Crown turns first': 'La Digital Crown règle d’abord',
'No Apple Watch paired with this iPhone': 'Aucune Apple Watch jumelée à cet iPhone',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'openGym n’est pas encore sur ton Apple Watch. Installe-le dans l’app Watch.',
'openGym is on your Apple Watch': 'openGym est sur ton Apple Watch',
@@ -2390,4 +2389,13 @@ export default {
'Workout running': 'Séance en cours',
'Set {0} of {1}': 'Série {0} sur {1}',
'All sets done': 'Toutes les séries faites',
+ 'On the watch': 'Sur la montre',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'Moins de choses, de plus gros chiffres. Garde ce qui t’aide en pleine série.',
+ 'Exercise animation': 'Animation de l’exercice',
+ 'Heart rate': 'Pouls',
+ 'Time so far': 'Temps écoulé',
+ 'Calories': 'Calories',
+ 'Next exercise during the rest': 'Exercice suivant pendant le repos',
+ 'Ring': 'Anneau',
+ 'Countdown only': 'Compte à rebours seul',
}
diff --git a/frontend/src/locales/hi.js b/frontend/src/locales/hi.js
index 28a1261dc..adceb40ce 100644
--- a/frontend/src/locales/hi.js
+++ b/frontend/src/locales/hi.js
@@ -2364,7 +2364,6 @@ export default {
'Not allowed': 'अनुमति नहीं',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Apple Health चालू करें और वॉच हर सेट में आपकी धड़कन मापेगी।',
'Tap the wrist when a rest is over': 'रेस्ट खत्म होने पर कलाई पर टैप',
- 'The Digital Crown turns first': 'Digital Crown पहले बदलता है',
'No Apple Watch paired with this iPhone': 'इस iPhone से कोई Apple Watch जुड़ी नहीं है',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'openGym अभी आपकी Apple Watch पर नहीं है। Watch ऐप से इंस्टॉल करें।',
'openGym is on your Apple Watch': 'openGym आपकी Apple Watch पर है',
@@ -2390,4 +2389,13 @@ export default {
'Workout running': 'वर्कआउट चल रहा है',
'Set {0} of {1}': 'सेट {0} / {1}',
'All sets done': 'सारे सेट पूरे',
+ 'On the watch': 'वॉच पर',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'कम चीज़ें, बड़े अंक। वही चुनें जो सेट के बीच मदद करे।',
+ 'Exercise animation': 'व्यायाम एनिमेशन',
+ 'Heart rate': 'धड़कन',
+ 'Time so far': 'अब तक का समय',
+ 'Calories': 'कैलोरी',
+ 'Next exercise during the rest': 'आराम में अगला व्यायाम',
+ 'Ring': 'रिंग',
+ 'Countdown only': 'सिर्फ़ उलटी गिनती',
}
diff --git a/frontend/src/locales/hu.js b/frontend/src/locales/hu.js
index 4423d93c0..2ca83a724 100644
--- a/frontend/src/locales/hu.js
+++ b/frontend/src/locales/hu.js
@@ -2367,7 +2367,6 @@ export default {
'Not allowed': 'Nem engedélyezett',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Kapcsold be az Apple Egészséget, és az óra minden sorozatnál méri a pulzusod.',
'Tap the wrist when a rest is over': 'Koppintás a csuklón, ha letelt a pihenő',
- 'The Digital Crown turns first': 'A Digital Crown először ezt állítja',
'No Apple Watch paired with this iPhone': 'Nincs Apple Watch párosítva ezzel az iPhone-nal',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'Az openGym még nincs az Apple Watchodon. Telepítsd a Watch appban.',
'openGym is on your Apple Watch': 'Az openGym rajta van az Apple Watchodon',
@@ -2393,4 +2392,13 @@ export default {
'Workout running': 'Edzés folyamatban',
'Set {0} of {1}': '{0}. sorozat / {1}',
'All sets done': 'Minden sorozat kész',
+ 'On the watch': 'Az órán',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'Kevesebb dolog, nagyobb számok. Válaszd, ami sorozat közben segít.',
+ 'Exercise animation': 'Gyakorlat animációja',
+ 'Heart rate': 'Pulzus',
+ 'Time so far': 'Eltelt idő',
+ 'Calories': 'Kalória',
+ 'Next exercise during the rest': 'Következő gyakorlat a pihenőben',
+ 'Ring': 'Gyűrű',
+ 'Countdown only': 'Csak visszaszámlálás',
}
diff --git a/frontend/src/locales/it.js b/frontend/src/locales/it.js
index a8aeebb57..dd83e35b4 100644
--- a/frontend/src/locales/it.js
+++ b/frontend/src/locales/it.js
@@ -2364,7 +2364,6 @@ export default {
'Not allowed': 'Non consentito',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Attiva Apple Salute e l’orologio misura il battito a ogni serie.',
'Tap the wrist when a rest is over': 'Tocco al polso a fine recupero',
- 'The Digital Crown turns first': 'La Digital Crown regola prima',
'No Apple Watch paired with this iPhone': 'Nessun Apple Watch abbinato a questo iPhone',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'openGym non è ancora sul tuo Apple Watch. Installalo dall’app Watch.',
'openGym is on your Apple Watch': 'openGym è sul tuo Apple Watch',
@@ -2390,4 +2389,13 @@ export default {
'Workout running': 'Allenamento in corso',
'Set {0} of {1}': 'Serie {0} di {1}',
'All sets done': 'Tutte le serie fatte',
+ 'On the watch': 'Sull’orologio',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'Meno cose, numeri più grandi. Tieni ciò che ti aiuta a metà serie.',
+ 'Exercise animation': 'Animazione dell’esercizio',
+ 'Heart rate': 'Battito',
+ 'Time so far': 'Tempo trascorso',
+ 'Calories': 'Calorie',
+ 'Next exercise during the rest': 'Esercizio successivo durante il recupero',
+ 'Ring': 'Anello',
+ 'Countdown only': 'Solo conto alla rovescia',
}
diff --git a/frontend/src/locales/ko.js b/frontend/src/locales/ko.js
index 9ab4efed5..450b707d1 100644
--- a/frontend/src/locales/ko.js
+++ b/frontend/src/locales/ko.js
@@ -2364,7 +2364,6 @@ export default {
'Not allowed': '허용 안 됨',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Apple 건강을 켜면 워치가 세트마다 심박수를 재요.',
'Tap the wrist when a rest is over': '휴식이 끝나면 손목을 톡',
- 'The Digital Crown turns first': 'Digital Crown이 먼저 바꾸는 값',
'No Apple Watch paired with this iPhone': '이 iPhone과 페어링된 Apple Watch가 없어요',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': '아직 Apple Watch에 openGym이 없어요. Watch 앱에서 설치하세요.',
'openGym is on your Apple Watch': 'Apple Watch에 openGym이 있어요',
@@ -2390,4 +2389,13 @@ export default {
'Workout running': '운동 중',
'Set {0} of {1}': '{1}세트 중 {0}세트',
'All sets done': '모든 세트 완료',
+ 'On the watch': '워치에서',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': '덜 보이고, 숫자는 크게. 세트 중에 도움이 되는 것만 고르세요.',
+ 'Exercise animation': '운동 애니메이션',
+ 'Heart rate': '심박수',
+ 'Time so far': '지금까지 시간',
+ 'Calories': '칼로리',
+ 'Next exercise during the rest': '휴식 중 다음 운동',
+ 'Ring': '링',
+ 'Countdown only': '카운트다운만',
}
diff --git a/frontend/src/locales/pl.js b/frontend/src/locales/pl.js
index 0952df3c4..92d893216 100644
--- a/frontend/src/locales/pl.js
+++ b/frontend/src/locales/pl.js
@@ -2364,7 +2364,6 @@ export default {
'Not allowed': 'Brak zgody',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Włącz Apple Zdrowie, a zegarek zmierzy tętno w każdej serii.',
'Tap the wrist when a rest is over': 'Stuknij w nadgarstek po przerwie',
- 'The Digital Crown turns first': 'Digital Crown najpierw zmienia',
'No Apple Watch paired with this iPhone': 'Brak Apple Watch sparowanego z tym iPhone’em',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'openGym nie ma jeszcze na Twoim Apple Watch. Zainstaluj go w aplikacji Watch.',
'openGym is on your Apple Watch': 'openGym jest na Twoim Apple Watch',
@@ -2390,4 +2389,13 @@ export default {
'Workout running': 'Trening trwa',
'Set {0} of {1}': 'Seria {0} z {1}',
'All sets done': 'Wszystkie serie zrobione',
+ 'On the watch': 'Na zegarku',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'Mniej rzeczy, większe liczby. Wybierz, co pomaga w trakcie serii.',
+ 'Exercise animation': 'Animacja ćwiczenia',
+ 'Heart rate': 'Tętno',
+ 'Time so far': 'Czas do teraz',
+ 'Calories': 'Kalorie',
+ 'Next exercise during the rest': 'Następne ćwiczenie w przerwie',
+ 'Ring': 'Pierścień',
+ 'Countdown only': 'Tylko odliczanie',
}
diff --git a/frontend/src/locales/pt-BR.js b/frontend/src/locales/pt-BR.js
index fbe909f49..6ade9e570 100644
--- a/frontend/src/locales/pt-BR.js
+++ b/frontend/src/locales/pt-BR.js
@@ -1497,7 +1497,6 @@ export const PT_BR_OVERRIDES = {
'Not allowed': 'Não permitido',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Ative o Apple Saúde e o relógio mede sua frequência cardíaca em cada série.',
'Tap the wrist when a rest is over': 'Toque no pulso no fim do descanso',
- 'The Digital Crown turns first': 'A Digital Crown ajusta primeiro',
'No Apple Watch paired with this iPhone': 'Nenhum Apple Watch pareado com este iPhone',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'O openGym ainda não está no seu Apple Watch. Instale pelo app Watch.',
'openGym is on your Apple Watch': 'O openGym está no seu Apple Watch',
@@ -1515,6 +1514,15 @@ export const PT_BR_OVERRIDES = {
'Switch it off anytime in Settings': 'Desligue quando quiser nas Configurações',
'You can change it anytime in Settings.': 'Você pode mudar isso quando quiser nas Configurações.',
'Workout running': 'Treino em andamento',
+ 'On the watch': 'No relógio',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'Menos coisas, números maiores. Escolha o que te ajuda no meio da série.',
+ 'Exercise animation': 'Animação do exercício',
+ 'Heart rate': 'Frequência cardíaca',
+ 'Time so far': 'Tempo decorrido',
+ 'Calories': 'Calorias',
+ 'Next exercise during the rest': 'Próximo exercício no descanso',
+ 'Ring': 'Anel',
+ 'Countdown only': 'Só contagem regressiva',
}
export default { ...pt, ...PT_BR_OVERRIDES }
diff --git a/frontend/src/locales/pt.js b/frontend/src/locales/pt.js
index 7fce2071d..a781ac690 100644
--- a/frontend/src/locales/pt.js
+++ b/frontend/src/locales/pt.js
@@ -2364,7 +2364,6 @@ export default {
'Not allowed': 'Não permitido',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Ativa o Apple Saúde e o relógio mede a tua frequência cardíaca em cada série.',
'Tap the wrist when a rest is over': 'Toque no pulso no fim do descanso',
- 'The Digital Crown turns first': 'A Digital Crown ajusta primeiro',
'No Apple Watch paired with this iPhone': 'Nenhum Apple Watch emparelhado com este iPhone',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'O openGym ainda não está no teu Apple Watch. Instala-o na app Watch.',
'openGym is on your Apple Watch': 'O openGym está no teu Apple Watch',
@@ -2390,4 +2389,13 @@ export default {
'Workout running': 'Treino a decorrer',
'Set {0} of {1}': 'Série {0} de {1}',
'All sets done': 'Todas as séries feitas',
+ 'On the watch': 'No relógio',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'Menos coisas, números maiores. Escolhe o que te ajuda a meio da série.',
+ 'Exercise animation': 'Animação do exercício',
+ 'Heart rate': 'Frequência cardíaca',
+ 'Time so far': 'Tempo decorrido',
+ 'Calories': 'Calorias',
+ 'Next exercise during the rest': 'Próximo exercício no descanso',
+ 'Ring': 'Anel',
+ 'Countdown only': 'Só contagem',
}
diff --git a/frontend/src/locales/ru.js b/frontend/src/locales/ru.js
index d0c3020d8..cb5a3c1ac 100644
--- a/frontend/src/locales/ru.js
+++ b/frontend/src/locales/ru.js
@@ -2368,7 +2368,6 @@ export default {
'Not allowed': 'Не разрешено',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Включи Apple Здоровье, и часы будут мерить пульс в каждом подходе.',
'Tap the wrist when a rest is over': 'Касание запястья в конце отдыха',
- 'The Digital Crown turns first': 'Digital Crown сначала меняет',
'No Apple Watch paired with this iPhone': 'К этому iPhone не подключены Apple Watch',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'openGym ещё нет на ваших Apple Watch. Установите его в приложении Watch.',
'openGym is on your Apple Watch': 'openGym установлен на ваших Apple Watch',
@@ -2394,4 +2393,13 @@ export default {
'Workout running': 'Тренировка идёт',
'Set {0} of {1}': 'Подход {0} из {1}',
'All sets done': 'Все подходы сделаны',
+ 'On the watch': 'На часах',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'Меньше лишнего, крупнее цифры. Оставьте то, что помогает посреди подхода.',
+ 'Exercise animation': 'Анимация упражнения',
+ 'Heart rate': 'Пульс',
+ 'Time so far': 'Прошло времени',
+ 'Calories': 'Калории',
+ 'Next exercise during the rest': 'Следующее упражнение во время отдыха',
+ 'Ring': 'Кольцо',
+ 'Countdown only': 'Только отсчёт',
}
diff --git a/frontend/src/locales/th.js b/frontend/src/locales/th.js
index 72b604609..ab7124866 100644
--- a/frontend/src/locales/th.js
+++ b/frontend/src/locales/th.js
@@ -2375,7 +2375,6 @@ export default {
'Not allowed': 'ไม่ได้รับอนุญาต',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'เปิด Apple Health แล้วนาฬิกาจะวัดชีพจรให้ทุกเซต',
'Tap the wrist when a rest is over': 'แตะข้อมือเมื่อหมดเวลาพัก',
- 'The Digital Crown turns first': 'Digital Crown ปรับอะไรก่อน',
'No Apple Watch paired with this iPhone': 'ไม่มี Apple Watch ที่จับคู่กับ iPhone นี้',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'ยังไม่มี openGym บน Apple Watch ติดตั้งได้ในแอป Watch',
'openGym is on your Apple Watch': 'มี openGym บน Apple Watch แล้ว',
@@ -2401,4 +2400,13 @@ export default {
'Workout running': 'กำลังฝึกอยู่',
'Set {0} of {1}': 'เซ็ต {0} จาก {1}',
'All sets done': 'ครบทุกเซ็ตแล้ว',
+ 'On the watch': 'บนนาฬิกา',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'ของน้อยลง ตัวเลขใหญ่ขึ้น เลือกสิ่งที่ช่วยระหว่างเซ็ต',
+ 'Exercise animation': 'ภาพเคลื่อนไหวท่า',
+ 'Heart rate': 'ชีพจร',
+ 'Time so far': 'เวลาที่ผ่านไป',
+ 'Calories': 'แคลอรี',
+ 'Next exercise during the rest': 'ท่าถัดไประหว่างพัก',
+ 'Ring': 'วงแหวน',
+ 'Countdown only': 'นับถอยหลังอย่างเดียว',
}
diff --git a/frontend/src/locales/tr.js b/frontend/src/locales/tr.js
index d4724d8ea..04c8df648 100644
--- a/frontend/src/locales/tr.js
+++ b/frontend/src/locales/tr.js
@@ -2364,7 +2364,6 @@ export default {
'Not allowed': 'İzin yok',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Apple Sağlık’ı aç, saat her sette nabzını ölçsün.',
'Tap the wrist when a rest is over': 'Dinlenme bitince bileğe dokun',
- 'The Digital Crown turns first': 'Digital Crown önce bunu değiştirir',
'No Apple Watch paired with this iPhone': 'Bu iPhone ile eşlenmiş Apple Watch yok',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'openGym henüz Apple Watch’unda değil. Watch uygulamasından yükle.',
'openGym is on your Apple Watch': 'openGym Apple Watch’unda',
@@ -2390,4 +2389,13 @@ export default {
'Workout running': 'Antrenman sürüyor',
'Set {0} of {1}': 'Set {0}/{1}',
'All sets done': 'Tüm setler tamam',
+ 'On the watch': 'Saatte',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'Daha az şey, daha büyük sayılar. Set ortasında işine yarayanı seç.',
+ 'Exercise animation': 'Egzersiz animasyonu',
+ 'Heart rate': 'Nabız',
+ 'Time so far': 'Geçen süre',
+ 'Calories': 'Kalori',
+ 'Next exercise during the rest': 'Dinlenmede sıradaki egzersiz',
+ 'Ring': 'Halka',
+ 'Countdown only': 'Yalnızca geri sayım',
}
diff --git a/frontend/src/locales/uk.js b/frontend/src/locales/uk.js
index 1471442b1..d36ee1e0e 100644
--- a/frontend/src/locales/uk.js
+++ b/frontend/src/locales/uk.js
@@ -2361,7 +2361,6 @@ export default {
'Not allowed': 'Не дозволено',
'Turn on Apple Health and the watch measures your heart rate for every set.': 'Увімкни Apple Здоров’я, і годинник міритиме пульс у кожному підході.',
'Tap the wrist when a rest is over': 'Дотик до зап’ястя в кінці відпочинку',
- 'The Digital Crown turns first': 'Digital Crown спершу змінює',
'No Apple Watch paired with this iPhone': 'До цього iPhone не під’єднано Apple Watch',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': 'openGym ще немає на твоєму Apple Watch. Установи його в програмі Watch.',
'openGym is on your Apple Watch': 'openGym є на твоєму Apple Watch',
@@ -2387,4 +2386,13 @@ export default {
'Workout running': 'Тренування триває',
'Set {0} of {1}': 'Підхід {0} з {1}',
'All sets done': 'Усі підходи зроблено',
+ 'On the watch': 'На годиннику',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': 'Менше зайвого, більші цифри. Залиш те, що допомагає посеред підходу.',
+ 'Exercise animation': 'Анімація вправи',
+ 'Heart rate': 'Пульс',
+ 'Time so far': 'Минуло часу',
+ 'Calories': 'Калорії',
+ 'Next exercise during the rest': 'Наступна вправа під час відпочинку',
+ 'Ring': 'Кільце',
+ 'Countdown only': 'Лише відлік',
}
diff --git a/frontend/src/locales/zh-TW.js b/frontend/src/locales/zh-TW.js
index 35c411b23..fea38bae6 100644
--- a/frontend/src/locales/zh-TW.js
+++ b/frontend/src/locales/zh-TW.js
@@ -2357,7 +2357,6 @@ export default {
'Not allowed': '未允許',
'Turn on Apple Health and the watch measures your heart rate for every set.': '開啟 Apple 健康,手錶會測量每一組的心率。',
'Tap the wrist when a rest is over': '休息結束時輕點手腕',
- 'The Digital Crown turns first': '數位錶冠先調整',
'No Apple Watch paired with this iPhone': '沒有與這台 iPhone 配對的 Apple Watch',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': '你的 Apple Watch 上還沒有 openGym。請在 Watch App 中安裝。',
'openGym is on your Apple Watch': 'openGym 已在你的 Apple Watch 上',
@@ -2383,4 +2382,13 @@ export default {
'Workout running': '訓練進行中',
'Set {0} of {1}': '第 {0} 組,共 {1} 組',
'All sets done': '所有組已完成',
+ 'On the watch': '手錶上',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': '少一點東西,數字更大。選你做組時用得上的。',
+ 'Exercise animation': '動作動畫',
+ 'Heart rate': '心率',
+ 'Time so far': '已用時間',
+ 'Calories': '卡路里',
+ 'Next exercise during the rest': '休息時的下一個動作',
+ 'Ring': '圓環',
+ 'Countdown only': '只有倒數',
}
diff --git a/frontend/src/locales/zh.js b/frontend/src/locales/zh.js
index 948af14e8..f5c209d73 100644
--- a/frontend/src/locales/zh.js
+++ b/frontend/src/locales/zh.js
@@ -2364,7 +2364,6 @@ export default {
'Not allowed': '未允许',
'Turn on Apple Health and the watch measures your heart rate for every set.': '打开 Apple 健康,手表会测量每一组的心率。',
'Tap the wrist when a rest is over': '休息结束时轻敲手腕',
- 'The Digital Crown turns first': '数码表冠先调节',
'No Apple Watch paired with this iPhone': '没有与这台 iPhone 配对的 Apple Watch',
'openGym is not on your Apple Watch yet. Install it in the Watch app.': '你的 Apple Watch 上还没有 openGym。请在 Watch App 中安装。',
'openGym is on your Apple Watch': 'openGym 已在你的 Apple Watch 上',
@@ -2390,4 +2389,13 @@ export default {
'Workout running': '训练进行中',
'Set {0} of {1}': '第 {0} 组,共 {1} 组',
'All sets done': '所有组已完成',
+ 'On the watch': '手表上',
+ 'Fewer things, bigger numbers. Pick what helps you mid-set.': '少一点东西,数字更大。选你做组时用得上的。',
+ 'Exercise animation': '动作动画',
+ 'Heart rate': '心率',
+ 'Time so far': '已用时间',
+ 'Calories': '卡路里',
+ 'Next exercise during the rest': '休息时的下一个动作',
+ 'Ring': '圆环',
+ 'Countdown only': '只有倒计时',
}
diff --git a/frontend/src/views/WatchSettings.jsx b/frontend/src/views/WatchSettings.jsx
index d56e78b60..3b0b7793c 100644
--- a/frontend/src/views/WatchSettings.jsx
+++ b/frontend/src/views/WatchSettings.jsx
@@ -67,13 +67,22 @@ export default function WatchSettingsPage() {
<Section footer={healthLine}>
<Row icon="heart" iconTint="var(--red)" title={t('Apple Health')} value={healthValue} accessory="chevron" onClick={openHealth} />
</Section>
+ {/* What a workout screen shows on the watch: clean by default, the rest one switch away. */}
+ <Section title={t('On the watch')} footer={t('Fewer things, bigger numbers. Pick what helps you mid-set.')}>
+ {[['clip', 'Exercise animation', 'image'], ['hr', 'Heart rate', 'heart'], ['last', 'Last time', 'history'],
+ ['elapsed', 'Time so far', 'clock'], ['kcal', 'Calories', 'flame'], ['next', 'Next exercise during the rest', 'list']].map(([k, title, icon]) => (
+ <Row key={k} icon={icon} iconTint="var(--grey)" title={t(title)}>
+ <Switch checked={!!prefs.show[k]} onChange={v => set({ show: { [k]: v } })} aria-label={t(title)} />
+ </Row>
+ ))}
+ <SelectRow icon="timer" iconTint="var(--orange)" title={t('Rest timer')} value={prefs.show.rest}
+ onChange={v => set({ show: { rest: v } })}
+ options={[{ value: 'ring', label: t('Ring') }, { value: 'plain', label: t('Countdown only') }]} />
+ </Section>
<Section>
<Row icon="vibrate" iconTint="var(--indigo)" title={t('Tap the wrist when a rest is over')}>
<Switch checked={prefs.restHaptics} onChange={v => set({ restHaptics: v })} aria-label={t('Tap the wrist when a rest is over')} />
</Row>
- <SelectRow icon="stopwatch" iconTint="var(--orange)" title={t('The Digital Crown turns first')} value={prefs.crown}
- onChange={v => set({ crown: v })}
- options={[{ value: 'reps', label: t('Reps') }, { value: 'weight', label: t('Weight') }]} />
</Section>
</>}
</>
diff --git a/frontend/src/views/WatchSettings.test.jsx b/frontend/src/views/WatchSettings.test.jsx
index 8dbdac08f..7ca755767 100644
--- a/frontend/src/views/WatchSettings.test.jsx
+++ b/frontend/src/views/WatchSettings.test.jsx
@@ -58,4 +58,18 @@ describe('Settings → Apple Watch', () => {
await act(async () => { sw.click() })
expect(readWatchPrefs().autoShow).toBe(false)
})
+
+ it('lets you pick what the watch shows, one switch at a time, clean to begin with', async () => {
+ const el = await mount()
+ const sw = title => row(el, title).querySelector('[role="switch"]')
+ expect(sw('Exercise animation').getAttribute('aria-checked')).toBe('true')
+ expect(sw('Calories').getAttribute('aria-checked')).toBe('false')
+ expect(sw('Time so far').getAttribute('aria-checked')).toBe('false')
+ await act(async () => { sw('Calories').click() })
+ await act(async () => { sw('Exercise animation').click() })
+ expect(readWatchPrefs().show).toMatchObject({ kcal: true, clip: false, hr: true, rest: 'ring' })
+ expect(row(el, 'Rest timer')).toBeTruthy()
+ expect(row(el, 'The Digital Crown turns first')).toBeUndefined()
+ })
})
+