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.

Merge the history and logging batch: drop sets and supersets in history, an exercise's history from a past workout, copy as text, log a missed day, body-weight history, the best-set reference (#284, #173)

Duarte Santos4fc9988533c8
diff --cc frontend/src/lib/exercise-history.js
index 0e1238763,4042fc41c..2fa3670aa
--- a/frontend/src/lib/exercise-history.js
+++ b/frontend/src/lib/exercise-history.js
@@@ -1,6 -1,7 +1,7 @@@
-import { metricModeForEntry, metricRowsForEntry, bestWeightForEntry, modeOf } from './history.js'
+import { metricEntriesForExercise, bestWeightForEntry, completedRepsOf, modeOf } from './history.js'
import { completedVolumeOf } from './workout-model.js'
import { bestSetOf } from './onerm.js'
+ import { beatsWeight } from './exercises.js'
// One exercise's past, read back for the history sheet (issue #43): a chart series and the
// last few sessions, derived in a single pass over the log so the sheet can memoise the
diff --cc frontend/src/lib/exercise-history.test.js
index 8ea17bb1d,8f01e649e..36b3492f6
--- a/frontend/src/lib/exercise-history.test.js
+++ b/frontend/src/lib/exercise-history.test.js
@@@ -1,8 -1,7 +1,9 @@@
import { describe, it, expect } from 'vitest'
- import { exerciseHistory, HISTORY_SESSIONS } from './exercise-history.js'
+ import { exerciseHistory, HISTORY_SESSIONS, bestSetFor } from './exercise-history.js'
+ import { EXDB } from './exercises-data.js'
-import { estimate1RM } from './onerm.js'
+import { estimate1RM, e1rmSeries } from './onerm.js'
+import { lastEntryFor } from './history.js'
+import { nextPrescription } from './progression.js'
const DAY = 86400000
const T0 = Date.UTC(2026, 0, 5, 10)
@@@ -111,67 -110,42 +112,105 @@@ describe('exerciseHistory', () =>
expect(h.points).toHaveLength(1)
expect(h.sessions.map(s => [s.id, s.value])).toEqual([['b', 20], ['a', null]])
})
+
+ it('aggregates duplicate occurrences into one dated snapshot and keeps only completed work', () => {
+ const first = { id: 'bench', target: { mode: 'reps' }, sets: [warm(120, 5), work(60, 5)] }
+ const later = { id: 'bench', target: { mode: 'reps' }, sets: [work(80, 5), work(200, 5, false)] }
+ const S = { workouts: [{ id: 'combined', d: iso(4), start: T0 + 4 * DAY, entries: [first, later] }] }
+ const before = structuredClone(S)
+ const h = exerciseHistory(S, 'bench')
+ expect(h).toMatchObject({ total: 1, best: 80, prId: 'combined' })
+ expect(h.sessions[0]).toMatchObject({ id: 'combined', d: iso(4), value: 80, volume: 700 })
+ expect(h.sessions[0].sets).toEqual([work(60, 5), work(80, 5)])
+ expect(h.sessions[0].e1rm).toBe(estimate1RM(80, 5))
+ expect(S).toEqual(before)
+ })
+
+ it('uses completed per-side limbs from duplicate occurrences without combining modes', () => {
+ const partialSide = {
+ id: 'bench', target: { mode: 'reps', side: true }, sets: [{ phase: 'work', w: 100, r: 10, done: false,
+ sides: { L: { w: 100, r: 5, done: true }, R: { w: 200, r: 5, done: false } } }],
+ }
+ const timed = { id: 'bench', target: { mode: 'time' }, sets: [{ sec: 60, done: true }] }
+ const S = { workouts: [{ id: 'sides', d: iso(5), start: T0 + 5 * DAY, entries: [timed, partialSide] }] }
+ const h = exerciseHistory(S, 'bench')
+ expect(h).toMatchObject({ total: 1, mode: 'reps', metric: 'weight', best: 100 })
+ expect(h.sessions[0]).toMatchObject({ value: 100, volume: 500, e1rm: estimate1RM(100, 5) })
+ expect(h.sessions[0].sets).toHaveLength(1)
+ expect(h.sessions[0].sets[0]).toBe(partialSide.sets[0])
+ })
+
+ it('aggregates timed and cardio duplicates by their own metric', () => {
+ const hold = { id: 'hold', d: iso(6), start: T0 + 6 * DAY, entries: [
+ { id: 'plank', target: { mode: 'time' }, sets: [{ sec: 30, done: true }] },
+ { id: 'plank', target: { mode: 'time' }, sets: [{ sec: 45, done: true }] },
+ ] }
+ const run = { id: 'run', d: iso(7), start: T0 + 7 * DAY, entries: [
+ { id: 'run', target: { mode: 'cardio' }, sets: [{ min: 20, speed: 9, done: true }] },
+ { id: 'run', target: { mode: 'cardio' }, sets: [{ min: 5, speed: 10, done: true }] },
+ ] }
+ expect(exerciseHistory({ workouts: [hold] }, 'plank').sessions[0]).toMatchObject({ value: 45, volume: null })
+ expect(exerciseHistory({ workouts: [run] }, 'run').sessions[0]).toMatchObject({ value: 25, volume: null })
+ })
+
+ // The history sheet and Stats speak for the exercise, so a combined day that trains it in two
+ // routines is one session with both occurrences. What the next session opens at is per routine
+ // slot (#216): each routine reads its own occurrence of that day, never the other one's or the
+ // two folded together.
+ it('reads both routines\' occurrences of a combined day, while each routine progresses from its own', () => {
+ const heavy = { id: 'bench', rid: 'A', target: { mode: 'reps', sets: 2, reps: 5 }, planned: { sets: 2, reps: 5 }, sets: [work(100, 5), work(100, 5)] }
+ const light = { id: 'bench', rid: 'B', target: { mode: 'reps', sets: 2, reps: 12 }, planned: { sets: 2, reps: 12 }, sets: [work(60, 12), work(60, 12)] }
+ const S = {
+ unit: 'kg', exWeights: {},
+ routines: [{ id: 'A', ex: [{ id: 'bench', sets: 2, reps: 5 }] }, { id: 'B', ex: [{ id: 'bench', sets: 2, reps: 12 }] }],
+ workouts: [{ id: 'ab', d: iso(3), start: T0 + 3 * DAY, routineIds: ['A', 'B'], entries: [heavy, light] }],
+ }
+ const h = exerciseHistory(S, 'bench')
+ expect(h).toMatchObject({ total: 1, best: 100 })
+ expect(h.sessions[0].sets).toEqual([...heavy.sets, ...light.sets])
+ expect(e1rmSeries(S, 'bench')).toHaveLength(1)
+
+ expect(lastEntryFor(S, 'bench', 'A').sets).toEqual(heavy.sets)
+ expect(lastEntryFor(S, 'bench', 'B').sets).toEqual(light.sets)
+ expect(nextPrescription(S, S.routines[0].ex[0], S.routines[0]).weight).toBe(102.5)
+ expect(nextPrescription(S, S.routines[1].ex[0], S.routines[1]).weight).toBe(62.5)
+ })
})
+
+ // #173: the workout card can hold today's rows against your best set instead of last time.
+ describe('bestSetFor', () => {
+ it('is the heaviest work set, the most reps of equally heavy ones, first time reached', () => {
+ const S = { workouts: [
+ session(0, [warm(120, 1), work(100, 5), work(100, 6)]),
+ session(2, [work(100, 6), work(90, 12)]),
+ session(4, [work(95, 8), work(110, 3, false)]),
+ ] }
+ const best = bestSetFor(S, 'bench', 'reps')
+ expect(best).toMatchObject({ d: iso(0), set: { w: 100, r: 6 }, target: { mode: 'reps' } })
+ })
+
+ it('looks across every routine and ignores the order workouts are stored in', () => {
+ const later = { ...session(3, [work(80, 5)]), entries: [{ id: 'bench', rid: 'b', target: { mode: 'reps' }, sets: [work(80, 5)] }] }
+ const earlier = { ...session(1, [work(80, 5)]), entries: [{ id: 'bench', rid: 'a', target: { mode: 'reps' }, sets: [work(80, 5)] }] }
+ expect(bestSetFor({ workouts: [later, earlier] }, 'bench', 'reps').d).toBe(iso(1))
+ })
+
+ it('compares holds by their length and cardio by its minutes, never across modes', () => {
+ const hold = (i, sec, w = 0) => ({ id: 'h' + i, d: iso(i), start: T0 + i * DAY, entries: [{ id: 'plank', target: { mode: 'time' }, sets: [{ sec, w, done: true }] }] })
+ const S = { workouts: [hold(0, 60), hold(1, 90), hold(2, 90, 10), session(3, [work(20, 5)])] }
+ expect(bestSetFor(S, 'plank', 'time')).toMatchObject({ d: iso(2), set: { sec: 90, w: 10 } })
+ // the rep sets of another exercise, and a mode the exercise was never logged in, give nothing
+ expect(bestSetFor(S, 'plank', 'reps')).toBeNull()
+ const run = (i, min, speed) => ({ id: 'r' + i, d: iso(i), start: T0 + i * DAY, entries: [{ id: 'run', target: { mode: 'cardio' }, sets: [{ min, speed, done: true }] }] })
+ expect(bestSetFor({ workouts: [run(0, 30, 9), run(1, 30, 10), run(2, 25, 12)] }, 'run', 'cardio').set).toMatchObject({ min: 30, speed: 10 })
+ })
+
+ it('takes the least help on an assistance machine, and nothing when nothing was logged', () => {
+ const id = EXDB.find(e => e.eq === 'leverage machine' && /assist/i.test(e.n)).id
+ const S = { workouts: [0, 1, 2].map(i => ({ id: 'a' + i, d: iso(i), start: T0 + i * DAY,
+ entries: [{ id, target: { mode: 'reps' }, sets: [work([30, 20, 0][i], 8)] }] })) }
+ expect(bestSetFor(S, id, 'reps').set).toMatchObject({ w: 20, r: 8 })
+ expect(bestSetFor({ workouts: [] }, 'bench', 'reps')).toBeNull()
+ expect(bestSetFor({}, 'bench')).toBeNull()
+ })
+ })
diff --cc frontend/src/lib/finish-workout.js
index 7f479f1d3,efe47780d..8869526b9
--- a/frontend/src/lib/finish-workout.js
+++ b/frontend/src/lib/finish-workout.js
@@@ -1,32 -1,7 +1,32 @@@
// The persisted boundary for a finished session. Keep this pure so compatibility tests can
// exercise the exact shape the UI writes without mounting React or mutating store state.
- import { bestWeightForEntry } from './history.js'
+ import { bestWeightForEntry, cleanupSg } from './history.js'
-import { hasCompletedWork } from './workout-model.js'
+import { hasCompletedWork, isSideSet } from './workout-model.js'
+
+// planSec is live-session bookkeeping: a hold displaced before it finished puts its plan aside so
+// the row still knows what it is asking for (Workout.startTimed). A finished session keeps only
+// what was logged, so the key never reaches S.workouts — an unfinished row goes back to recording
+// its plan, exactly as it did before any of this.
+//
+// weightOrigin is the same kind of bookkeeping (#209): it marks a load typed by hand so a later
+// edit of an earlier set does not cascade over it. Once the session is over there is nothing left
+// to cascade, and every load in history is simply the one logged. Kept, it would ride into the
+// saved workout, the server copy and every backup as a field nothing reads — on the row and on
+// each side of a per-side row, where the side keeps its own.
+//
+// Rows that carry neither are passed through by reference, so an ordinary session is the shape
+// it always was.
+function finishedRow(set) {
+ if (!set) return set
+ const sideMarked = isSideSet(set) && (set.sides.L.weightOrigin != null || set.sides.R.weightOrigin != null)
+ if (set.planSec == null && set.weightOrigin == null && !sideMarked) return set
+ const { planSec, weightOrigin, ...rest } = set
+ if (sideMarked) {
+ const side = ({ weightOrigin: _, ...kept }) => kept
+ rest.sides = { ...rest.sides, L: side(rest.sides.L), R: side(rest.sides.R) }
+ }
+ return planSec == null || rest.done ? rest : { ...rest, sec: planSec }
+}
export function buildCompletedWorkout(active, { end = Date.now(), prs = [], snapshotFor } = {}) {
const entries = (active?.entries || []).map(entry => {
diff --cc frontend/src/lib/history.js
index b0b570873,274740110..19d30bcaa
--- a/frontend/src/lib/history.js
+++ b/frontend/src/lib/history.js
@@@ -1,7 -1,7 +1,7 @@@
// Pure helpers over the state object S (ported 1:1 from the vanilla app).
import { todayISO, isoOf, weekKey, weekStartOf, fmtNum } from './format.js'
import { isCardio, isBodyweightEq, isAssisted, betterWeight } from './exercises.js'
- import { phaseForSet, modeForSet, modeForEntry, isWarmupRow, normalizeMode, completedVolumeOf, hasCompletedWork, nextDropWeight, splitBurstReps, makeSideSet, isSideSet, syncSideAggregate, WEIGHT_ORIGIN_MANUAL } from './workout-model.js'
-import { phaseForSet, modeForSet, modeForEntry, isWarmupRow, normalizeMode, completedVolumeOf, nextDropWeight, splitBurstReps, makeSideSet, isSideSet, syncSideAggregate, dropsOf, clustersOf } from './workout-model.js'
++import { phaseForSet, modeForSet, modeForEntry, isWarmupRow, normalizeMode, completedVolumeOf, hasCompletedWork, nextDropWeight, splitBurstReps, makeSideSet, isSideSet, syncSideAggregate, WEIGHT_ORIGIN_MANUAL, dropsOf, clustersOf } from './workout-model.js'
const objectOf = value => value && typeof value === 'object' && !Array.isArray(value) ? value : {}
// Completed-state-independent work rows whose authoritative mode matches the requested mode.
const workRowsForMode = (entry = {}, mode = 'reps') => {
diff --cc frontend/src/lib/pt-br-locale.test.js
index ad540d872,c8c9e0dd0..7dd25ad3e
--- a/frontend/src/lib/pt-br-locale.test.js
+++ b/frontend/src/lib/pt-br-locale.test.js
@@@ -27,21 -27,11 +27,21 @@@ describe('Brazilian Portuguese locale'
.sort(byCodeUnit)
const fingerprint = createHash('sha256').update(JSON.stringify(inherited)).digest('hex')
- expect(Object.keys(PT_BR_OVERRIDES)).toHaveLength(685)
- expect(inherited).toHaveLength(685)
- // If this fails, review the changed keys and wording before accepting a new hash. From
+ // Every override names a real source string, so the two sets partition pt-PT's keys between
+ // them and the fingerprint below covers everything not overridden. A typo'd override key
+ // would otherwise sit in the file translating nothing.
+ const stray = Object.keys(PT_BR_OVERRIDES).filter(key => !(key in pt))
+ expect(stray, 'override keys that are not pt-PT keys').toEqual([])
+ expect(Object.keys(PT_BR_OVERRIDES).length + inherited.length).toBe(Object.keys(pt).length)
+ // …and each one really reaches the pack, whatever the spread order does.
+ for (const [key, value] of Object.entries(PT_BR_OVERRIDES)) expect(ptBR[key], key).toBe(value)
+
+ // The counts themselves are read off the pack rather than pinned here: a new UI string lands
+ // in pt.js and pt-BR.js together and moves both, and a number in a test that every new string
+ // 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('ffb06c2d6a610235400b9e87d58743bdb052b0fa56f756355976501060dba3ca')
- expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('a94cd1e53a609359677f076b349bdefe9f964086a31a70c32aa40cc4d3e58d3c')
++ expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('49142c74c455e337f0e4a3dc3610a1104a93f6d3246b96360a45799489ed78ff')
})
test('does not leak European Portuguese UI terms', () => {
diff --cc frontend/src/locales/de.js
index ce8455144,c919971a2..2e29ed786
--- a/frontend/src/locales/de.js
+++ b/frontend/src/locales/de.js
@@@ -1335,54 -1320,25 +1335,75 @@@ export default
'Plan: {0}': 'Plan: {0}',
'today {0}': 'heute {0}',
'reps from your last session': 'Wdh. aus deiner letzten Einheit',
+ 'Save as routine?': 'Als Routine speichern?',
+ 'Save as routine': 'Als Routine speichern',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': 'Eine unabhängige Routine aus diesen Trainingszielen erstellen. Dein Trainingsverlauf bleibt erhalten.',
+ 'Pause': 'Pausieren',
+ 'Keep timing after target': 'Nach dem Ziel weiterzählen',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': 'Zeitbasierte Sätze laufen bis zu 15 zusätzliche Minuten weiter. Tippe auf „Fertig“, um die tatsächliche Dauer zu speichern.',
+ 'Edit workout': 'Training bearbeiten',
+ 'Workout updated': 'Training aktualisiert',
+ 'Save workout changes?': 'Änderungen am Training speichern?',
+ 'Save your edits to this workout, or keep the original record.': 'Speichere deine Änderungen an diesem Training oder behalte den ursprünglichen Eintrag.',
+ 'Save changes': 'Änderungen speichern',
+ "Don't save": 'Nicht speichern',
+ 'Keep editing': 'Weiter bearbeiten',
+ 'This workout was deleted on another device. Your edits are still here.': 'Dieses Training wurde auf einem anderen Gerät gelöscht. Deine Änderungen sind noch hier.',
+ 'Close editor': 'Editor schließen',
+ 'Editing a saved workout. Date and duration stay unchanged.': 'Du bearbeitest ein gespeichertes Training. Datum und Dauer bleiben unverändert.',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': 'Zu jedem Drücken ein Ziehen, damit die Schultern im Gleichgewicht bleiben.',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': 'Eine Zwei-Tage-Rotation auf drei Einheiten pro Woche, aufgebaut auf der Ausrüstung, die du angegeben hast. Grundübungen zuerst, zu jedem Drücken ein Ziehen und genug Überschneidung zwischen den Tagen, dass nichts zwei Wochen lang untrainiert bleibt.',
+ 'Based on the training already in this demo profile.': 'Auf Grundlage des Trainings, das schon in diesem Demo-Profil steht.',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': 'Das Körpergewicht stagniert seit vier Wochen, obwohl das Ziel Zunehmen ist. Das ist ein Küchenproblem, kein Trainingsproblem — am Plan liegt es nicht.',
+ 'Demo': 'Demo',
+ 'Demo data reset': 'Demo-Daten zurückgesetzt',
+ 'Direct arm work, since you asked for it.': 'Direkte Armarbeit, weil du dir das gewünscht hast.',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': 'Jeder Top-Satz dieser Übung lag drei Einheiten lang bei RPE 9,5 oder höher, und das Gewicht hat sich nicht bewegt. Die Bewegung für vier Wochen zu tauschen, löst so ein Plateau meist schneller, als sich an derselben festzubeißen.',
+ 'Example data, stored only in this browser — change anything you like.': 'Beispieldaten, nur in diesem Browser gespeichert — ändere, was du willst.',
+ 'Full body A': 'Ganzkörper A',
+ 'Full body B': 'Ganzkörper B',
+ 'Horizontal pressing, the other half of the session.': 'Horizontales Drücken, die andere Hälfte der Einheit.',
+ 'Live demo — everything stays in this browser.': 'Live-Demo — alles bleibt in diesem Browser.',
+ 'No training history yet — starting conservatively.': 'Noch kein Trainingsverlauf — der Einstieg ist vorsichtig.',
+ 'Passkey sign-in, sync across your devices, your own data.': 'Anmeldung per Passkey, Sync zwischen deinen Geräten, deine eigenen Daten.',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': 'Setzt Beispielplan, Trainings und Wiegungen auf den Anfangsstand zurück.',
+ 'Reset': 'Zurücksetzen',
+ 'Reset demo data': 'Demo-Daten zurücksetzen',
+ 'Reset demo data?': 'Demo-Daten zurücksetzen?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': 'Überarbeitet, wie gewünscht. Alles, was du nicht infrage gestellt hast, ist genau wie vorher.',
+ 'Same pattern, higher reps than day A.': 'Gleiches Bewegungsmuster, mehr Wiederholungen als an Tag A.',
+ 'Self-host it in a minute →': 'In einer Minute selbst hosten →',
+ 'Self-host openGym': 'openGym selbst hosten',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': 'Die Einheiten dauern rund fünfzehn Minuten länger als geplant. Diese Zusatzübung verliert am wenigsten, wenn ein Satz wegfällt.',
+ 'Start the demo': 'Demo starten',
+ 'The main lower-body driver — where most of the strength comes from.': 'Der Hauptantrieb für den Unterkörper — hier kommt der Großteil der Kraft her.',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': 'Dieselben Bewegungsmuster, andere Varianten — genug Überschneidung für Fortschritt, genug Abwechslung, damit es frisch bleibt.',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': 'Die zwei großen Muster für Unterkörper und Drücken zuerst, solange du frisch bist.',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': 'Diese Demo läuft komplett in deinem Browser mit Beispieldaten — nichts wird irgendwohin gesendet. Anmeldung per Passkey und Sync zwischen deinen Geräten gibt es mit dem openGym-Server, den du bekommst, indem du ihn selbst hostest.',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': 'Drei Dinge, die sich zu ändern lohnen, und eines, das man wissen sollte. Alles andere funktioniert — Kniebeuge und Zugübungen machen beide planmäßig Fortschritte.',
+ 'Vertical pressing.': 'Vertikales Drücken.',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': 'Du hast diese Einheit drei Wochen in Folge auf Samstag verschoben. Besser, der Plan sagt das, als dass du ihn jedes Mal übergehst.',
+ 'You’re in the demo': 'Du bist in der Demo',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': 'Als Text kopieren',
+ 'Copied': 'Kopiert',
+ 'Could not copy': 'Kopieren nicht möglich',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': 'Dieses Training eintragen',
+ 'Mark all sets done': 'Alle Sätze abhaken',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': 'Alle Wiegungen',
+ '{0} weigh-in': '{0} Wiegung',
+ '{0} weigh-ins': '{0} Wiegungen',
+ 'Weekly average': 'Wochendurchschnitt',
+ 'Week of {0}': 'Woche vom {0}',
+ 'Average {0}': 'Schnitt {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': 'Bester Satz',
+ 'Show last time instead': 'Stattdessen das letzte Mal zeigen',
+ 'Show your best set instead': 'Stattdessen deinen besten Satz zeigen',
+ 'Shown under each exercise': 'Unter jeder Übung angezeigt',
+ 'What you did the last time, in that routine.': 'Was du beim letzten Mal in dieser Routine gemacht hast.',
+ 'Your heaviest set of the exercise, from any workout.': 'Dein schwerster Satz der Übung, aus allen Trainings.',
}
diff --cc frontend/src/locales/es.js
index 129aceb21,4683dbe89..73d7107fd
--- a/frontend/src/locales/es.js
+++ b/frontend/src/locales/es.js
@@@ -1315,54 -1300,25 +1315,75 @@@ export default
'Plan: {0}': 'Plan: {0}',
'today {0}': 'hoy {0}',
'reps from your last session': 'reps de tu última sesión',
+ 'Save as routine?': '¿Guardar como rutina?',
+ 'Save as routine': 'Guardar como rutina',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': 'Crea una rutina independiente a partir de estos objetivos. Tu historial de entrenamientos se conserva.',
+ 'Pause': 'Pausar',
+ 'Keep timing after target': 'Seguir contando después del objetivo',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': 'Las series cronometradas continúan hasta 15 minutos extra. Toca «Listo» para registrar la duración real.',
+ 'Edit workout': 'Editar entrenamiento',
+ 'Workout updated': 'Entrenamiento actualizado',
+ 'Save workout changes?': '¿Guardar los cambios del entrenamiento?',
+ 'Save your edits to this workout, or keep the original record.': 'Guarda los cambios de este entrenamiento o conserva el registro original.',
+ 'Save changes': 'Guardar cambios',
+ "Don't save": 'No guardar',
+ 'Keep editing': 'Seguir editando',
+ 'This workout was deleted on another device. Your edits are still here.': 'Este entrenamiento se eliminó en otro dispositivo. Tus cambios siguen aquí.',
+ 'Close editor': 'Cerrar editor',
+ 'Editing a saved workout. Date and duration stay unchanged.': 'Estás editando un entrenamiento guardado. La fecha y la duración no cambian.',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': 'Un tirón por cada empuje, para que los hombros sigan equilibrados.',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': 'Una rotación de dos días en tres sesiones por semana, construida con el equipamiento que indicaste. Primero los ejercicios compuestos, un tirón por cada empuje y suficiente solapamiento entre los días para que nada pase dos semanas sin entrenarse.',
+ 'Based on the training already in this demo profile.': 'Basado en el entrenamiento que ya hay en este perfil de demo.',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': 'El peso corporal lleva cuatro semanas estancado y el objetivo es ganar. Eso es un problema de cocina, no de entrenamiento — no es el plan lo que lo frena.',
+ 'Demo': 'Demo',
+ 'Demo data reset': 'Datos de la demo restablecidos',
+ 'Direct arm work, since you asked for it.': 'Trabajo directo de brazos, ya que lo pediste.',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': 'Todas las series principales de este ejercicio quedaron en RPE 9,5 o más durante tres sesiones y el peso no se ha movido. Cambiar el movimiento durante cuatro semanas suele romper ese estancamiento antes que insistir en el mismo.',
+ 'Example data, stored only in this browser — change anything you like.': 'Datos de ejemplo, guardados solo en este navegador — cambia lo que quieras.',
+ 'Full body A': 'Cuerpo completo A',
+ 'Full body B': 'Cuerpo completo B',
+ 'Horizontal pressing, the other half of the session.': 'Empuje horizontal, la otra mitad de la sesión.',
+ 'Live demo — everything stays in this browser.': 'Demo en vivo — todo se queda en este navegador.',
+ 'No training history yet — starting conservatively.': 'Aún no hay historial de entrenamiento — empezamos con prudencia.',
+ 'Passkey sign-in, sync across your devices, your own data.': 'Inicio de sesión con passkey, sincronización entre tus dispositivos, tus propios datos.',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': 'Devuelve el plan, los entrenamientos y los pesajes de ejemplo a como estaban al principio.',
+ 'Reset': 'Restablecer',
+ 'Reset demo data': 'Restablecer datos de la demo',
+ 'Reset demo data?': '¿Restablecer los datos de la demo?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': 'Revisado como pediste. Todo lo que no cuestionaste queda exactamente como estaba.',
+ 'Same pattern, higher reps than day A.': 'El mismo patrón, más repeticiones que el día A.',
+ 'Self-host it in a minute →': 'Autoalójalo en un minuto →',
+ 'Self-host openGym': 'Autoalojar openGym',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': 'Las sesiones se están alargando unos quince minutos. Este es el ejercicio accesorio que menos pierde con una serie menos.',
+ 'Start the demo': 'Iniciar la demo',
+ 'The main lower-body driver — where most of the strength comes from.': 'El motor principal del tren inferior — de aquí sale la mayor parte de la fuerza.',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': 'Los mismos patrones, otras variantes — suficiente solapamiento para progresar, suficiente diferencia para mantenerlo fresco.',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': 'Primero los dos grandes patrones de tren inferior y empuje, mientras estás fresco.',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': 'Esta demo funciona por completo en tu navegador con datos de ejemplo — no se envía nada a ningún sitio. El inicio de sesión con passkey y la sincronización entre tus dispositivos llegan con el servidor de openGym, que consigues alojándolo tú mismo.',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': 'Tres cosas que vale la pena cambiar y una que conviene saber. Todo lo demás funciona — la sentadilla y los tirones progresan según lo previsto.',
+ 'Vertical pressing.': 'Empuje vertical.',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': 'Has movido esta sesión al sábado tres semanas seguidas. Mejor que lo diga el plan a que tengas que cambiarlo cada vez.',
+ 'You’re in the demo': 'Estás en la demo',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': 'Copiar como texto',
+ 'Copied': 'Copiado',
+ 'Could not copy': 'No se pudo copiar',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': 'Registrar este entrenamiento',
+ 'Mark all sets done': 'Marcar todas las series como hechas',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': 'Todos los pesajes',
+ '{0} weigh-in': '{0} pesaje',
+ '{0} weigh-ins': '{0} pesajes',
+ 'Weekly average': 'Media semanal',
+ 'Week of {0}': 'Semana del {0}',
+ 'Average {0}': 'Media {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': 'Mejor serie',
+ 'Show last time instead': 'Mostrar la última vez',
+ 'Show your best set instead': 'Mostrar tu mejor serie',
+ 'Shown under each exercise': 'Debajo de cada ejercicio',
+ 'What you did the last time, in that routine.': 'Lo que hiciste la última vez en esa rutina.',
+ 'Your heaviest set of the exercise, from any workout.': 'Tu serie más pesada del ejercicio, de cualquier entrenamiento.',
}
diff --cc frontend/src/locales/fr.js
index 7e8adaaf4,61697c232..33a8af21d
--- a/frontend/src/locales/fr.js
+++ b/frontend/src/locales/fr.js
@@@ -1315,54 -1300,25 +1315,75 @@@ export default
'Plan: {0}': 'Plan : {0}',
'today {0}': 'aujourd’hui {0}',
'reps from your last session': 'reps de ta dernière séance',
+ 'Save as routine?': 'Enregistrer comme routine ?',
+ 'Save as routine': 'Enregistrer comme routine',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': 'Créer une routine indépendante à partir de ces objectifs. Votre historique reste conservé.',
+ 'Pause': 'Mettre en pause',
+ 'Keep timing after target': 'Continuer après l’objectif',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': 'Les séries chronométrées continuent jusqu’à 15 minutes supplémentaires. Touchez « Terminé » pour enregistrer la durée réelle.',
+ 'Edit workout': 'Modifier l’entraînement',
+ 'Workout updated': 'Entraînement mis à jour',
+ 'Save workout changes?': 'Enregistrer les modifications de l’entraînement ?',
+ 'Save your edits to this workout, or keep the original record.': 'Enregistrez vos modifications ou conservez l’enregistrement d’origine.',
+ 'Save changes': 'Enregistrer les modifications',
+ "Don't save": 'Ne pas enregistrer',
+ 'Keep editing': 'Continuer la modification',
+ 'This workout was deleted on another device. Your edits are still here.': 'Cet entraînement a été supprimé sur un autre appareil. Vos modifications sont toujours ici.',
+ 'Close editor': 'Fermer l’éditeur',
+ 'Editing a saved workout. Date and duration stay unchanged.': 'Vous modifiez un entraînement enregistré. La date et la durée restent inchangées.',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': 'Un tirage pour chaque poussée, pour garder les épaules équilibrées.',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': 'Une rotation sur deux jours répartie sur trois séances par semaine, construite autour du matériel que tu as indiqué. Les polyarticulaires d’abord, un tirage pour chaque poussée, et assez de recoupement entre les jours pour que rien ne reste deux semaines sans être travaillé.',
+ 'Based on the training already in this demo profile.': 'D’après l’entraînement déjà présent dans ce profil de démo.',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': 'Le poids de corps stagne depuis quatre semaines alors que l’objectif est de prendre du poids. C’est un problème de cuisine plutôt que d’entraînement — ce n’est pas le plan qui bloque.',
+ 'Demo': 'Démo',
+ 'Demo data reset': 'Données de démo réinitialisées',
+ 'Direct arm work, since you asked for it.': 'Du travail direct des bras, puisque tu l’as demandé.',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': 'Toutes les séries principales de cet exercice ont été à RPE 9,5 ou plus pendant trois séances, et la charge n’a pas bougé. Changer de mouvement pendant quatre semaines débloque généralement ce plateau plus vite que de s’acharner sur le même.',
+ 'Example data, stored only in this browser — change anything you like.': 'Données d’exemple, enregistrées uniquement dans ce navigateur — modifie ce que tu veux.',
+ 'Full body A': 'Corps entier A',
+ 'Full body B': 'Corps entier B',
+ 'Horizontal pressing, the other half of the session.': 'Poussée horizontale, l’autre moitié de la séance.',
+ 'Live demo — everything stays in this browser.': 'Démo en direct — tout reste dans ce navigateur.',
+ 'No training history yet — starting conservatively.': 'Pas encore d’historique d’entraînement — on commence prudemment.',
+ 'Passkey sign-in, sync across your devices, your own data.': 'Connexion par passkey, synchronisation entre tes appareils, tes propres données.',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': 'Remet le plan, les séances et les pesées d’exemple dans leur état de départ.',
+ 'Reset': 'Réinitialiser',
+ 'Reset demo data': 'Réinitialiser les données de démo',
+ 'Reset demo data?': 'Réinitialiser les données de démo ?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': 'Revu comme demandé. Tout ce que tu n’as pas remis en question est exactement comme avant.',
+ 'Same pattern, higher reps than day A.': 'Même mouvement, plus de répétitions que le jour A.',
+ 'Self-host it in a minute →': 'Héberge-le toi-même en une minute →',
+ 'Self-host openGym': 'Héberger openGym soi-même',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': 'Les séances dépassent d’environ quinze minutes. C’est l’exercice accessoire qui a le moins à perdre avec une série de moins.',
+ 'Start the demo': 'Lancer la démo',
+ 'The main lower-body driver — where most of the strength comes from.': 'Le moteur principal du bas du corps — c’est de là que vient l’essentiel de la force.',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': 'Les mêmes mouvements, d’autres variantes — assez de recoupement pour progresser, assez de différence pour rester frais.',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': 'Les deux grands mouvements du bas du corps et de poussée d’abord, tant que tu es frais.',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': 'Cette démo tourne entièrement dans ton navigateur sur des données d’exemple — rien n’est envoyé nulle part. La connexion par passkey et la synchronisation entre tes appareils viennent avec le serveur openGym, que tu obtiens en l’hébergeant toi-même.',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': 'Trois choses à changer, et une à savoir. Tout le reste fonctionne — le squat et les tirages progressent comme prévu.',
+ 'Vertical pressing.': 'Poussée verticale.',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': 'Tu as déplacé cette séance au samedi trois semaines de suite. Mieux vaut que le plan le dise plutôt que tu le contournes à chaque fois.',
+ 'You’re in the demo': 'Tu es dans la démo',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': 'Copier en texte',
+ 'Copied': 'Copié',
+ 'Could not copy': 'Copie impossible',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': 'Enregistrer cette séance',
+ 'Mark all sets done': 'Cocher toutes les séries',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': 'Toutes les pesées',
+ '{0} weigh-in': '{0} pesée',
+ '{0} weigh-ins': '{0} pesées',
+ 'Weekly average': 'Moyenne hebdomadaire',
+ 'Week of {0}': 'Semaine du {0}',
+ 'Average {0}': 'Moyenne {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': 'Meilleure série',
+ 'Show last time instead': 'Afficher plutôt la dernière fois',
+ 'Show your best set instead': 'Afficher plutôt ta meilleure série',
+ 'Shown under each exercise': 'Sous chaque exercice',
+ 'What you did the last time, in that routine.': 'Ce que tu as fait la dernière fois dans cette routine.',
+ 'Your heaviest set of the exercise, from any workout.': 'Ta série la plus lourde de l’exercice, toutes séances confondues.',
}
diff --cc frontend/src/locales/hi.js
index 414ecb4cc,2a023396d..553e16fec
--- a/frontend/src/locales/hi.js
+++ b/frontend/src/locales/hi.js
@@@ -1315,54 -1300,25 +1315,75 @@@ export default
'Plan: {0}': 'प्लान: {0}',
'today {0}': 'आज {0}',
'reps from your last session': 'रेप्स आपके पिछले सेशन से',
+ 'Save as routine?': 'रूटीन के रूप में सहेजें?',
+ 'Save as routine': 'रूटीन के रूप में सहेजें',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': 'इन व्यायाम लक्ष्यों से एक स्वतंत्र रूटीन बनाएँ। आपका वर्कआउट इतिहास सुरक्षित रहेगा।',
+ 'Pause': 'रोकें',
+ 'Keep timing after target': 'लक्ष्य के बाद भी समय जारी रखें',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': 'समयबद्ध सेट 15 अतिरिक्त मिनट तक जारी रहेंगे। वास्तविक अवधि दर्ज करने के लिए “पूरा” दबाएँ।',
+ 'Edit workout': 'वर्कआउट संपादित करें',
+ 'Workout updated': 'वर्कआउट अपडेट हुआ',
+ 'Save workout changes?': 'वर्कआउट के बदलाव सहेजें?',
+ 'Save your edits to this workout, or keep the original record.': 'इस वर्कआउट के बदलाव सहेजें या मूल रिकॉर्ड रखें।',
+ 'Save changes': 'बदलाव सहेजें',
+ "Don't save": 'न सहेजें',
+ 'Keep editing': 'संपादन जारी रखें',
+ 'This workout was deleted on another device. Your edits are still here.': 'यह वर्कआउट दूसरे डिवाइस पर मिटा दिया गया। आपके बदलाव अभी भी यहाँ हैं।',
+ 'Close editor': 'संपादक बंद करें',
+ 'Editing a saved workout. Date and duration stay unchanged.': 'आप सहेजा हुआ वर्कआउट संपादित कर रहे हैं। तारीख और अवधि नहीं बदलेंगी।',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': 'हर पुश के लिए एक पुल, ताकि कंधे संतुलित रहें।',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': 'आपके बताए उपकरणों के आधार पर बना, हफ़्ते में तीन सत्रों में चलने वाला दो-दिन का रोटेशन। पहले कंपाउंड एक्सरसाइज़, हर पुश के लिए एक पुल, और दिनों के बीच इतना ओवरलैप कि कुछ भी दो हफ़्ते तक बिना ट्रेनिंग के न रहे।',
+ 'Based on the training already in this demo profile.': 'इस डेमो प्रोफ़ाइल में पहले से मौजूद ट्रेनिंग के आधार पर।',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': 'लक्ष्य वज़न बढ़ाना है, पर शरीर का वज़न चार हफ़्तों से स्थिर है। यह ट्रेनिंग की नहीं, रसोई की समस्या है — योजना इसे नहीं रोक रही।',
+ 'Demo': 'डेमो',
+ 'Demo data reset': 'डेमो डेटा रीसेट हो गया',
+ 'Direct arm work, since you asked for it.': 'बाँहों के लिए सीधा काम, क्योंकि आपने यही माँगा था।',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': 'इस एक्सरसाइज़ के हर टॉप सेट तीन सत्रों तक RPE 9.5 या उससे ऊपर रहे और वज़न नहीं बढ़ा। चार हफ़्तों के लिए मूवमेंट बदलना आमतौर पर उसी पर ज़ोर लगाते रहने से जल्दी यह ठहराव तोड़ देता है।',
+ 'Example data, stored only in this browser — change anything you like.': 'उदाहरण डेटा, केवल इसी ब्राउज़र में सहेजा गया — जो चाहें बदलें।',
+ 'Full body A': 'फ़ुल बॉडी A',
+ 'Full body B': 'फ़ुल बॉडी B',
+ 'Horizontal pressing, the other half of the session.': 'हॉरिज़ॉन्टल प्रेसिंग, सत्र का दूसरा आधा हिस्सा।',
+ 'Live demo — everything stays in this browser.': 'लाइव डेमो — सब कुछ इसी ब्राउज़र में रहता है।',
+ 'No training history yet — starting conservatively.': 'अभी कोई ट्रेनिंग इतिहास नहीं — सावधानी से शुरुआत।',
+ 'Passkey sign-in, sync across your devices, your own data.': 'पासकी से साइन इन, आपके सभी डिवाइस पर सिंक, आपका अपना डेटा।',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': 'उदाहरण योजना, वर्कआउट और वज़न रिकॉर्ड को शुरुआती स्थिति में लौटा देता है।',
+ 'Reset': 'रीसेट करें',
+ 'Reset demo data': 'डेमो डेटा रीसेट करें',
+ 'Reset demo data?': 'डेमो डेटा रीसेट करें?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': 'आपके कहे अनुसार संशोधित। जिस पर आपने सवाल नहीं उठाया, वह सब बिल्कुल पहले जैसा है।',
+ 'Same pattern, higher reps than day A.': 'वही पैटर्न, दिन A से ज़्यादा रेप्स।',
+ 'Self-host it in a minute →': 'एक मिनट में खुद होस्ट करें →',
+ 'Self-host openGym': 'openGym खुद होस्ट करें',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': 'सत्र लगभग पंद्रह मिनट ज़्यादा चल रहे हैं। यह वह सहायक एक्सरसाइज़ है जिसे एक सेट कम करने से सबसे कम नुकसान होगा।',
+ 'Start the demo': 'डेमो शुरू करें',
+ 'The main lower-body driver — where most of the strength comes from.': 'निचले शरीर का मुख्य मूवमेंट — ज़्यादातर ताकत यहीं से आती है।',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': 'वही पैटर्न, अलग वेरिएशन — प्रगति के लिए पर्याप्त ओवरलैप, ताज़गी के लिए पर्याप्त अंतर।',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': 'पहले निचले शरीर और प्रेसिंग के दो बड़े पैटर्न, जब तक आप ताज़ा हैं।',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': 'यह डेमो पूरी तरह आपके ब्राउज़र में उदाहरण डेटा पर चलता है — कहीं कुछ नहीं भेजा जाता। पासकी से साइन इन और आपके डिवाइस के बीच सिंक openGym सर्वर के साथ आते हैं, जो आपको उसे खुद होस्ट करके मिलता है।',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': 'तीन चीज़ें बदलने लायक हैं, और एक जानने लायक। बाकी सब ठीक चल रहा है — स्क्वाट और पुल दोनों योजना के अनुसार आगे बढ़ रहे हैं।',
+ 'Vertical pressing.': 'वर्टिकल प्रेसिंग।',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': 'आपने लगातार तीन हफ़्ते इस सत्र को शनिवार पर खिसकाया है। हर बार उसे बदलने से बेहतर है कि योजना ही ऐसा कहे।',
+ 'You’re in the demo': 'आप डेमो में हैं',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': 'टेक्स्ट के रूप में कॉपी करें',
+ 'Copied': 'कॉपी हो गया',
+ 'Could not copy': 'कॉपी नहीं हो सका',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': 'यह वर्कआउट दर्ज करें',
+ 'Mark all sets done': 'सभी सेट पूरे मार्क करें',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': 'सभी वज़न मापन',
+ '{0} weigh-in': '{0} वज़न मापन',
+ '{0} weigh-ins': '{0} वज़न मापन',
+ 'Weekly average': 'साप्ताहिक औसत',
+ 'Week of {0}': '{0} वाला सप्ताह',
+ 'Average {0}': 'औसत {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': 'सर्वश्रेष्ठ सेट',
+ 'Show last time instead': 'इसके बजाय पिछली बार दिखाएँ',
+ 'Show your best set instead': 'इसके बजाय अपना सर्वश्रेष्ठ सेट दिखाएँ',
+ 'Shown under each exercise': 'हर व्यायाम के नीचे दिखाया जाता है',
+ 'What you did the last time, in that routine.': 'उस रूटीन में पिछली बार आपने जो किया।',
+ 'Your heaviest set of the exercise, from any workout.': 'किसी भी वर्कआउट से, इस व्यायाम का आपका सबसे भारी सेट।',
}
diff --cc frontend/src/locales/hu.js
index 345232656,5c6f8bd97..e74848ae0
--- a/frontend/src/locales/hu.js
+++ b/frontend/src/locales/hu.js
@@@ -1318,54 -1303,25 +1318,75 @@@ export default
'Plan: {0}': 'Terv: {0}',
'today {0}': 'ma {0}',
'reps from your last session': 'ismétlések az utolsó edzésedből',
+ 'Save as routine?': 'Mentés rutinként?',
+ 'Save as routine': 'Mentés rutinként',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': 'Független rutin létrehozása ezekből a célokból. Az edzéstörténeted megmarad.',
+ 'Pause': 'Szüneteltetés',
+ 'Keep timing after target': 'Időzítés folytatása a cél után',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': 'Az időzített sorozatok legfeljebb 15 extra percig folytatódnak. A tényleges idő rögzítéséhez koppints a Kész gombra.',
+ 'Edit workout': 'Edzés szerkesztése',
+ 'Workout updated': 'Edzés frissítve',
+ 'Save workout changes?': 'Mented az edzés módosításait?',
+ 'Save your edits to this workout, or keep the original record.': 'Mentsd az edzés módosításait, vagy tartsd meg az eredeti bejegyzést.',
+ 'Save changes': 'Módosítások mentése',
+ "Don't save": 'Ne mentse',
+ 'Keep editing': 'Szerkesztés folytatása',
+ 'This workout was deleted on another device. Your edits are still here.': 'Ezt az edzést egy másik eszközön törölték. A módosításaid továbbra is itt vannak.',
+ 'Close editor': 'Szerkesztő bezárása',
+ 'Editing a saved workout. Date and duration stay unchanged.': 'Mentett edzést szerkesztesz. A dátum és az időtartam változatlan marad.',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': 'Minden nyomáshoz egy húzás, hogy a vállak egyensúlyban maradjanak.',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': 'Kétnapos rotáció heti három edzéssel, az általad megadott eszközökre építve. Először az összetett gyakorlatok, minden nyomáshoz egy húzás, és elég átfedés a napok között ahhoz, hogy semmi ne maradjon két hétig edzés nélkül.',
+ 'Based on the training already in this demo profile.': 'A demóprofilban már meglévő edzések alapján.',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': 'A testsúly négy hete nem változik, pedig a cél a hízás. Ez konyhai probléma, nem edzésprobléma — nem a terv fogja vissza.',
+ 'Demo': 'Demó',
+ 'Demo data reset': 'Demóadatok visszaállítva',
+ 'Direct arm work, since you asked for it.': 'Közvetlen karmunka, mert ezt kérted.',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': 'Ennél a gyakorlatnál három edzésen át minden fő sorozat RPE 9,5 vagy afölött volt, és a súly nem mozdult. Ha négy hétre lecseréled a mozdulatot, az általában gyorsabban áttöri az ilyen megtorpanást, mint ha ugyanazt erőlteted tovább.',
+ 'Example data, stored only in this browser — change anything you like.': 'Példaadatok, csak ebben a böngészőben tárolva — változtass rajtuk bármit.',
+ 'Full body A': 'Teljes test A',
+ 'Full body B': 'Teljes test B',
+ 'Horizontal pressing, the other half of the session.': 'Vízszintes nyomás, az edzés másik fele.',
+ 'Live demo — everything stays in this browser.': 'Élő demó — minden ebben a böngészőben marad.',
+ 'No training history yet — starting conservatively.': 'Még nincs edzéselőzmény — óvatosan kezdünk.',
+ 'Passkey sign-in, sync across your devices, your own data.': 'Bejelentkezés jelszókulccsal, szinkronizálás az eszközeid között, a saját adataid.',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': 'Visszaállítja a példatervet, az edzéseket és a méréseket a kiinduló állapotba.',
+ 'Reset': 'Visszaállítás',
+ 'Reset demo data': 'Demóadatok visszaállítása',
+ 'Reset demo data?': 'Visszaállítod a demóadatokat?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': 'Átdolgozva, ahogy kérted. Minden, amit nem kifogásoltál, pontosan úgy maradt, ahogy volt.',
+ 'Same pattern, higher reps than day A.': 'Ugyanaz a mozgásminta, több ismétlés, mint az A napon.',
+ 'Self-host it in a minute →': 'Futtasd a saját szervereden egy perc alatt →',
+ 'Self-host openGym': 'openGym a saját szervereden',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': 'Az edzések nagyjából tizenöt perccel tovább tartanak. Ez az a kiegészítő gyakorlat, amely a legkevesebbet veszít egy sorozattal kevesebbtől.',
+ 'Start the demo': 'Demó indítása',
+ 'The main lower-body driver — where most of the strength comes from.': 'Az alsótest fő hajtóereje — innen jön az erő nagy része.',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': 'Ugyanazok a mozgásminták, más változatok — elég átfedés a fejlődéshez, elég különbség, hogy friss maradjon.',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': 'Először a két nagy mozgásminta, az alsótest és a nyomás, amíg friss vagy.',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': 'Ez a demó teljesen a böngésződben fut, példaadatokon — semmi nem kerül sehova. A jelszókulcsos bejelentkezés és az eszközeid közötti szinkronizálás az openGym-szerverrel jár, amelyet úgy kapsz meg, hogy saját magad üzemelteted.',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': 'Három dolgot érdemes megváltoztatni, egyről pedig érdemes tudni. Minden más működik — a guggolás és a húzások is a terv szerint fejlődnek.',
+ 'Vertical pressing.': 'Függőleges nyomás.',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': 'Három héten át egymás után szombatra tetted át ezt az edzést. Jobb, ha ezt a terv mondja ki, mint hogy mindig felülírd.',
+ 'You’re in the demo': 'A demóban vagy',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': 'Másolás szövegként',
+ 'Copied': 'Kimásolva',
+ 'Could not copy': 'Nem sikerült másolni',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': 'Az edzés rögzítése',
+ 'Mark all sets done': 'Összes sorozat késznek jelölése',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': 'Összes mérés',
+ '{0} weigh-in': '{0} mérés',
+ '{0} weigh-ins': '{0} mérés',
+ 'Weekly average': 'Heti átlag',
+ 'Week of {0}': 'Hét: {0}',
+ 'Average {0}': 'Átlag {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': 'Legjobb sorozat',
+ 'Show last time instead': 'Inkább a legutóbbit mutasd',
+ 'Show your best set instead': 'Inkább a legjobb sorozatodat mutasd',
+ 'Shown under each exercise': 'Minden gyakorlat alatt',
+ 'What you did the last time, in that routine.': 'Amit legutóbb abban a rutinban csináltál.',
+ 'Your heaviest set of the exercise, from any workout.': 'A gyakorlat legnehezebb sorozata, bármelyik edzésedből.',
}
diff --cc frontend/src/locales/it.js
index 948036dc0,4afa2d986..0a8848f91
--- a/frontend/src/locales/it.js
+++ b/frontend/src/locales/it.js
@@@ -1315,54 -1300,25 +1315,75 @@@ export default
'Plan: {0}': 'Piano: {0}',
'today {0}': 'oggi {0}',
'reps from your last session': 'rip. dalla tua ultima sessione',
+ 'Save as routine?': 'Salvare come routine?',
+ 'Save as routine': 'Salva come routine',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': 'Crea una routine indipendente da questi obiettivi. La cronologia degli allenamenti resta invariata.',
+ 'Pause': 'Metti in pausa',
+ 'Keep timing after target': 'Continua a cronometrare dopo l’obiettivo',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': 'Le serie a tempo continuano fino a 15 minuti extra. Tocca Fine per registrare la durata effettiva.',
+ 'Edit workout': 'Modifica allenamento',
+ 'Workout updated': 'Allenamento aggiornato',
+ 'Save workout changes?': 'Salvare le modifiche all’allenamento?',
+ 'Save your edits to this workout, or keep the original record.': 'Salva le modifiche a questo allenamento oppure conserva il record originale.',
+ 'Save changes': 'Salva modifiche',
+ "Don't save": 'Non salvare',
+ 'Keep editing': 'Continua a modificare',
+ 'This workout was deleted on another device. Your edits are still here.': 'Questo allenamento è stato eliminato su un altro dispositivo. Le tue modifiche sono ancora qui.',
+ 'Close editor': 'Chiudi editor',
+ 'Editing a saved workout. Date and duration stay unchanged.': 'Stai modificando un allenamento salvato. Data e durata rimangono invariate.',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': 'Una tirata per ogni spinta, così le spalle restano in equilibrio.',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': 'Una rotazione su due giorni per tre sedute a settimana, costruita sull’attrezzatura che hai indicato. Prima i multiarticolari, una tirata per ogni spinta e abbastanza sovrapposizione tra i giorni perché nulla resti due settimane senza allenamento.',
+ 'Based on the training already in this demo profile.': 'In base agli allenamenti già presenti in questo profilo demo.',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': 'Il peso corporeo è fermo da quattro settimane mentre l’obiettivo è aumentare. È un problema di cucina, non di allenamento — non è il piano a frenarlo.',
+ 'Demo': 'Demo',
+ 'Demo data reset': 'Dati demo ripristinati',
+ 'Direct arm work, since you asked for it.': 'Lavoro diretto sulle braccia, visto che l’hai chiesto.',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': 'Tutte le serie principali di questo esercizio sono state a RPE 9,5 o più per tre sedute e il peso non si è mosso. Cambiare movimento per quattro settimane di solito sblocca lo stallo prima che insistere sullo stesso.',
+ 'Example data, stored only in this browser — change anything you like.': 'Dati di esempio, salvati solo in questo browser — cambia quello che vuoi.',
+ 'Full body A': 'Total body A',
+ 'Full body B': 'Total body B',
+ 'Horizontal pressing, the other half of the session.': 'Spinta orizzontale, l’altra metà della seduta.',
+ 'Live demo — everything stays in this browser.': 'Demo dal vivo — tutto resta in questo browser.',
+ 'No training history yet — starting conservatively.': 'Ancora nessuno storico di allenamento — si parte con prudenza.',
+ 'Passkey sign-in, sync across your devices, your own data.': 'Accesso con passkey, sincronizzazione tra i tuoi dispositivi, i tuoi dati.',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': 'Riporta il piano, gli allenamenti e le pesate di esempio allo stato iniziale.',
+ 'Reset': 'Ripristina',
+ 'Reset demo data': 'Ripristina i dati demo',
+ 'Reset demo data?': 'Ripristinare i dati demo?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': 'Rivisto come hai chiesto. Tutto ciò che non hai messo in discussione è esattamente com’era.',
+ 'Same pattern, higher reps than day A.': 'Stesso schema, più ripetizioni del giorno A.',
+ 'Self-host it in a minute →': 'Ospitalo tu in un minuto →',
+ 'Self-host openGym': 'Ospita openGym in proprio',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': 'Le sedute sforano di circa quindici minuti. Questo è l’esercizio complementare che perde meno con una serie in meno.',
+ 'Start the demo': 'Avvia la demo',
+ 'The main lower-body driver — where most of the strength comes from.': 'Il motore principale della parte bassa — da qui arriva la maggior parte della forza.',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': 'Gli stessi schemi, varianti diverse — abbastanza sovrapposizione per progredire, abbastanza differenza per restare freschi.',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': 'Prima i due grandi schemi per parte bassa e spinta, finché sei fresco.',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': 'Questa demo gira interamente nel tuo browser con dati di esempio — nulla viene inviato da nessuna parte. L’accesso con passkey e la sincronizzazione tra i tuoi dispositivi arrivano con il server openGym, che ottieni ospitandolo tu stesso.',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': 'Tre cose da cambiare e una da sapere. Tutto il resto funziona — lo squat e le tirate progrediscono come previsto.',
+ 'Vertical pressing.': 'Spinta verticale.',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': 'Hai spostato questa seduta al sabato per tre settimane di fila. Meglio che lo dica il piano, piuttosto che tu debba cambiarlo ogni volta.',
+ 'You’re in the demo': 'Sei nella demo',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': 'Copia come testo',
+ 'Copied': 'Copiato',
+ 'Could not copy': 'Impossibile copiare',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': 'Registra questo allenamento',
+ 'Mark all sets done': 'Segna tutte le serie come fatte',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': 'Tutte le pesate',
+ '{0} weigh-in': '{0} pesata',
+ '{0} weigh-ins': '{0} pesate',
+ 'Weekly average': 'Media settimanale',
+ 'Week of {0}': 'Settimana del {0}',
+ 'Average {0}': 'Media {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': 'Serie migliore',
+ 'Show last time instead': 'Mostra invece l’ultima volta',
+ 'Show your best set instead': 'Mostra invece la tua serie migliore',
+ 'Shown under each exercise': 'Sotto ogni esercizio',
+ 'What you did the last time, in that routine.': 'Quello che hai fatto l’ultima volta in quella routine.',
+ 'Your heaviest set of the exercise, from any workout.': 'La tua serie più pesante dell’esercizio, da qualsiasi allenamento.',
}
diff --cc frontend/src/locales/ko.js
index 812abc39f,e373acd90..6f47dee6d
--- a/frontend/src/locales/ko.js
+++ b/frontend/src/locales/ko.js
@@@ -1315,54 -1300,25 +1315,75 @@@ export default
'Plan: {0}': '계획: {0}',
'today {0}': '오늘 {0}',
'reps from your last session': '지난 세션의 횟수',
+ 'Save as routine?': '루틴으로 저장할까요?',
+ 'Save as routine': '루틴으로 저장',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': '이 운동 목표로 독립 루틴을 만듭니다. 운동 기록은 그대로 유지됩니다.',
+ 'Pause': '일시정지',
+ 'Keep timing after target': '목표 시간 후에도 계속 측정',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': '시간 제한 세트는 최대 15분 추가로 계속됩니다. 실제 시간을 기록하려면 완료를 누르세요.',
+ 'Edit workout': '운동 편집',
+ 'Workout updated': '운동이 업데이트됨',
+ 'Save workout changes?': '운동 변경 사항을 저장할까요?',
+ 'Save your edits to this workout, or keep the original record.': '이 운동의 변경 사항을 저장하거나 원래 기록을 유지하세요.',
+ 'Save changes': '변경 사항 저장',
+ "Don't save": '저장하지 않기',
+ 'Keep editing': '계속 편집',
+ 'This workout was deleted on another device. Your edits are still here.': '이 운동은 다른 기기에서 삭제되었습니다. 편집 내용은 여기에 남아 있습니다.',
+ 'Close editor': '편집기 닫기',
+ 'Editing a saved workout. Date and duration stay unchanged.': '저장된 운동을 편집 중입니다. 날짜와 시간은 변경되지 않습니다.',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': '미는 운동마다 당기는 운동을 하나씩 — 어깨 균형을 지키기 위해서예요.',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': '입력한 장비에 맞춰 주 3회 세션에 걸쳐 도는 2일 로테이션이에요. 복합 운동을 먼저, 미는 운동마다 당기는 운동 하나씩, 그리고 어떤 부위도 2주 동안 훈련 없이 지나가지 않도록 날마다 충분히 겹치게 했어요.',
+ 'Based on the training already in this demo profile.': '이 데모 프로필에 이미 있는 훈련을 바탕으로 했어요.',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': '목표는 증량인데 체중이 4주째 제자리예요. 이건 훈련 문제가 아니라 식단 문제예요 — 계획이 발목을 잡고 있는 게 아니에요.',
+ 'Demo': '데모',
+ 'Demo data reset': '데모 데이터를 초기화했어요',
+ 'Direct arm work, since you asked for it.': '요청하신 대로 팔을 직접 단련하는 운동이에요.',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': '이 운동의 메인 세트는 세 번의 세션 동안 모두 RPE 9.5 이상이었고 중량은 그대로예요. 4주 동안 동작을 바꾸면 같은 동작을 억지로 밀어붙이는 것보다 보통 더 빨리 정체기를 벗어나요.',
+ 'Example data, stored only in this browser — change anything you like.': '예시 데이터이며 이 브라우저에만 저장돼요 — 마음대로 바꿔 보세요.',
+ 'Full body A': '전신 A',
+ 'Full body B': '전신 B',
+ 'Horizontal pressing, the other half of the session.': '수평 밀기, 세션의 나머지 절반이에요.',
+ 'Live demo — everything stays in this browser.': '라이브 데모 — 모든 것이 이 브라우저에만 남아요.',
+ 'No training history yet — starting conservatively.': '아직 훈련 기록이 없어요 — 보수적으로 시작해요.',
+ 'Passkey sign-in, sync across your devices, your own data.': '패스키 로그인, 기기 간 동기화, 나만의 데이터.',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': '예시 플랜, 운동, 체중 기록을 처음 상태로 되돌려요.',
+ 'Reset': '초기화',
+ 'Reset demo data': '데모 데이터 초기화',
+ 'Reset demo data?': '데모 데이터를 초기화할까요?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': '요청하신 대로 수정했어요. 문제 삼지 않은 부분은 모두 그대로예요.',
+ 'Same pattern, higher reps than day A.': '같은 패턴, A일보다 반복 횟수를 늘렸어요.',
+ 'Self-host it in a minute →': '1분 만에 직접 호스팅하기 →',
+ 'Self-host openGym': 'openGym 직접 호스팅하기',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': '세션이 예정보다 15분 정도 길어지고 있어요. 이 보조 운동은 한 세트를 줄여도 잃을 게 가장 적어요.',
+ 'Start the demo': '데모 시작',
+ 'The main lower-body driver — where most of the strength comes from.': '하체의 핵심 운동 — 힘의 대부분이 여기서 나와요.',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': '같은 패턴, 다른 변형 — 성장하기에 충분히 겹치고, 지루하지 않을 만큼 달라요.',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': '힘이 있을 때 하체와 미는 운동의 두 큰 패턴을 먼저 해요.',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': '이 데모는 예시 데이터로 브라우저 안에서만 실행돼요 — 어디에도 전송되지 않아요. 패스키 로그인과 기기 간 동기화는 직접 호스팅해서 얻는 openGym 서버와 함께 제공돼요.',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': '바꿀 만한 것 세 가지와 알아 둘 만한 것 한 가지예요. 나머지는 모두 잘 되고 있어요 — 스쿼트와 당기기 모두 계획대로 늘고 있어요.',
+ 'Vertical pressing.': '수직 밀기.',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': '3주 연속으로 이 세션을 토요일로 옮겼어요. 매번 바꾸기보다 계획에 그렇게 적어 두는 편이 나아요.',
+ 'You’re in the demo': '데모 모드예요',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': '텍스트로 복사',
+ 'Copied': '복사됨',
+ 'Could not copy': '복사할 수 없음',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': '이 운동 기록',
+ 'Mark all sets done': '모든 세트 완료로 표시',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': '모든 체중 기록',
+ '{0} weigh-in': '체중 기록 {0}개',
+ '{0} weigh-ins': '체중 기록 {0}개',
+ 'Weekly average': '주간 평균',
+ 'Week of {0}': '{0} 주',
+ 'Average {0}': '평균 {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': '최고 세트',
+ 'Show last time instead': '대신 지난번 보기',
+ 'Show your best set instead': '대신 최고 세트 보기',
+ 'Shown under each exercise': '각 운동 아래에 표시',
+ 'What you did the last time, in that routine.': '그 루틴에서 지난번에 한 내용.',
+ 'Your heaviest set of the exercise, from any workout.': '모든 운동 중 이 운동의 가장 무거운 세트.',
}
diff --cc frontend/src/locales/pl.js
index 640f8bde4,11aa43421..6f809c9c3
--- a/frontend/src/locales/pl.js
+++ b/frontend/src/locales/pl.js
@@@ -1315,54 -1300,25 +1315,75 @@@ export default
'Plan: {0}': 'Plan: {0}',
'today {0}': 'dziś {0}',
'reps from your last session': 'powt. z ostatniej sesji',
+ 'Save as routine?': 'Zapisać jako rutynę?',
+ 'Save as routine': 'Zapisz jako rutynę',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': 'Utwórz niezależną rutynę z tych celów ćwiczeń. Historia treningów pozostanie bez zmian.',
+ 'Pause': 'Wstrzymaj',
+ 'Keep timing after target': 'Kontynuuj pomiar po czasie docelowym',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': 'Serie na czas trwają do 15 dodatkowych minut. Stuknij Gotowe, aby zapisać rzeczywisty czas.',
+ 'Edit workout': 'Edytuj trening',
+ 'Workout updated': 'Trening zaktualizowany',
+ 'Save workout changes?': 'Zapisać zmiany treningu?',
+ 'Save your edits to this workout, or keep the original record.': 'Zapisz zmiany w tym treningu albo zachowaj oryginalny zapis.',
+ 'Save changes': 'Zapisz zmiany',
+ "Don't save": 'Nie zapisuj',
+ 'Keep editing': 'Kontynuuj edycję',
+ 'This workout was deleted on another device. Your edits are still here.': 'Ten trening usunięto na innym urządzeniu. Twoje zmiany nadal są tutaj.',
+ 'Close editor': 'Zamknij edytor',
+ 'Editing a saved workout. Date and duration stay unchanged.': 'Edytujesz zapisany trening. Data i czas trwania pozostaną bez zmian.',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': 'Na każde wyciskanie jedno przyciąganie, żeby barki pozostały w równowadze.',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': 'Dwudniowa rotacja na trzy sesje w tygodniu, zbudowana wokół wskazanego przez ciebie sprzętu. Najpierw ćwiczenia wielostawowe, na każde wyciskanie jedno przyciąganie i na tyle dużo wspólnego między dniami, żeby nic nie zostało bez treningu przez dwa tygodnie.',
+ 'Based on the training already in this demo profile.': 'Na podstawie treningów, które już są w tym profilu demo.',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': 'Masa ciała stoi w miejscu od czterech tygodni, a celem jest przybranie na wadze. To problem kuchni, a nie treningu — to nie plan ją hamuje.',
+ 'Demo': 'Demo',
+ 'Demo data reset': 'Dane demo zresetowane',
+ 'Direct arm work, since you asked for it.': 'Bezpośrednia praca na ramiona, zgodnie z twoją prośbą.',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': 'Każda główna seria w tym ćwiczeniu przez trzy sesje wypadała na RPE 9,5 lub wyżej, a ciężar się nie ruszył. Zmiana ruchu na cztery tygodnie zwykle szybciej przełamuje taki zastój niż mozolenie się z tym samym.',
+ 'Example data, stored only in this browser — change anything you like.': 'Przykładowe dane, zapisane tylko w tej przeglądarce — zmieniaj, co chcesz.',
+ 'Full body A': 'Całe ciało A',
+ 'Full body B': 'Całe ciało B',
+ 'Horizontal pressing, the other half of the session.': 'Wyciskanie poziome, druga połowa sesji.',
+ 'Live demo — everything stays in this browser.': 'Demo na żywo — wszystko zostaje w tej przeglądarce.',
+ 'No training history yet — starting conservatively.': 'Brak historii treningów — zaczynamy ostrożnie.',
+ 'Passkey sign-in, sync across your devices, your own data.': 'Logowanie passkey, synchronizacja między twoimi urządzeniami, twoje własne dane.',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': 'Przywraca przykładowy plan, treningi i ważenia do stanu początkowego.',
+ 'Reset': 'Resetuj',
+ 'Reset demo data': 'Zresetuj dane demo',
+ 'Reset demo data?': 'Zresetować dane demo?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': 'Poprawione zgodnie z prośbą. Wszystko, czego nie kwestionowano, zostało dokładnie tak, jak było.',
+ 'Same pattern, higher reps than day A.': 'Ten sam wzorzec, więcej powtórzeń niż w dniu A.',
+ 'Self-host it in a minute →': 'Postaw go u siebie w minutę →',
+ 'Self-host openGym': 'Postaw openGym u siebie',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': 'Sesje trwają około piętnastu minut za długo. To ćwiczenie akcesoryjne straci najmniej na jednej serii mniej.',
+ 'Start the demo': 'Uruchom demo',
+ 'The main lower-body driver — where most of the strength comes from.': 'Główny motor dolnej części ciała — stąd bierze się większość siły.',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': 'Te same wzorce, inne warianty — wystarczająco wspólnego, by robić postępy, wystarczająco różnic, by nie było monotonnie.',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': 'Najpierw dwa duże wzorce: nogi i wyciskanie, póki masz świeże siły.',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': 'To demo działa w całości w twojej przeglądarce na przykładowych danych — nic nie jest nigdzie wysyłane. Logowanie passkey i synchronizacja między urządzeniami przychodzą z serwerem openGym, który dostajesz, hostując go samodzielnie.',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': 'Trzy rzeczy warte zmiany i jedna warta uwagi. Cała reszta działa — przysiad i przyciągania postępują zgodnie z planem.',
+ 'Vertical pressing.': 'Wyciskanie pionowe.',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': 'Od trzech tygodni z rzędu przenosisz tę sesję na sobotę. Lepiej, żeby plan to uwzględniał, niż ciągle go nadpisywać.',
+ 'You’re in the demo': 'Jesteś w wersji demo',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': 'Kopiuj jako tekst',
+ 'Copied': 'Skopiowano',
+ 'Could not copy': 'Nie udało się skopiować',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': 'Zapisz ten trening',
+ 'Mark all sets done': 'Oznacz wszystkie serie jako zrobione',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': 'Wszystkie ważenia',
+ '{0} weigh-in': '{0} ważenie',
+ '{0} weigh-ins': '{0} ważeń',
+ 'Weekly average': 'Średnia tygodniowa',
+ 'Week of {0}': 'Tydzień od {0}',
+ 'Average {0}': 'Średnio {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': 'Najlepsza seria',
+ 'Show last time instead': 'Pokaż zamiast tego ostatni raz',
+ 'Show your best set instead': 'Pokaż zamiast tego najlepszą serię',
+ 'Shown under each exercise': 'Pod każdym ćwiczeniem',
+ 'What you did the last time, in that routine.': 'Ostatni trening w tym planie treningowym.',
+ 'Your heaviest set of the exercise, from any workout.': 'Najcięższa seria tego ćwiczenia, z dowolnego treningu.',
}
diff --cc frontend/src/locales/pt-BR.js
index 743f8aa56,21d82fc4e..e46ea4681
--- a/frontend/src/locales/pt-BR.js
+++ b/frontend/src/locales/pt-BR.js
@@@ -720,43 -709,16 +720,53 @@@ export const PT_BR_OVERRIDES =
'First time in this routine — starting from its own target.': 'Primeira vez nesta rotina — você começa pela meta dela.',
'No weight logged last time — enter what you lift and progression takes it from there.': 'Nenhum peso registrado na última vez — informe quanto você levanta e a progressão segue a partir daí.',
'reps from your last session': 'reps da sua última sessão',
+ 'Save as routine?': 'Salvar como rotina?',
+ 'Save as routine': 'Salvar como rotina',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': 'Criar uma rotina independente a partir destes objetivos. O histórico de treinos será mantido.',
+ 'Keep timing after target': 'Continuar contando após o objetivo',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': 'As séries cronometradas continuam por até 15 minutos extras. Toque em Concluído para registrar a duração real.',
+ 'Edit workout': 'Editar treino',
+ 'Workout updated': 'Treino atualizado',
+ 'Save workout changes?': 'Salvar alterações do treino?',
+ 'Save your edits to this workout, or keep the original record.': 'Salve as alterações deste treino ou mantenha o registro original.',
+ 'Save changes': 'Salvar alterações',
+ "Don't save": 'Não salvar',
+ 'Keep editing': 'Continuar editando',
+ 'This workout was deleted on another device. Your edits are still here.': 'Este treino foi excluído em outro dispositivo. Suas alterações continuam aqui.',
+ 'Close editor': 'Fechar editor',
+ 'Editing a saved workout. Date and duration stay unchanged.': 'Você está editando um treino salvo. A data e a duração permanecem iguais.',
+ // --- demo build (v1.3.7) ---
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': 'Uma rotação de dois dias em três sessões por semana, montada em torno do equipamento que você informou. Primeiro os exercícios compostos, uma puxada para cada empurrão e sobreposição suficiente entre os dias para que nada fique duas semanas sem ser treinado.',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': 'O peso corporal está estagnado há quatro semanas enquanto o objetivo é ganhar. Isso é um problema de cozinha, não de treino — não é o plano que está segurando.',
+ 'Demo data reset': 'Dados da demo redefinidos',
+ 'Direct arm work, since you asked for it.': 'Trabalho direto de braços, já que você pediu.',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': 'Todas as séries principais deste exercício ficaram em RPE 9,5 ou mais por três sessões e o peso não se mexeu. Trocar o movimento por quatro semanas costuma destravar essa estagnação mais rápido do que insistir no mesmo.',
+ 'Example data, stored only in this browser — change anything you like.': 'Dados de exemplo, salvos somente neste navegador — mude o que quiser.',
+ 'No training history yet — starting conservatively.': 'Ainda não há histórico de treino — começando com cautela.',
+ 'Passkey sign-in, sync across your devices, your own data.': 'Login com chave de acesso, sincronização entre seus dispositivos, seus próprios dados.',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': 'Redefine o plano, os treinos e as pesagens de exemplo como estavam no início.',
+ 'Reset': 'Redefinir',
+ 'Reset demo data': 'Redefinir dados da demo',
+ 'Reset demo data?': 'Redefinir os dados da demo?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': 'Revisado como você pediu. Tudo o que você não questionou está exatamente como estava.',
+ 'Self-host it in a minute →': 'Hospede você mesmo em um minuto →',
+ 'Self-host openGym': 'Hospedar o openGym por conta própria',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': 'As sessões estão passando uns quinze minutos do previsto. Este é o exercício acessório que menos perde com uma série a menos.',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': 'Primeiro os dois grandes padrões de membros inferiores e de empurrar, enquanto você está descansado.',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': 'Esta demo roda inteiramente no seu navegador com dados de exemplo — nada é enviado para lugar nenhum. O login com chave de acesso e a sincronização entre seus dispositivos vêm com o servidor openGym, que você obtém hospedando-o por conta própria.',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': 'Três coisas que vale a pena mudar e uma que vale a pena saber. Todo o resto está funcionando — o agachamento e as puxadas estão progredindo como previsto.',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': 'Você mudou esta sessão para sábado três semanas seguidas. Melhor o plano dizer isso do que você ficar alterando toda vez.',
+ 'You’re in the demo': 'Você está na demo',
+ // a missed day logged afterwards (#284) — pt-PT's "Registar" reads as Portugal; "Marcar todas
+ // as séries como feitas" is shared and inherits
+ 'Log this workout': 'Registrar este treino',
+ // last time or best set under each exercise (#173) — pt-PT's "Por baixo" and tu-forms read as
+ // Portugal; "Melhor série" is shared and inherits
+ 'Show last time instead': 'Mostrar a última vez',
+ 'Show your best set instead': 'Mostrar sua melhor série',
+ 'Shown under each exercise': 'Abaixo de cada exercício',
+ 'What you did the last time, in that routine.': 'O que você fez da última vez nessa rotina.',
+ 'Your heaviest set of the exercise, from any workout.': 'Sua série mais pesada do exercício, de qualquer treino.',
}
export default { ...pt, ...PT_BR_OVERRIDES }
diff --cc frontend/src/locales/pt.js
index 254aa6c14,e8e12a1cc..06f1fbc4f
--- a/frontend/src/locales/pt.js
+++ b/frontend/src/locales/pt.js
@@@ -1315,54 -1300,25 +1315,75 @@@ export default
'Plan: {0}': 'Plano: {0}',
'today {0}': 'hoje {0}',
'reps from your last session': 'reps da tua última sessão',
+ 'Save as routine?': 'Guardar como rotina?',
+ 'Save as routine': 'Guardar como rotina',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': 'Criar uma rotina independente a partir destes objetivos. O teu histórico de treinos é mantido.',
+ 'Pause': 'Pausar',
+ 'Keep timing after target': 'Continuar a contar após o objetivo',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': 'As séries cronometradas continuam até mais 15 minutos. Toca em Concluído para registar a duração real.',
+ 'Edit workout': 'Editar treino',
+ 'Workout updated': 'Treino atualizado',
+ 'Save workout changes?': 'Guardar alterações do treino?',
+ 'Save your edits to this workout, or keep the original record.': 'Guarda as alterações deste treino ou mantém o registo original.',
+ 'Save changes': 'Guardar alterações',
+ "Don't save": 'Não guardar',
+ 'Keep editing': 'Continuar a editar',
+ 'This workout was deleted on another device. Your edits are still here.': 'Este treino foi eliminado noutro dispositivo. As tuas alterações continuam aqui.',
+ 'Close editor': 'Fechar editor',
+ 'Editing a saved workout. Date and duration stay unchanged.': 'Estás a editar um treino guardado. A data e a duração permanecem inalteradas.',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': 'Uma puxada para cada empurrão, para os ombros ficarem equilibrados.',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': 'Uma rotação de dois dias em três sessões por semana, construída à volta do equipamento que indicaste. Primeiro os exercícios compostos, uma puxada para cada empurrão e sobreposição suficiente entre os dias para que nada fique duas semanas sem ser treinado.',
+ 'Based on the training already in this demo profile.': 'Com base no treino que já existe neste perfil de demonstração.',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': 'O peso corporal está parado há quatro semanas e o objetivo é ganhar. Isso é um problema de cozinha e não de treino — não é o plano que o está a travar.',
+ 'Demo': 'Demo',
+ 'Demo data reset': 'Dados da demo repostos',
+ 'Direct arm work, since you asked for it.': 'Trabalho direto de braços, já que o pediste.',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': 'Todas as séries principais deste exercício ficaram em RPE 9,5 ou mais durante três sessões e o peso não mexeu. Trocar o movimento durante quatro semanas costuma desbloquear essa estagnação mais depressa do que insistir no mesmo.',
+ 'Example data, stored only in this browser — change anything you like.': 'Dados de exemplo, guardados apenas neste navegador — muda o que quiseres.',
+ 'Full body A': 'Corpo inteiro A',
+ 'Full body B': 'Corpo inteiro B',
+ 'Horizontal pressing, the other half of the session.': 'Empurrão horizontal, a outra metade da sessão.',
+ 'Live demo — everything stays in this browser.': 'Demo ao vivo — tudo fica neste navegador.',
+ 'No training history yet — starting conservatively.': 'Ainda não há histórico de treino — começamos com prudência.',
+ 'Passkey sign-in, sync across your devices, your own data.': 'Início de sessão com passkey, sincronização entre os teus dispositivos, os teus próprios dados.',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': 'Repõe o plano, os treinos e as pesagens de exemplo como estavam no início.',
+ 'Reset': 'Repor',
+ 'Reset demo data': 'Repor dados da demo',
+ 'Reset demo data?': 'Repor os dados da demo?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': 'Revisto como pediste. Tudo o que não puseste em causa está exatamente como estava.',
+ 'Same pattern, higher reps than day A.': 'O mesmo padrão, mais repetições do que no dia A.',
+ 'Self-host it in a minute →': 'Aloja-o tu mesmo num minuto →',
+ 'Self-host openGym': 'Alojar o openGym por conta própria',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': 'As sessões estão a durar cerca de quinze minutos a mais. Este é o exercício acessório que menos perde com uma série a menos.',
+ 'Start the demo': 'Iniciar a demo',
+ 'The main lower-body driver — where most of the strength comes from.': 'O motor principal da parte inferior do corpo — é daqui que vem a maior parte da força.',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': 'Os mesmos padrões, variações diferentes — sobreposição suficiente para progredir, diferença suficiente para se manter fresco.',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': 'Primeiro os dois grandes padrões de membros inferiores e de empurrar, enquanto estás fresco.',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': 'Esta demo corre inteiramente no teu navegador com dados de exemplo — nada é enviado para lado nenhum. O início de sessão com passkey e a sincronização entre os teus dispositivos vêm com o servidor openGym, que obténs alojando-o tu mesmo.',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': 'Três coisas que vale a pena mudar e uma que vale a pena saber. Tudo o resto está a funcionar — o agachamento e as puxadas estão ambos a progredir como previsto.',
+ 'Vertical pressing.': 'Empurrão vertical.',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': 'Mudaste esta sessão para sábado três semanas seguidas. Mais vale o plano dizê-lo do que estares sempre a alterá-lo.',
+ 'You’re in the demo': 'Estás na demo',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': 'Copiar como texto',
+ 'Copied': 'Copiado',
+ 'Could not copy': 'Não foi possível copiar',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': 'Registar este treino',
+ 'Mark all sets done': 'Marcar todas as séries como feitas',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': 'Todas as pesagens',
+ '{0} weigh-in': '{0} pesagem',
+ '{0} weigh-ins': '{0} pesagens',
+ 'Weekly average': 'Média semanal',
+ 'Week of {0}': 'Semana de {0}',
+ 'Average {0}': 'Média {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': 'Melhor série',
+ 'Show last time instead': 'Mostrar antes a última vez',
+ 'Show your best set instead': 'Mostrar antes a tua melhor série',
+ 'Shown under each exercise': 'Por baixo de cada exercício',
+ 'What you did the last time, in that routine.': 'O que fizeste da última vez nessa rotina.',
+ 'Your heaviest set of the exercise, from any workout.': 'A tua série mais pesada do exercício, de qualquer treino.',
}
diff --cc frontend/src/locales/ru.js
index 0e92641e6,d3db42499..a378fde9c
--- a/frontend/src/locales/ru.js
+++ b/frontend/src/locales/ru.js
@@@ -1315,54 -1300,25 +1315,75 @@@ export default
'Plan: {0}': 'План: {0}',
'today {0}': 'сегодня {0}',
'reps from your last session': 'повт. с прошлой тренировки',
+ 'Save as routine?': 'Сохранить как тренировку?',
+ 'Save as routine': 'Сохранить как тренировку',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': 'Создать отдельную тренировку из этих целей. История тренировок сохранится.',
+ 'Pause': 'Пауза',
+ 'Keep timing after target': 'Продолжать отсчёт после цели',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': 'Подходы на время продолжаются ещё до 15 минут. Нажмите «Готово», чтобы записать фактическую длительность.',
+ 'Edit workout': 'Редактировать тренировку',
+ 'Workout updated': 'Тренировка обновлена',
+ 'Save workout changes?': 'Сохранить изменения тренировки?',
+ 'Save your edits to this workout, or keep the original record.': 'Сохраните изменения этой тренировки или оставьте исходную запись.',
+ 'Save changes': 'Сохранить изменения',
+ "Don't save": 'Не сохранять',
+ 'Keep editing': 'Продолжить редактирование',
+ 'This workout was deleted on another device. Your edits are still here.': 'Эта тренировка удалена на другом устройстве. Ваши изменения всё ещё здесь.',
+ 'Close editor': 'Закрыть редактор',
+ 'Editing a saved workout. Date and duration stay unchanged.': 'Вы редактируете сохранённую тренировку. Дата и длительность не изменятся.',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': 'На каждый жим — своя тяга, чтобы плечи оставались сбалансированными.',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': 'Двухдневная ротация на три тренировки в неделю, собранная под указанное вами оборудование. Сначала базовые движения, на каждый жим — своя тяга, и между днями достаточно пересечений, чтобы ничто не оставалось без нагрузки дольше двух недель.',
+ 'Based on the training already in this demo profile.': 'По тренировкам, которые уже есть в этом демо-профиле.',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': 'Вес тела стоит на месте четыре недели, а цель — набрать. Это вопрос кухни, а не тренировок — план здесь ни при чём.',
+ 'Demo': 'Демо',
+ 'Demo data reset': 'Демо-данные сброшены',
+ 'Direct arm work, since you asked for it.': 'Прямая работа на руки — вы просили.',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': 'Все основные подходы здесь три тренировки подряд шли на RPE 9,5 и выше, а вес не сдвинулся. Замена движения на четыре недели обычно выводит из застоя быстрее, чем упорство в том же.',
+ 'Example data, stored only in this browser — change anything you like.': 'Примерные данные, хранятся только в этом браузере — меняйте что угодно.',
+ 'Full body A': 'Всё тело A',
+ 'Full body B': 'Всё тело B',
+ 'Horizontal pressing, the other half of the session.': 'Горизонтальный жим — вторая половина тренировки.',
+ 'Live demo — everything stays in this browser.': 'Живое демо — всё остаётся в этом браузере.',
+ 'No training history yet — starting conservatively.': 'Истории тренировок пока нет — начинаем осторожно.',
+ 'Passkey sign-in, sync across your devices, your own data.': 'Вход по passkey, синхронизация между устройствами, ваши собственные данные.',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': 'Вернёт примерный план, тренировки и взвешивания в исходное состояние.',
+ 'Reset': 'Сбросить',
+ 'Reset demo data': 'Сбросить демо-данные',
+ 'Reset demo data?': 'Сбросить демо-данные?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': 'Пересмотрено по вашей просьбе. Всё, к чему у вас не было вопросов, осталось как было.',
+ 'Same pattern, higher reps than day A.': 'То же движение, но повторов больше, чем в дне A.',
+ 'Self-host it in a minute →': 'Разверните у себя за минуту →',
+ 'Self-host openGym': 'Развернуть openGym у себя',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': 'Тренировки затягиваются примерно на пятнадцать минут. Это то подсобное упражнение, которое меньше всего потеряет от одного подхода меньше.',
+ 'Start the demo': 'Запустить демо',
+ 'The main lower-body driver — where most of the strength comes from.': 'Главное движение для низа тела — основной источник силы.',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': 'Те же движения в других вариациях — пересечений хватает для прогресса, различий — чтобы не приедалось.',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': 'Сначала два больших движения — на низ тела и жим, пока вы свежи.',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': 'Это демо работает полностью в вашем браузере на примерных данных — никуда ничего не отправляется. Вход по passkey и синхронизация между устройствами появляются вместе с сервером openGym, когда вы разворачиваете его у себя.',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': 'Три вещи стоит поменять, об одной — просто знать. Всё остальное работает: и присед, и тяги прогрессируют по графику.',
+ 'Vertical pressing.': 'Вертикальный жим.',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': 'Вы три недели подряд переносите эту тренировку на субботу. Пусть лучше так и будет записано в плане, чем вы каждый раз его переопределяете.',
+ 'You’re in the demo': 'Вы в демо-режиме',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': 'Скопировать как текст',
+ 'Copied': 'Скопировано',
+ 'Could not copy': 'Не удалось скопировать',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': 'Записать эту тренировку',
+ 'Mark all sets done': 'Отметить все подходы выполненными',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': 'Все взвешивания',
+ '{0} weigh-in': 'Взвешиваний: {0}',
+ '{0} weigh-ins': 'Взвешиваний: {0}',
+ 'Weekly average': 'Среднее за неделю',
+ 'Week of {0}': 'Неделя с {0}',
+ 'Average {0}': 'В среднем {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': 'Лучший подход',
+ 'Show last time instead': 'Показать прошлый раз',
+ 'Show your best set instead': 'Показать ваш лучший подход',
+ 'Shown under each exercise': 'Под каждым упражнением',
+ 'What you did the last time, in that routine.': 'Что вы сделали в прошлый раз в этой программе.',
+ 'Your heaviest set of the exercise, from any workout.': 'Ваш самый тяжёлый подход в этом упражнении, из любой тренировки.',
}
diff --cc frontend/src/locales/th.js
index d416ddf2a,15c12dac1..13420f947
--- a/frontend/src/locales/th.js
+++ b/frontend/src/locales/th.js
@@@ -1326,54 -1311,25 +1326,75 @@@ export default
'Plan: {0}': 'แผน: {0}',
'today {0}': 'วันนี้ {0}',
'reps from your last session': 'จำนวนครั้งจากเซสชันล่าสุด',
+ 'Save as routine?': 'บันทึกเป็นรูทีนไหม',
+ 'Save as routine': 'บันทึกเป็นรูทีน',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': 'สร้างรูทีนอิสระจากเป้าหมายเหล่านี้ ประวัติการออกกำลังกายของคุณจะยังคงอยู่',
+ 'Pause': 'หยุดชั่วคราว',
+ 'Keep timing after target': 'จับเวลาต่อหลังถึงเป้าหมาย',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': 'เซ็ตแบบจับเวลาจะทำต่อได้อีกสูงสุด 15 นาที แตะ “เสร็จแล้ว” เพื่อบันทึกระยะเวลาจริง',
+ 'Edit workout': 'แก้ไขการออกกำลังกาย',
+ 'Workout updated': 'อัปเดตการออกกำลังกายแล้ว',
+ 'Save workout changes?': 'บันทึกการเปลี่ยนแปลงการออกกำลังกายไหม',
+ 'Save your edits to this workout, or keep the original record.': 'บันทึกการแก้ไขการออกกำลังกายนี้ หรือเก็บบันทึกเดิมไว้',
+ 'Save changes': 'บันทึกการเปลี่ยนแปลง',
+ "Don't save": 'ไม่บันทึก',
+ 'Keep editing': 'แก้ไขต่อ',
+ 'This workout was deleted on another device. Your edits are still here.': 'การออกกำลังกายนี้ถูกลบในอุปกรณ์อื่น การแก้ไขของคุณยังอยู่ที่นี่',
+ 'Close editor': 'ปิดตัวแก้ไข',
+ 'Editing a saved workout. Date and duration stay unchanged.': 'กำลังแก้ไขการออกกำลังกายที่บันทึกไว้ วันที่และระยะเวลาจะไม่เปลี่ยน',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': 'ท่าดึงหนึ่งท่าต่อท่าดันทุกท่า เพื่อให้หัวไหล่สมดุล',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': 'การสลับสองวันใน 3 เซสชันต่อสัปดาห์ ออกแบบตามอุปกรณ์ที่คุณระบุ ท่าคอมปาวด์ก่อน ท่าดึงหนึ่งท่าต่อท่าดันทุกท่า และให้แต่ละวันทับซ้อนกันพอที่จะไม่มีส่วนไหนถูกเว้นการฝึกนานสองสัปดาห์',
+ 'Based on the training already in this demo profile.': 'อิงจากการฝึกที่มีอยู่แล้วในโปรไฟล์เดโมนี้',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': 'น้ำหนักตัวไม่เปลี่ยนมาสี่สัปดาห์แล้ว ทั้งที่เป้าหมายคือเพิ่มน้ำหนัก นี่เป็นปัญหาเรื่องอาหารมากกว่าการฝึก — แผนไม่ใช่สิ่งที่ฉุดรั้งไว้',
+ 'Demo': 'เดโม',
+ 'Demo data reset': 'รีเซ็ตข้อมูลเดโมแล้ว',
+ 'Direct arm work, since you asked for it.': 'ฝึกแขนโดยตรง เพราะคุณขอไว้',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': 'เซ็ตหลักทุกเซ็ตของท่านี้อยู่ที่ RPE 9.5 ขึ้นไปติดต่อกันสามเซสชัน และน้ำหนักไม่ขยับเลย การเปลี่ยนท่าสักสี่สัปดาห์มักทำลายจุดตันได้เร็วกว่าการฝืนท่าเดิม',
+ 'Example data, stored only in this browser — change anything you like.': 'ข้อมูลตัวอย่าง เก็บไว้ในเบราว์เซอร์นี้เท่านั้น — เปลี่ยนอะไรก็ได้ตามใจ',
+ 'Full body A': 'ทั้งตัว A',
+ 'Full body B': 'ทั้งตัว B',
+ 'Horizontal pressing, the other half of the session.': 'ท่าดันแนวนอน อีกครึ่งหนึ่งของเซสชัน',
+ 'Live demo — everything stays in this browser.': 'เดโมสด — ทุกอย่างอยู่ในเบราว์เซอร์นี้',
+ 'No training history yet — starting conservatively.': 'ยังไม่มีประวัติการฝึก — เริ่มแบบระมัดระวัง',
+ 'Passkey sign-in, sync across your devices, your own data.': 'ลงชื่อเข้าใช้ด้วยพาสคีย์ ซิงก์ข้ามอุปกรณ์ของคุณ ข้อมูลเป็นของคุณเอง',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': 'คืนแผน การฝึก และการชั่งน้ำหนักตัวอย่างกลับเป็นเหมือนตอนเริ่มต้น',
+ 'Reset': 'รีเซ็ต',
+ 'Reset demo data': 'รีเซ็ตข้อมูลเดโม',
+ 'Reset demo data?': 'รีเซ็ตข้อมูลเดโม?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': 'ปรับตามที่คุณขอแล้ว ส่วนที่คุณไม่ได้ติงไว้ยังคงเหมือนเดิมทุกอย่าง',
+ 'Same pattern, higher reps than day A.': 'รูปแบบเดิม จำนวนครั้งมากกว่าวัน A',
+ 'Self-host it in a minute →': 'โฮสต์เองได้ในหนึ่งนาที →',
+ 'Self-host openGym': 'โฮสต์ openGym เอง',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': 'เซสชันเกินเวลาไปราวสิบห้านาที ท่าเสริมนี้เสียน้อยที่สุดหากลดลงหนึ่งเซ็ต',
+ 'Start the demo': 'เริ่มเดโม',
+ 'The main lower-body driver — where most of the strength comes from.': 'ท่าหลักของร่างกายส่วนล่าง — แรงส่วนใหญ่มาจากตรงนี้',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': 'รูปแบบเดิม แต่ต่างรูปแบบย่อย — ทับซ้อนพอให้ก้าวหน้า ต่างพอให้ไม่จำเจ',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': 'ทำสองรูปแบบใหญ่ของร่างกายส่วนล่างและท่าดันก่อน ขณะที่ยังสดอยู่',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': 'เดโมนี้ทำงานในเบราว์เซอร์ของคุณทั้งหมดด้วยข้อมูลตัวอย่าง — ไม่มีอะไรถูกส่งออกไปไหน การลงชื่อเข้าใช้ด้วยพาสคีย์และการซิงก์ข้ามอุปกรณ์มาพร้อมเซิร์ฟเวอร์ openGym ซึ่งคุณได้มาด้วยการโฮสต์เอง',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': 'มีสามอย่างที่ควรเปลี่ยน และอีกหนึ่งอย่างที่ควรรู้ ที่เหลือทำงานได้ดี — ทั้งสควอตและท่าดึงก้าวหน้าตามแผน',
+ 'Vertical pressing.': 'ท่าดันแนวตั้ง',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': 'คุณย้ายเซสชันนี้ไปวันเสาร์สามสัปดาห์ติดกันแล้ว ให้แผนระบุไว้เลยดีกว่าต้องแก้ทุกครั้ง',
+ 'You’re in the demo': 'คุณอยู่ในโหมดเดโม',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': 'คัดลอกเป็นข้อความ',
+ 'Copied': 'คัดลอกแล้ว',
+ 'Could not copy': 'คัดลอกไม่ได้',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': 'บันทึกการฝึกนี้',
+ 'Mark all sets done': 'ทำเครื่องหมายทุกเซ็ตว่าเสร็จแล้ว',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': 'บันทึกน้ำหนักทั้งหมด',
+ '{0} weigh-in': 'บันทึก {0} ครั้ง',
+ '{0} weigh-ins': 'บันทึก {0} ครั้ง',
+ 'Weekly average': 'ค่าเฉลี่ยรายสัปดาห์',
+ 'Week of {0}': 'สัปดาห์เริ่ม {0}',
+ 'Average {0}': 'เฉลี่ย {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': 'เซ็ตที่ดีที่สุด',
+ 'Show last time instead': 'แสดงครั้งก่อนแทน',
+ 'Show your best set instead': 'แสดงเซ็ตที่ดีที่สุดของคุณแทน',
+ 'Shown under each exercise': 'แสดงใต้แต่ละท่า',
+ 'What you did the last time, in that routine.': 'สิ่งที่คุณทำครั้งก่อนในรูทีนนั้น',
+ 'Your heaviest set of the exercise, from any workout.': 'เซ็ตที่หนักที่สุดของท่านี้ จากทุกการฝึก',
}
diff --cc frontend/src/locales/tr.js
index c15dd225a,80a20370a..b9302147e
--- a/frontend/src/locales/tr.js
+++ b/frontend/src/locales/tr.js
@@@ -1315,54 -1300,25 +1315,75 @@@ export default
'Plan: {0}': 'Plan: {0}',
'today {0}': 'bugün {0}',
'reps from your last session': 'tekrarlar son seansından',
+ 'Save as routine?': 'Rutin olarak kaydedilsin mi?',
+ 'Save as routine': 'Rutin olarak kaydet',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': 'Bu egzersiz hedeflerinden bağımsız bir rutin oluştur. Antrenman geçmişin korunur.',
+ 'Pause': 'Duraklat',
+ 'Keep timing after target': 'Hedeften sonra zamanlamayı sürdür',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': 'Süreli setler en fazla 15 dakika daha devam eder. Gerçek süreyi kaydetmek için Bitti’ye dokunun.',
+ 'Edit workout': 'Antrenmanı düzenle',
+ 'Workout updated': 'Antrenman güncellendi',
+ 'Save workout changes?': 'Antrenman değişiklikleri kaydedilsin mi?',
+ 'Save your edits to this workout, or keep the original record.': 'Bu antrenmandaki düzenlemelerini kaydet veya özgün kaydı koru.',
+ 'Save changes': 'Değişiklikleri kaydet',
+ "Don't save": 'Kaydetme',
+ 'Keep editing': 'Düzenlemeye devam et',
+ 'This workout was deleted on another device. Your edits are still here.': 'Bu antrenman başka bir cihazda silindi. Düzenlemelerin hâlâ burada.',
+ 'Close editor': 'Düzenleyiciyi kapat',
+ 'Editing a saved workout. Date and duration stay unchanged.': 'Kayıtlı bir antrenmanı düzenliyorsun. Tarih ve süre değişmeden kalır.',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': 'Her itişe bir çekiş, omuzlar dengede kalsın diye.',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': 'Belirttiğin ekipmana göre kurulmuş, haftada üç seansa yayılan iki günlük bir rotasyon. Önce bileşik hareketler, her itişe bir çekiş ve günler arasında hiçbir şeyin iki hafta çalışılmadan kalmayacağı kadar örtüşme.',
+ 'Based on the training already in this demo profile.': 'Bu demo profilindeki mevcut antrenmanlara göre.',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': 'Hedef kilo almak olduğu hâlde vücut ağırlığı dört haftadır yerinde sayıyor. Bu bir antrenman sorunu değil, mutfak sorunu — onu tutan plan değil.',
+ 'Demo': 'Demo',
+ 'Demo data reset': 'Demo verileri sıfırlandı',
+ 'Direct arm work, since you asked for it.': 'İstediğin için doğrudan kol çalışması.',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': 'Bu harekette üç seans boyunca her ana set RPE 9,5 veya üzerinde geldi ve ağırlık kıpırdamadı. Hareketi dört haftalığına değiştirmek, bu tıkanmayı genellikle aynı hareketle zorlamaktan daha hızlı aşar.',
+ 'Example data, stored only in this browser — change anything you like.': 'Örnek veriler, yalnızca bu tarayıcıda saklanır — istediğini değiştir.',
+ 'Full body A': 'Tüm vücut A',
+ 'Full body B': 'Tüm vücut B',
+ 'Horizontal pressing, the other half of the session.': 'Yatay itiş, seansın diğer yarısı.',
+ 'Live demo — everything stays in this browser.': 'Canlı demo — her şey bu tarayıcıda kalır.',
+ 'No training history yet — starting conservatively.': 'Henüz antrenman geçmişi yok — temkinli başlıyoruz.',
+ 'Passkey sign-in, sync across your devices, your own data.': 'Geçiş anahtarıyla giriş, cihazların arasında senkronizasyon, kendi verilerin.',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': 'Örnek planı, antrenmanları ve tartımları başlangıçtaki hâline döndürür.',
+ 'Reset': 'Sıfırla',
+ 'Reset demo data': 'Demo verilerini sıfırla',
+ 'Reset demo data?': 'Demo verileri sıfırlansın mı?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': 'İstediğin gibi gözden geçirildi. Sorgulamadığın her şey tam olarak olduğu gibi duruyor.',
+ 'Same pattern, higher reps than day A.': 'Aynı hareket kalıbı, A gününden daha fazla tekrar.',
+ 'Self-host it in a minute →': 'Bir dakikada kendi sunucunda barındır →',
+ 'Self-host openGym': 'openGym’i kendin barındır',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': 'Seanslar yaklaşık on beş dakika uzuyor. Bir set eksikten en az kaybedecek yardımcı hareket bu.',
+ 'Start the demo': 'Demoyu başlat',
+ 'The main lower-body driver — where most of the strength comes from.': 'Alt vücudun ana itici gücü — kuvvetin çoğu buradan gelir.',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': 'Aynı kalıplar, farklı varyasyonlar — ilerlemek için yeterli örtüşme, taze kalmak için yeterli fark.',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': 'Önce iki büyük kalıp, alt vücut ve itiş, henüz dinçken.',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': 'Bu demo tamamen tarayıcında, örnek verilerle çalışır — hiçbir yere bir şey gönderilmez. Geçiş anahtarıyla giriş ve cihazların arasında senkronizasyon, kendin barındırarak edindiğin openGym sunucusuyla gelir.',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': 'Değiştirmeye değer üç şey, bir de bilmeye değer bir şey var. Geri kalan her şey işliyor — hem squat hem çekişler planlandığı gibi ilerliyor.',
+ 'Vertical pressing.': 'Dikey itiş.',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': 'Bu seansı üç haftadır üst üste cumartesiye taşıyorsun. Her seferinde planı geçersiz kılmaktansa bunu planın söylemesi daha iyi.',
+ 'You’re in the demo': 'Demodasın',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': 'Metin olarak kopyala',
+ 'Copied': 'Kopyalandı',
+ 'Could not copy': 'Kopyalanamadı',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': 'Bu antrenmanı kaydet',
+ 'Mark all sets done': 'Tüm setleri tamamlandı olarak işaretle',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': 'Tüm tartımlar',
+ '{0} weigh-in': '{0} tartım',
+ '{0} weigh-ins': '{0} tartım',
+ 'Weekly average': 'Haftalık ortalama',
+ 'Week of {0}': '{0} haftası',
+ 'Average {0}': 'Ortalama {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': 'En iyi set',
+ 'Show last time instead': 'Bunun yerine geçen seferi göster',
+ 'Show your best set instead': 'Bunun yerine en iyi setini göster',
+ 'Shown under each exercise': 'Her egzersizin altında',
+ 'What you did the last time, in that routine.': 'O rutinde geçen sefer yaptıkların.',
+ 'Your heaviest set of the exercise, from any workout.': 'Bu egzersizdeki en ağır setin, herhangi bir antrenmandan.',
}
diff --cc frontend/src/locales/zh.js
index 474205f8c,9d6893446..affa64cef
--- a/frontend/src/locales/zh.js
+++ b/frontend/src/locales/zh.js
@@@ -1315,54 -1300,25 +1315,75 @@@ export default
'Plan: {0}': '计划:{0}',
'today {0}': '今天 {0}',
'reps from your last session': '次数沿用上次训练',
+ 'Save as routine?': '要保存为训练计划吗?',
+ 'Save as routine': '保存为训练计划',
+ 'Create an independent routine from these exercise targets. Your workout history is kept.': '根据这些训练目标创建独立训练计划。你的训练记录会保留。',
+ 'Pause': '暂停',
+ 'Keep timing after target': '达到目标后继续计时',
+ 'Timed sets continue up to 15 extra minutes. Tap Done to log the actual duration.': '计时组最多继续 15 分钟。点击“完成”记录实际时长。',
+ 'Edit workout': '编辑训练',
+ 'Workout updated': '训练已更新',
+ 'Save workout changes?': '保存训练更改?',
+ 'Save your edits to this workout, or keep the original record.': '保存对此训练的编辑,或保留原始记录。',
+ 'Save changes': '保存更改',
+ "Don't save": '不保存',
+ 'Keep editing': '继续编辑',
+ 'This workout was deleted on another device. Your edits are still here.': '此训练已在另一台设备上删除。你的编辑仍保留在这里。',
+ 'Close editor': '关闭编辑器',
+ 'Editing a saved workout. Date and duration stay unchanged.': '正在编辑已保存的训练。日期和时长保持不变。',
+ // --- demo build (v1.3.7) ---
+ 'A pull for every press, so the shoulders stay balanced.': '每个推的动作都配一个拉的动作,让肩部保持平衡。',
+ 'A two-day rotation across three sessions a week, built around the equipment you listed. Compounds first, one pull for every press, and enough overlap between the days that nothing goes two weeks without being trained.': '根据你列出的器械,安排为每周三次训练、两天轮换。先做复合动作,每个推配一个拉,并让两天之间有足够的重叠,确保任何部位都不会两周得不到训练。',
+ 'Based on the training already in this demo profile.': '基于此演示档案中已有的训练。',
+ 'Body weight has been flat for four weeks while the goal is to gain. That is a kitchen problem rather than a training one — the plan is not what is holding it back.': '目标是增重,但体重已经四周没变化了。这是饮食问题而不是训练问题——拖后腿的不是计划。',
+ 'Demo': '演示',
+ 'Demo data reset': '演示数据已重置',
+ 'Direct arm work, since you asked for it.': '直接的手臂训练,因为你要求了。',
+ 'Every top set on this one came in at RPE 9.5 or above for three sessions and the weight has not moved. Swapping the movement for four weeks usually breaks that stall faster than grinding the same one.': '这个动作的主要组连续三次训练都在 RPE 9.5 或以上,而重量没有变化。把动作换掉四周,通常比死磕同一个动作更快突破平台期。',
+ 'Example data, stored only in this browser — change anything you like.': '示例数据,只保存在此浏览器中——随便改。',
+ 'Full body A': '全身 A',
+ 'Full body B': '全身 B',
+ 'Horizontal pressing, the other half of the session.': '水平推,训练的另一半。',
+ 'Live demo — everything stays in this browser.': '在线演示——所有内容都留在此浏览器中。',
+ 'No training history yet — starting conservatively.': '还没有训练记录——从保守开始。',
+ 'Passkey sign-in, sync across your devices, your own data.': '通行密钥登录、多设备同步、数据归你所有。',
+ 'Puts the example plan, workouts and weigh-ins back the way they started.': '将示例计划、训练和体重记录恢复到最初的样子。',
+ 'Reset': '重置',
+ 'Reset demo data': '重置演示数据',
+ 'Reset demo data?': '重置演示数据?',
+ 'Revised as you asked. Everything you did not question is exactly as it was.': '已按你的要求修改。你没有提出疑问的部分完全保持原样。',
+ 'Same pattern, higher reps than day A.': '相同的动作模式,次数比 A 日更多。',
+ 'Self-host it in a minute →': '一分钟内自托管 →',
+ 'Self-host openGym': '自托管 openGym',
+ 'Sessions have been running about fifteen minutes over. This is the accessory with the least to lose from one set fewer.': '训练时间大约超出了十五分钟。这个辅助动作少做一组损失最小。',
+ 'Start the demo': '开始演示',
+ 'The main lower-body driver — where most of the strength comes from.': '下肢的主力动作——大部分力量来自这里。',
+ 'The same patterns, different variations — enough overlap to progress, enough difference to stay fresh.': '相同的模式,不同的变式——足够的重叠来进步,足够的差异来保持新鲜感。',
+ 'The two big lower-body and pressing patterns first, while you are fresh.': '趁体力充沛时,先做下肢和推这两个大模式。',
+ 'This demo runs entirely in your browser on example data — nothing is sent anywhere. Passkey sign-in and sync across your devices come with the openGym server, which you get by self-hosting it.': '此演示完全在你的浏览器中使用示例数据运行——不会发送任何内容。通行密钥登录和多设备同步随 openGym 服务器提供,自托管即可获得。',
+ 'Three things worth changing, and one worth knowing about. Everything else is working — the squat and the pulls are both progressing on schedule.': '有三处值得调整,还有一件值得知道。其他一切都很好——深蹲和拉的动作都在按计划进步。',
+ 'Vertical pressing.': '垂直推。',
+ 'You have moved this session to Saturday three weeks running. Better the plan says so than that you keep overriding it.': '你已经连续三周把这次训练挪到周六了。与其每次都手动改,不如直接写进计划。',
+ 'You’re in the demo': '你正在演示模式中',
+ // --- a past workout: drop-sets, supersets, its exercises' history, copy as text ---
+ 'Copy as text': '复制为文本',
+ 'Copied': '已复制',
+ 'Could not copy': '无法复制',
+ // --- a missed day logged afterwards (#284) ---
+ 'Log this workout': '补记这次训练',
+ 'Mark all sets done': '将所有组标为完成',
+ // --- every weigh-in, week by week ---
+ 'All weigh-ins': '全部称重记录',
+ '{0} weigh-in': '{0} 次称重',
+ '{0} weigh-ins': '{0} 次称重',
+ 'Weekly average': '每周平均',
+ 'Week of {0}': '{0} 起的一周',
+ 'Average {0}': '平均 {0}',
+ // --- last time or best set under each exercise (#173) ---
+ 'Best set': '最佳组',
+ 'Show last time instead': '改为显示上次',
+ 'Show your best set instead': '改为显示你的最佳组',
+ 'Shown under each exercise': '每个动作下方显示',
+ 'What you did the last time, in that routine.': '上次在该训练日完成的内容。',
+ 'Your heaviest set of the exercise, from any workout.': '该动作在所有训练中最重的一组。',
}
diff --cc frontend/src/sheets.jsx
index eb7fbda6a,a3d5c903b..f37b5ce01
--- a/frontend/src/sheets.jsx
+++ b/frontend/src/sheets.jsx
@@@ -38,9 -37,9 +38,12 @@@ import { isFav, toggleFav, sortFavourit
import { buildSessionEntries, buildPlannedEntry } from './lib/session-start.js'
import { buildCombinedEntries, deriveSessionName } from './lib/session-merge.js'
import { workoutsOn, backfillStart, backfillEnd, completeBackfill } from './lib/backfill.js'
+import { moveWorkout, sameWorkout, startTimeOf, durationMinOf, setWorkoutDuration } from './lib/workout-date.js'
+import { editCompletedSession } from './lib/session-edit.js'
+import { stampWorkout } from './lib/sync-merge.js'
+ import { weeklyWeights } from './lib/bodyweight.js'
+ import { workoutText } from './lib/workout-text.js'
+ import { copyText } from './lib/clipboard.js'
const S = () => useStore.getState().S
const update = (...a) => useStore.getState().update(...a)
@@@ -1778,25 -1750,43 +1837,44 @@@ function WorkoutDetail({ w, close })
const text = latest.current.trim().slice(0, NOTE_MAX)
if (text === initial.current) return
update(s => {
- const rec = s.workouts.find(x => x.id === w.id)
- if (!rec) return // deleted from this very sheet
+ const rec = s.workouts.find(x => sameWorkout(x, w))
+ if (!rec || text === (rec.note || '')) return // deleted from this very sheet, or already saved
if (text) rec.note = text; else delete rec.note
+ stampWorkout(rec)
})
}, [])
- // A combined session's entries carry a `rid`; group them into per-routine sections in merge
- // order. A legacy single-routine workout (one routineIds, or no rid anywhere) renders flat.
+ const nameOf = e => (EXIDX[e.id] ? exerciseNameFor(EXIDX[e.id]) : (e.n || e.id))
+ // Tapping an exercise opens its history (Discord 'Improvement ideas'): from one session to the
+ // curve it sits on, which is the question a past workout raises most often.
const entryRow = (e, i) => {
const ex = EXIDX[e.id]
- return <div key={i} className="row" style={{ marginBottom: 12, alignItems: 'flex-start' }}>
+ return <div key={i} className="row wd-ex" style={{ alignItems: 'flex-start' }} {...tappable(() => exerciseHistorySheet(e.id))}>
{ex && <Thumb ex={ex} />}
- <div className="grow"><div className={`tt ${exerciseNameClass(ex)}`} style={{ fontWeight: 600 }}>{ex ? exerciseNameFor(ex) : (e.n || e.id)} {w.prs && w.prs.includes(e.id) && <span className="pr"><Icon name="trophy" />PR</span>}</div>
- <div className="grow"><div className="tt capitalize" style={{ fontWeight: 600 }}>{nameOf(e)} {w.prs && w.prs.includes(e.id) && <span className="pr"><Icon name="trophy" />PR</span>}</div>
++ <div className="grow"><div className={`tt ${exerciseNameClass(ex)}`} style={{ fontWeight: 600 }}>{nameOf(e)} {w.prs && w.prs.includes(e.id) && <span className="pr"><Icon name="trophy" />PR</span>}</div>
<div className="ss">{e.sets.filter(hasCompletedWork).map(s => setLabel(e.id, s, e.target)).join(' · ') || t('no sets')}</div>
{e.note && <div className="small dim" style={{ marginTop: 3 }}>
- {e.notePin && <Icon name="flag" style={{ fontSize: 12, marginRight: 4, verticalAlign: '-1px', color: 'var(--yellow)' }} />}{e.note}
+ {e.notePin && <Icon name="flag" style={{ fontSize: 12, marginInlineEnd: 4, verticalAlign: '-1px', color: 'var(--yellow)' }} />}{e.note}
</div>}</div>
+ <Icon name="chevronRight" className="chev" style={{ alignSelf: 'center' }} />
+ </div>
+ }
+ // Exercises done as a superset stay together under a "Superset" label and one bar, the way the
+ // routine editor shows them (Discord: "supersets aren't shown at all"). Adjacent entries with
+ // the same tag, as in the workout itself; a workout finished before the tag was kept has none.
+ const entryRows = items => supersetUnits(items.map(([e]) => e)).map(unit => {
+ if (unit.length < 2) return entryRow(...items[unit[0]])
+ return <div key={'ss' + items[unit[0]][1]} className="wd-ss">
+ <div className="ss-label"><Icon name="link" />{t('Superset')}</div>
+ {unit.map(k => entryRow(...items[k]))}
</div>
+ })
+ // Copied with the note as it stands in the box, which may not be saved yet.
+ const copyAsText = async () => {
- const rec = { ...(st.workouts.find(x => x.id === w.id) || w), note: note.trim() }
++ const rec = { ...(st.workouts.find(x => sameWorkout(x, w)) || w), note: note.trim() }
+ toast(await copyText(workoutText(rec, { unit: st.unit, nameOf })) ? t('Copied') : t('Could not copy'))
}
+ // A combined session's entries carry a `rid`; group them into per-routine sections in merge
+ // order. A legacy single-routine workout (one routineIds, or no rid anywhere) renders flat.
const groups = []
w.entries.forEach((e, i) => {
const key = e.rid || '__none'
@@@ -1827,44 -1817,9 +1905,46 @@@
placeholder={t('How the session went as a whole.')}
onFocus={onNoteFocus} onChange={e => setNote(e.target.value)} onBlur={saveNote} />
<div style={{ height: 14 }} />
- <Button icon="clipboard" onClick={copyAsText}>{t('Copy as text')}</Button>
+ {st.active && <p className="small muted">{t('Finish the current workout first.')}</p>}
+ {/* The editor starts from the record as it is, so a note typed here goes in first — the same
+ flush the date row does, and the unmount hook then has nothing left to write over it. */}
+ <Button icon="pencil" disabled={!!st.active} onClick={() => {
+ saveNote()
+ initial.current = latest.current.trim().slice(0, NOTE_MAX)
+ try { update(state => { editCompletedSession(state, w) }); close(); nav('/workout') }
+ catch (error) { toast(t(error.message)) }
+ }}>{t('Edit workout')}</Button>
<div style={{ height: 8 }} />
- <Button variant="danger" onClick={() => confirmSheet({ title: t('Delete workout?'), message: t('This removes it from your history for good.'), confirmText: t('Delete'), danger: true, onConfirm: () => { update(s => { s.workouts = s.workouts.filter(x => x.id !== w.id) }); close(); toast(t('Workout deleted')) } })}>{t('Delete workout')}</Button>
+ {/* The note lives in a textarea that only writes on blur, and moving the workout re-keys a
+ legacy record — so flush it first and stop the unmount hook writing it a second time. */}
+ <Button icon="calendar" style={{ marginBottom: 8 }} onClick={() => {
+ saveNote()
+ initial.current = latest.current.trim().slice(0, NOTE_MAX)
+ workoutDateSheet(w, close)
+ }}>{t('Change date & time')}</Button>
+ <Button icon="timer" style={{ marginBottom: 8 }} onClick={() => {
+ saveNote()
+ initial.current = latest.current.trim().slice(0, NOTE_MAX)
+ workoutDurationSheet(w, close)
+ }}>{t('Change duration')}</Button>
+ <Button icon="plus" onClick={() => confirmSheet({
+ title: t('Save as routine?'),
+ message: t('Create an independent routine from these exercise targets. Your workout history is kept.'),
+ confirmText: t('Save'),
+ onConfirm: () => {
+ let id
+ try { update(s => { id = saveSessionAsRoutine(s, w, w.name) }) }
+ catch (e) { toast(t(e.message)); return }
+ close()
+ nav('/plan/r/' + id)
+ }
+ })}>{t('Save as routine')}</Button>
++ <div style={{ height: 8 }} />
++ <Button icon="clipboard" onClick={copyAsText}>{t('Copy as text')}</Button>
+ <div style={{ height: 10 }} />
+ {/* Matched the way the edits above are, not by id: a workout from before ids has none, and
+ filtering on `x.id !== undefined` took every other one of them with it. */}
+ <Button variant="danger" onClick={() => confirmSheet({ title: t('Delete workout?'), message: t('This removes it from your history for good.'), confirmText: t('Delete'), danger: true, onConfirm: () => { update(s => { s.workouts = s.workouts.filter(x => !sameWorkout(x, w)) }); close(); toast(t('Workout deleted')) } })}>{t('Delete workout')}</Button>
</>
}
export const workoutDetailSheet = w => ui().openSheet(close => <WorkoutDetail w={w} close={close} />)
diff --cc frontend/src/store/useStore.js
index e144c35f3,e17c41153..f4ff600f5
--- a/frontend/src/store/useStore.js
+++ b/frontend/src/store/useStore.js
@@@ -109,15 -101,10 +109,19 @@@ export const DEF =
// weight; 'last' carries the reps over from the last session, the way it always worked before.
// Absent reads as 'plan' too, which is what the MCP bridge sees on a raw state file.
startFrom: 'plan',
+ // Per-language choice for translated exercise names: whether the original English name is
+ // shown in parentheses next to the translation. Map { '<lang>': boolean }; a missing key
+ // (any profile written before this setting existed) reads as shown.
+ enParens: {},
+ // Per-language choice for translated exercise names: whether the translation is replaced
+ // entirely by the original English name. Independent of enParens and keyed by the same base
+ // language, so e.g. Italian can keep its parens while German pins names to English. Map
+ // { '<lang>': boolean }; a missing key reads as off (translation shown as usual).
+ enOnly: {},
+ // What the line under an exercise holds today's rows against (#173, views/Workout.jsx): 'last'
+ // is the last time in that routine, 'best' the best set of the exercise ever logged. Tapping
+ // the line switches it. Absent reads as 'last', the line as it always was.
+ logRef: 'last',
}
const clone = o => JSON.parse(JSON.stringify(o))
diff --cc frontend/src/views/Stats.jsx
index fc2644108,dcb4f4cca..0297a86d7
--- a/frontend/src/views/Stats.jsx
+++ b/frontend/src/views/Stats.jsx
@@@ -2,10 -2,10 +2,10 @@@ import { useEffect, useMemo, useState
import { useNavigate } from 'react-router-dom'
import { useStore } from '../store/useStore.js'
import { EXIDX, matchExercise, betterWeight } from '../lib/exercises.js'
-import { lastBW, streakWeeks, setLabel, modeOf, effortOf, metricModeForEntry, metricRowsForEntry, bestWeightForEntry } from '../lib/history.js'
+import { lastBW, streakWeeks, setLabel, modeOf, effortOf, entriesForExercise, metricEntriesForExercise, metricModeForEntry, bestWeightForEntry, completedRepsOf, workoutDay } from '../lib/history.js'
import { fmtNum, fmtDate, fmtVol, todayISO, weekStartOf } from '../lib/format.js'
import { t, exerciseNameFor, getLang } from '../lib/i18n.js'
- import { bwSheet, goalSheet, calendarSheet, workoutDetailSheet, exerciseHistorySheet, WorkoutRow, bwDeltaColor } from '../sheets.jsx'
+ import { bwSheet, goalSheet, calendarSheet, workoutDetailSheet, exerciseHistorySheet, WorkoutRow, bwDeltaColor, weighInsSheet } from '../sheets.jsx'
import LineChart from '../components/LineChart.jsx'
import Heatmap from '../components/Heatmap.jsx'
import Icon from '../components/Icon.jsx'
diff --cc frontend/src/views/Stats.recovery.test.jsx
index 7378b730f,5a5b75fc7..13e9ee19c
--- a/frontend/src/views/Stats.recovery.test.jsx
+++ b/frontend/src/views/Stats.recovery.test.jsx
@@@ -35,12 -34,9 +35,12 @@@ vi.mock('react-router-dom', () => ({ us
vi.mock('../sheets.jsx', () => ({
bwSheet: () => {}, goalSheet: () => {}, calendarSheet: () => {}, workoutDetailSheet: () => {},
exerciseHistorySheet: mocks.exerciseHistorySheet,
- WorkoutRow: () => React.createElement('div'), bwDeltaColor: () => 'inherit',
+ WorkoutRow: () => React.createElement('div'), bwDeltaColor: () => 'inherit', weighInsSheet: () => {},
}))
-vi.mock('../components/LineChart.jsx', () => ({ default: () => React.createElement('div') }))
+vi.mock('../components/LineChart.jsx', () => ({ default: props => {
+ mocks.charts.push(props)
+ return React.createElement('div')
+} }))
vi.mock('../components/Heatmap.jsx', () => ({ default: () => React.createElement('div') }))
vi.mock('../components/Icon.jsx', () => ({ default: props => React.createElement('span', props) }))
vi.mock('../components/BodyMap.jsx', () => ({
diff --cc frontend/src/views/Workout.jsx
index 547093862,c1021fce1..accc82734
--- a/frontend/src/views/Workout.jsx
+++ b/frontend/src/views/Workout.jsx
@@@ -21,7 -20,9 +21,9 @@@ import { defaultIncrement, weightIncrem
import { progressionGuidance } from '../lib/progression-copy.js'
import { buildPlannedEntry, plannedConfigOf } from '../lib/session-start.js'
import { glyphOf } from '../lib/glyphs.js'
+ import { markAllSetsDone } from '../lib/backfill.js'
+ import { bestSetFor } from '../lib/exercise-history.js'
-import { isWarmupRow, isDropSet, isRestPauseSet, dropsOf, clustersOf, addDrop, addCluster, removeDropAt, removeClusterAt, setDropAt, setClusterAt, nextDropWeight, nextBurstReps, isSideSet, makeSideSet, setSideField, toggleSide, addSideDrop, removeSideDropAt, setSideDropAt, addSideCluster, removeSideClusterAt, setSideClusterAt } from '../lib/workout-model.js'
+import { isWarmupRow, isDropSet, isRestPauseSet, dropsOf, clustersOf, addDrop, addCluster, removeDropAt, removeClusterAt, setDropAt, setClusterAt, nextDropWeight, nextBurstReps, isSideSet, makeSideSet, setSideField, toggleSide, addSideDrop, removeSideDropAt, setSideDropAt, addSideCluster, removeSideClusterAt, setSideClusterAt, WEIGHT_ORIGIN_MANUAL } from '../lib/workout-model.js'
import { canMoveActiveWorkoutUnit, moveActiveWorkoutUnit } from '../lib/active-workout-order.js'
import { MUSCLE_NAME } from '../lib/muscles.js'
@@@ -798,8 -797,9 +823,9 @@@ function ActiveWorkout()
// level down (it used to be the whole menu).
const openViewMenu = () => menuSheet({
items: [
+ A.backfill && A.entries.length > 0 && { icon: 'checkCircle', label: t('Mark all sets done'), onClick: markAllDone },
{ icon: 'pencil', label: t('Rename workout'), onClick: renameWorkoutSheet },
- { icon: 'plus', label: t('Add routine'), sub: t('Bring another routine into this session'), onClick: addRoutineToSessionSheet },
+ !editing && { icon: 'plus', label: t('Add routine'), sub: t('Bring another routine into this session'), onClick: addRoutineToSessionSheet },
{ icon: 'list', label: t('Layout'), sub: LAYOUT_LABEL[workoutView] || LAYOUT_LABEL.cards, onClick: openLayoutMenu },
],
})