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.

curated2: !69; Thai/Hungarian get the swap strings; pt-BR guard re-fingerprinted

Duarte Santos148ef9fbbb9b
diff --cc frontend/src/lib/pt-br-locale.test.js
index 7e4beb168,da2e4eaf8..337697019
--- a/frontend/src/lib/pt-br-locale.test.js
+++ b/frontend/src/lib/pt-br-locale.test.js
@@@ -27,11 -27,11 +27,11 @@@ describe('Brazilian Portuguese locale'
.sort(byCodeUnit)
const fingerprint = createHash('sha256').update(JSON.stringify(inherited)).digest('hex')
- expect(Object.keys(PT_BR_OVERRIDES)).toHaveLength(293)
- expect(Object.keys(PT_BR_OVERRIDES)).toHaveLength(292)
-- expect(inherited).toHaveLength(449)
++ expect(Object.keys(PT_BR_OVERRIDES)).toHaveLength(331)
++ expect(inherited).toHaveLength(448)
// If this fails, review the changed keys and wording before accepting a new hash. From
// frontend/: node scripts/pt-br-inheritance-fingerprint.mjs --list
-- expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('09c4fa5e04c8d3ea21916a6c07f074a35013b33d5d945ecfc13cd54cc8b7d41d')
++ expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('1f0f51af8e2e4b778db6d3d89cb7a6539091c9bc6e1cf0f864a590e586b03180')
})
test('does not leak European Portuguese UI terms', () => {
diff --cc frontend/src/locales/de.js
index 15658bb76,d5f48c5e4..d8fcb203d
--- a/frontend/src/locales/de.js
+++ b/frontend/src/locales/de.js
@@@ -573,10 -536,8 +573,11 @@@ export default
'Step ({0})': 'Schritt ({0})',
'Step (seconds)': 'Schritt (Sekunden)',
'Reps from': 'Wdh. ab',
+ 'Reps up to': 'Wdh. bis',
'No automatic progression': 'Keine automatische Progression',
+ 'Exclude from automatic progression': 'Von der automatischen Progression ausschließen',
+ 'Use for planned deloads. Workouts stay in history and statistics.': 'Für geplante Deloads. Workouts bleiben im Verlauf und in den Statistiken.',
+ 'The next regular target continues from the last included workout.': 'Das nächste reguläre Ziel setzt beim letzten einbezogenen Workout fort.',
'Linear progression': 'Lineare Progression',
'Greyskull LP': 'Greyskull LP',
'Double progression': 'Doppelte Progression',
diff --cc frontend/src/locales/es.js
index 2796a73c9,3c06f516b..7329f5519
--- a/frontend/src/locales/es.js
+++ b/frontend/src/locales/es.js
@@@ -555,10 -518,8 +555,11 @@@ export default
'Step ({0})': 'Incremento ({0})',
'Step (seconds)': 'Incremento (segundos)',
'Reps from': 'Reps desde',
+ 'Reps up to': 'Reps hasta',
'No automatic progression': 'Sin progresión automática',
+ 'Exclude from automatic progression': 'Excluir de la progresión automática',
+ 'Use for planned deloads. Workouts stay in history and statistics.': 'Úsalo para descargas planificadas. Los entrenamientos permanecen en el historial y las estadísticas.',
+ 'The next regular target continues from the last included workout.': 'El siguiente objetivo normal continúa desde el último entrenamiento incluido.',
'Linear progression': 'Progresión lineal',
'Greyskull LP': 'Greyskull LP',
'Double progression': 'Progresión doble',
diff --cc frontend/src/locales/fr.js
index 08e45e006,a068fb29c..dab8dfdc9
--- a/frontend/src/locales/fr.js
+++ b/frontend/src/locales/fr.js
@@@ -555,10 -518,8 +555,11 @@@ export default
'Step ({0})': 'Palier ({0})',
'Step (seconds)': 'Palier (secondes)',
'Reps from': 'Reps à partir de',
+ 'Reps up to': 'Reps jusqu’à',
'No automatic progression': 'Pas de progression automatique',
+ 'Exclude from automatic progression': 'Exclure de la progression automatique',
+ 'Use for planned deloads. Workouts stay in history and statistics.': 'À utiliser pour les semaines de décharge planifiées. Les séances restent dans l’historique et les statistiques.',
+ 'The next regular target continues from the last included workout.': 'Le prochain objectif normal continue à partir de la dernière séance incluse.',
'Linear progression': 'Progression linéaire',
'Greyskull LP': 'Greyskull LP',
'Double progression': 'Double progression',
diff --cc frontend/src/locales/hi.js
index da52ac1fc,6623a6ad8..a16477a7c
--- a/frontend/src/locales/hi.js
+++ b/frontend/src/locales/hi.js
@@@ -555,10 -518,8 +555,11 @@@ export default
'Step ({0})': 'स्टेप ({0})',
'Step (seconds)': 'स्टेप (सेकंड)',
'Reps from': 'रेप्स से',
+ 'Reps up to': 'रेप्स तक',
'No automatic progression': 'कोई स्वचालित प्रोग्रेशन नहीं',
+ 'Exclude from automatic progression': 'स्वचालित प्रोग्रेशन से बाहर रखें',
+ 'Use for planned deloads. Workouts stay in history and statistics.': 'योजनाबद्ध डीलोड के लिए उपयोग करें। वर्कआउट इतिहास और आँकड़ों में रहते हैं।',
+ 'The next regular target continues from the last included workout.': 'अगला सामान्य लक्ष्य अंतिम शामिल वर्कआउट से जारी रहता है।',
'Linear progression': 'रैखिक प्रोग्रेशन',
'Greyskull LP': 'Greyskull LP',
'Double progression': 'डबल प्रोग्रेशन',
diff --cc frontend/src/locales/hu.js
index 6448ce76d,000000000..768605884
mode 100644,000000..100644
--- a/frontend/src/locales/hu.js
+++ b/frontend/src/locales/hu.js
@@@ -1,686 -1,0 +1,692 @@@
+// Hungarian UI strings. Keys are the English source strings (see lib/i18n.js).
+export default {
+ // --- generic ---
+ 'Confirm': 'Megerősítés',
+ 'Cancel': 'Mégse',
+ 'Press back again to exit': 'Nyomd meg újra a vissza gombot a kilépéshez',
+ 'Delete': 'Törlés',
+ 'Save': 'Mentés',
+ 'Import': 'Importálás',
+ 'Discard': 'Elvetés',
+ 'All': 'Összes',
+ 'Rest': 'Pihenő',
+ 'On': 'Be',
+ 'Off': 'Ki',
+ 'On 🔔': 'Be 🔔',
+ 'Off 🔕': 'Ki 🔕',
+ 'Skip': 'Kihagyás',
+ 'New': 'Új',
+ 'Log': 'Naplózás',
+ 'Goal': 'Cél',
+ 'Plan': 'Terv',
+ 'Today': 'Ma',
+ 'Home': 'Kezdőlap',
+ 'Start': 'Indítás',
+ 'Resume': 'Folytatás',
+ 'Stats': 'Statisztika',
+ 'Exercises': 'Gyakorlatok',
+ 'History': 'Előzmények',
+ 'Settings': 'Beállítások',
+ 'Freestyle': 'Szabad edzés',
+ 'Routine': 'Rutin',
+ 'routine': 'rutin',
+ 'Cardio': 'Kardió',
+ 'Superset': 'Szuperszett',
+ 'last': 'utoljára',
+ 'rescheduled': 'áthelyezve',
+ 'Prev': 'Előző',
+ 'Next': 'Következő',
+ // --- days & months ---
+ 'Sunday': 'Vasárnap', 'Monday': 'Hétfő', 'Tuesday': 'Kedd', 'Wednesday': 'Szerda',
+ 'Thursday': 'Csütörtök', 'Friday': 'Péntek', 'Saturday': 'Szombat',
+ 'Su': 'V', 'Mo': 'H', 'Tu': 'K', 'We': 'Sze', 'Th': 'Cs', 'Fr': 'P', 'Sa': 'Szo',
+ 'Mon': 'Hét', 'Wed': 'Sze', 'Fri': 'Pén',
+ 'Jan': 'Jan', 'Feb': 'Feb', 'Mar': 'Már', 'Apr': 'Ápr', 'May': 'Máj', 'Jun': 'Jún',
+ 'Jul': 'Júl', 'Aug': 'Aug', 'Sep': 'Szept', 'Oct': 'Okt', 'Nov': 'Nov', 'Dec': 'Dec',
+ 'January': 'Január', 'February': 'Február', 'March': 'Március', 'April': 'Április',
+ 'June': 'Június', 'July': 'Július', 'August': 'Augusztus', 'September': 'Szeptember',
+ 'October': 'Október', 'November': 'November', 'December': 'December',
+ // --- body weight & goal ---
+ 'Quick check-in': 'Gyors bejelentkezés',
+ 'Log body weight': 'Testsúly rögzítése',
+ 'Slide or tap to set your weight — tracked before every workout so your curve stays honest.': 'Csúsztasd vagy koppints a súlyod beállításához — minden edzés előtt rögzítjük, hogy a görbéd valós maradjon.',
+ 'Save & start workout': 'Mentés és edzés indítása',
+ 'Start without weighing in': 'Indítás mérés nélkül',
+ 'Choose a different workout': 'Másik edzés választása',
+ 'Recent weigh-ins': 'Legutóbbi mérések',
+ 'Enter a valid weight': 'Adj meg érvényes súlyt',
+ 'Weight saved': 'Súly elmentve',
+ 'Target weight': 'Célsúly',
+ 'Your goal is drawn as a line through the weight charts, and gains/losses are colored by whether they move toward it.': 'A célod egy vonalként jelenik meg a súlygrafikonokon, a gyarapodás/fogyás pedig aszerint van színezve, hogy afelé mozog-e.',
+ 'Save goal': 'Cél mentése',
+ 'Goal set: {0}': 'Cél beállítva: {0}',
+ '{0} to go': 'még {0} van hátra',
+ 'Goal removed': 'Cél eltávolítva',
+ 'Remove goal': 'Cél eltávolítása',
+ 'Body weight': 'Testsúly',
+ 'reached!': 'elérve!',
+ '{0} to gain': 'még {0} felszedendő',
+ '{0} to lose': 'még {0} leadandó',
+ 'No entries yet — log your weight to start the curve. It\'s also asked before every workout.': 'Még nincs bejegyzés — rögzítsd a súlyodat a görbe elindításához. Ezt minden edzés előtt is megkérdezzük.',
+ // --- exercise detail / picker / config ---
+ 'Best:': 'Legjobb:',
+ 'Add to my plan': 'Hozzáadás a tervemhez',
+ 'How to': 'Végrehajtás',
+ 'instructions in English': 'az utasítások angolul',
+ 'New routine': 'Új rutin',
+ 'Add “{0}”': '„{0}” hozzáadása',
+ '“{0}” added to {1}': '„{0}” hozzáadva ehhez: {1}',
+ 'Pick a routine — sets, reps & weight come next.': 'Válassz egy rutint — a sorozatok, ismétlések és súly következnek.',
+ '{0} exercises': '{0} gyakorlat',
+ '{0} exercise': '{0} gyakorlat',
+ 'already in': 'már benne van',
+ 'Create one and start with this exercise': 'Hozz létre egyet, és kezdd ezzel a gyakorlattal',
+ 'Add exercise': 'Gyakorlat hozzáadása',
+ 'Search {0} exercises…': '{0} gyakorlat keresése…',
+ 'Chosen': 'Kiválasztva',
+ 'Nothing chosen yet — add exercises and they’ll show up here.': 'Még nincs kiválasztva semmi — adj hozzá gyakorlatokat, és itt fognak megjelenni.',
+ 'No match': 'Nincs találat',
+ 'Show more': 'Több megjelenítése',
+ 'Intervals': 'Intervallumok',
+ 'Minutes': 'Perc',
+ 'Speed (km/h)': 'Sebesség (km/h)',
+ 'Sets': 'Sorozatok',
+ 'Reps': 'Ism.',
+ 'Weight ({0})': 'Súly ({0})',
+ 'Add to routine': 'Hozzáadás a rutinhoz',
+ 'Remove exercise': 'Gyakorlat eltávolítása',
+ 'Remove {0}?': '{0} eltávolítása?',
+ 'The sets you logged for this exercise in this session will be lost.': 'Az ebben az edzésben ehhez a gyakorlathoz rögzített sorozatok elvesznek.',
+ 'This removes the exercise from your current session.': 'Ez eltávolítja a gyakorlatot a jelenlegi edzésedből.',
+ 'Remove': 'Eltávolítás',
+ 'Which exercise in this superset do you want to remove?': 'Melyik gyakorlatot szeretnéd eltávolítani ebből a szuperszettből?',
+ 'Pick an icon': 'Válassz ikont',
+ // --- day planning / calendar ---
+ 'Back to weekly plan': 'Vissza a heti tervhez',
+ '{0} set to rest': '{0} pihenőnapra állítva',
+ '{0} planned for {1}': '{0} tervezve erre: {1}',
+ 'Weekly plan:': 'Heti terv:',
+ 'changed for this day': 'módosítva erre a napra',
+ 'Sick, missed a day or want a different session? Pick what to train instead.': 'Beteg vagy, kihagytál egy napot, vagy másra van kedved? Válaszd ki, mit edzel helyette.',
+ 'Rest / skip this day': 'Pihenő / nap kihagyása',
+ 'Rest day': 'Pihenőnap',
+ '{0} workout': '{0} edzés',
+ '{0} workouts': '{0} edzés',
+ 'No workouts this month': 'Nincs edzés ebben a hónapban',
+ 'Trained': 'Edzett',
+ 'Planned': 'Tervezett',
+ 'Rescheduled': 'Áthelyezve',
+ 'Tap a trained day for details · tap any other day to plan a session': 'Koppints egy edzett napra a részletekért · koppints bármely másik napra egy edzés tervezéséhez',
+ // --- workout lifecycle ---
+ '{0} sets': '{0} sorozat',
+ 'no sets': 'nincs sorozat',
+ 'Delete workout?': 'Törlöd az edzést?',
+ 'This removes it from your history for good.': 'Ez véglegesen eltávolítja az előzményeidből.',
+ 'Workout deleted': 'Edzés törölve',
+ 'Delete workout': 'Edzés törlése',
+ '{0} done': '{0} kész',
+ 'Confirm the weight you worked with — your highest becomes the default next time.': 'Erősítsd meg a súlyt, amivel dolgoztál — a legmagasabb lesz az alapértelmezett legközelebb.',
+ 'Then finish the superset partner.': 'Aztán fejezd be a szuperszett párját.',
+ 'Previous best:': 'Korábbi legjobb:',
+ 'new record!': 'új rekord!',
+ 'Save & next exercise': 'Mentés és következő gyakorlat',
+ 'Just close': 'Csak bezárás',
+ 'Save weight': 'Súly mentése',
+ 'Tracked — next time starts at {0}': 'Rögzítve — legközelebb {0}-ról indul',
+ 'That\'s the whole workout!': 'Ez volt az egész edzés!',
+ 'Every exercise done — great work. Finish up, or keep going and add another exercise.': 'Minden gyakorlat kész — remek munka! Fejezd be, vagy folytasd, és adj hozzá egy újabb gyakorlatot.',
+ 'Finish workout': 'Edzés befejezése',
+ 'Continue workout': 'Edzés folytatása',
+ 'Keep going — tap “+ Add exercise” below': 'Folytasd — koppints lent a „+ Gyakorlat hozzáadása” gombra',
+ 'Workout complete!': 'Edzés kész!',
+ 'Duration': 'Időtartam',
+ 'Volume': 'Volumen',
+ 'PRs': 'Rekordok',
+ 'New PR:': 'Új rekord:',
+ 'Nice!': 'Szuper!',
+ 'Nothing logged yet': 'Még nincs rögzítve semmi',
+ 'You haven’t checked off any sets. Finish the workout anyway?': 'Még egyetlen sorozatot sem pipáltál ki. Mindenképp befejezed az edzést?',
+ 'Finish anyway': 'Befejezés mindenképp',
+ 'Finish early?': 'Korábban befejezed?',
+ '{0} set still unchecked. Finish the workout now?': '{0} sorozat még nincs kipipálva. Befejezed most az edzést?',
+ '{0} sets still unchecked. Finish the workout now?': '{0} sorozat még nincs kipipálva. Befejezed most az edzést?',
+ // --- workout view ---
+ 'Start workout': 'Edzés indítása',
+ 'today is {0}': 'ma {0} van',
+ 'rest day, but no one’s stopping you': 'pihenőnap — de senki sem állít meg',
+ 'Today\'s plan': 'Mai terv',
+ 'Start {0} ▶': '{0} indítása ▶',
+ 'Other routines': 'Más rutinok',
+ 'Start ▶': 'Indítás ▶',
+ 'Freestyle workout (pick as you go)': 'Szabad edzés (útközben válassz)',
+ 'Build a plan first': 'Előbb hozz létre egy tervet',
+ 'Duration (min)': 'Időtartam (perc)',
+ 'Last time': 'Legutóbb',
+ 'Last time you hit all reps — try {0}': 'Legutóbb minden ismétlést teljesítettél — próbáld ki: {0}',
+ 'Weights bumped to {0}': 'Súly megemelve erre: {0}',
+ 'Remove set': 'Sorozat eltávolítása',
+ 'Warm-up': 'Bemelegítés',
+ 'Add warm-up set': 'Bemelegítő sorozat hozzáadása',
+ 'Add set': 'Sorozat hozzáadása',
+ 'Every set becomes rest-pause: {0} reps to start, then {1} more split into short bursts, {2}s rest before each, roughly halving each time.': 'Minden sorozat rest-pause-zá válik: kezdésként {0} ismétlés, majd további {1} rövid burstökre bontva, mindegyik előtt {2} mp pihenővel, nagyjából minden alkalommal megfeleződve.',
+ 'Every set becomes a drop-set: after the main set, {0} drop(s) with no rest, each about {1}% lighter.': 'Minden sorozat dropszetté válik: a fő sorozat után {0} további lépés pihenő nélkül, mindegyik kb. {1}%-kal könnyebb.',
+ 'Rest-pause rest': 'Rest-pause pihenő',
+ 'Rest-pause reps': 'Rest-pause ismétlés',
+ 'Weight drop (%)': 'Súlycsökkentés (%)',
+ 'Drops': 'Dropszettek',
+ 'Rest-pause': 'Rest-pause',
+ 'Drop-set': 'Dropszett',
+ 'None': 'Nincs',
+ 'Intensifier': 'Intenzitásnövelő',
+ 'Drop-set / rest-pause': 'Dropszett / rest-pause',
+ 'Rest (s)': 'Pihenő (másodperc)',
+ 'Remove burst': 'Burst eltávolítása',
+ 'Remove drop': 'Dropszett eltávolítása',
+ 'Burst {0}': 'Burst {0}',
+ 'Drop {0}': 'Dropszett {0}',
+ '+ Burst': '+ Burst',
+ '+ Drop': '+ Dropszett',
+ 'Cardio logged': 'Kardió rögzítve',
+ 'Discard workout?': 'Elveted az edzést?',
+ 'The sets you logged in this session will be lost.': 'Az ebben az edzésben rögzített sorozatok elvesznek.',
+ 'Superset {0} / {1}': 'Szuperszett {0} / {1}',
+ 'Exercise {0} / {1}': 'Gyakorlat {0} / {1}',
+ 'Superset · do these back-to-back, rest when done': 'Szuperszett · végezd egymás után, pihenj csak utána',
+ 'Freestyle workout — add your first exercise.': 'Szabad edzés — add hozzá az első gyakorlatot.',
+ 'Finish workout early · {0} exercises': 'Edzés korai befejezése · {0} gyakorlat',
+ 'Rest over — next set!': 'Pihenő vége — jöhet a következő sorozat!',
+ // --- home ---
+ 'Hi {0}': 'Szia {0}',
+ 'This week': 'Ezen a héten',
+ '{0} — in progress': '{0} — folyamatban',
+ 'Resume ▶': 'Folytatás ▶',
+ 'Welcome!': 'Üdvözlünk!',
+ 'Set up your weekly routine to get going — or load a ready-made Push / Pull / Legs plan.': 'Állítsd be a heti rutinod, hogy elindulhass — vagy tölts be egy kész Push / Pull / Legs tervet.',
+ 'Load starter plan (PPL)': 'Kezdő terv betöltése (PPL)',
+ 'Build my own plan': 'Saját terv készítése',
+ '{0} week streak': '{0} hetes sorozat',
+ 'this week': 'ezen a héten',
+ '{0} workout total': 'összesen {0} edzés',
+ '{0} workouts total': 'összesen {0} edzés',
+ // --- stats ---
+ 'Progress & history': 'Fejlődés & előzmények',
+ 'Workouts': 'Edzések',
+ 'This month': 'Ez a hónap',
+ 'Week streak': 'Heti sorozat',
+ 'Weight 30d': 'Súly 30 nap',
+ 'Activity — last 12 months': 'Aktivitás — elmúlt 12 hónap',
+ 'by time trained': 'edzésidő szerint',
+ 'Exercise progress': 'Gyakorlat fejlődése',
+ 'Top speed per workout': 'Csúcssebesség edzésenként',
+ 'Best set weight per workout': 'Legjobb sorozatsúly edzésenként',
+ 'Finish your first workout to see progress curves here.': 'Fejezd be az első edzésed, hogy itt lásd a fejlődési görbéket.',
+ 'Recent workouts': 'Legutóbbi edzések',
+ 'Less time': 'Kevesebb',
+ 'More time': 'Több',
+ 'No data yet': 'Még nincs adat',
+ // --- plan view ---
+ 'Your weekly routine': 'A heti rutinod',
+ 'Week schedule': 'Heti beosztás',
+ 'Routines': 'Rutinok',
+ 'No routines yet.': 'Még nincs rutin.',
+ 'Create one or load the starter plan.': 'Hozz létre egyet, vagy töltsd be a kezdő tervet.',
+ 'Load starter plan (Push / Pull / Legs)': 'Kezdő terv betöltése (Push / Pull / Legs)',
+ // --- routine edit ---
+ 'Superset with exercise above': 'Szuperszett a fenti gyakorlattal',
+ 'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': 'Megjegyzés (opcionális) — súlyozási tippek, pl. „csak a rúd, majd sorozatonként +1 tárcsa oldalanként”, bármi, amit érdemes megjegyezni',
+ 'No exercises yet — add your first one.': 'Még nincs gyakorlat — add hozzá az elsőt.',
+ 'Tap the link button on an exercise to superset it with the one above — you’ll do them back-to-back.': 'Koppints egy gyakorlatnál az összekapcsolás gombra, hogy szuperszettbe kösd a fölötte lévővel — így egymás után csinálod majd őket.',
+ 'Delete routine?': 'Törlöd a rutint?',
+ '“{0}” and its exercises will be removed.': '„{0}” és a gyakorlatai el lesznek távolítva.',
+ 'Delete routine': 'Rutin törlése',
+ // --- library / history ---
+ '{0} exercises with animations': '{0} gyakorlat animációval',
+ 'Search…': 'Keresés…',
+ 'No workouts yet.': 'Még nincs edzés.',
+ 'Starter plan loaded — Mon Push · Wed Pull · Fri Legs': 'Kezdő terv betöltve — H Push · Sze Pull · P Legs',
+ // --- login / account ---
+ 'Enter a name': 'Adj meg egy nevet',
+ 'Profile created — data from this device moved into it': 'Profil létrehozva — az eszközön lévő adatok átkerültek bele',
+ 'Profile created — data moved into it': 'Profil létrehozva — az adatok átkerültek bele',
+ 'Welcome, {0}': 'Üdvözlünk, {0}',
+ 'Welcome back, {0}': 'Üdvözlünk újra, {0}',
+ 'Registration failed': 'A regisztráció sikertelen',
+ 'Sign-in failed': 'A bejelentkezés sikertelen',
+ 'Create your profile': 'Hozd létre a profilod',
+ 'Pick a name, then confirm with {0}. The passkey is saved in your device — no password needed.': 'Válassz egy nevet, majd erősítsd meg ezzel: {0}. A jelszókulcs az eszközödön tárolódik — jelszóra nincs szükség.',
+ 'Pick a name, then confirm with your device.': 'Válassz egy nevet, majd erősítsd meg az eszközöddel.',
+ 'Your name': 'A neved',
+ 'Create passkey': 'Jelszókulcs létrehozása',
+ 'Your workouts. Your weights. Your profile.': 'A te edzéseid. A te súlyaid. A te profilod.',
+ 'Sign in with passkey': 'Bejelentkezés jelszókulccsal',
+ 'Create new profile': 'Új profil létrehozása',
+ 'This browser doesn\'t support passkeys — you can still use openGym locally on this device.': 'Ez a böngésző nem támogatja a jelszókulcsokat — az openGym-et így is használhatod helyben, ezen az eszközön.',
+ 'This browser doesn\'t support passkeys, and this instance requires an account. Try a browser or device with passkey support.': 'Ez a böngésző nem támogatja a jelszókulcsokat, ez a szerver pedig fiókot igényel. Próbálj egy jelszókulcsot támogató böngészőt vagy eszközt.',
+ 'Continue without account': 'Folytatás fiók nélkül',
+ 'Passkeys use {0} — no passwords.': 'A jelszókulcs ezt használja: {0} — jelszó nélkül.',
+ 'Each profile keeps its own plan, workouts & body weight.': 'Minden profil megőrzi a saját tervét, edzéseit és testsúlyát.',
+ // --- settings ---
+ 'Account': 'Fiók',
+ 'Signed in with passkey — data syncs to this profile.': 'Bejelentkezve jelszókulccsal — az adatok szinkronizálódnak ezzel a profillal.',
+ 'Sign out?': 'Kijelentkezel?',
+ 'Your data is synced to your profile first, then cleared from this device.': 'Az adataid előbb szinkronizálódnak a profiloddal, majd törlődnek erről az eszközről.',
+ 'Sign out': 'Kijelentkezés',
+ 'Sign out everywhere?': 'Kijelentkezel mindenhonnan?',
+ 'Signs this profile out on every device, including this one. Your passkeys keep working — sign in with them again anytime.': 'Kijelentkezteti ezt a profilt minden eszközön, ezen az eszközön is. A jelszókulcsaid továbbra is működnek — bármikor újra bejelentkezhetsz velük.',
+ 'Sign out everywhere': 'Kijelentkezés mindenhonnan',
+ 'Ends this profile’s sessions on all your devices.': 'Lezárja ennek a profilnak a munkameneteit minden eszközödön.',
+ 'Signed out on all devices': 'Kijelentkezve minden eszközön',
+ 'Could not sign out everywhere — you are still signed in.': 'Nem sikerült mindenhonnan kijelentkezni — továbbra is be vagy jelentkezve.',
+ 'Guest mode — data lives only in this browser. Create a passkey profile to keep it safe and separate per person.': 'Vendég mód — az adatok csak ebben a böngészőben léteznek. Hozz létre egy jelszókulcs-profilt, hogy biztonságban és személyenként elkülönítve legyenek.',
+ 'Create passkey profile': 'Jelszókulcs-profil létrehozása',
+ 'Passkeys not supported in this browser.': 'A jelszókulcsok nem támogatottak ebben a böngészőben.',
+ 'Appearance': 'Megjelenés',
+ 'synced with your profile': 'szinkronizálva a profiloddal',
+ 'Language': 'Nyelv',
+ 'Exercise instructions aren\'t available in this language yet — they stay in English.': 'A gyakorlatleírások ezen a nyelven még nem érhetők el — angolul maradnak.',
+ 'Theme': 'Téma',
+ 'Dark': 'Sötét',
+ 'Light': 'Világos',
+ 'System': 'Rendszer',
+ 'Accent color': 'Kiemelő szín',
+ 'General': 'Általános',
+ 'During a workout': 'Edzés közben',
+ 'Keep screen awake': 'Képernyő ébren tartása',
+ 'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': 'A képernyő edzés közben bekapcsolva marad, így sorozatok között nem kell feloldanod a telefonod.',
+ 'Weight unit': 'Súlymértékegység',
+ 'Rest timer': 'Pihenő időzítő',
+ 'Sounds': 'Hangok',
+ 'Note: switching units only changes the label — logged numbers are not converted.': 'Megjegyzés: a mértékegység váltása csak a feliratot módosítja — a rögzített számok nem lesznek átváltva.',
+ 'Data': 'Adatok',
+ 'Export backup (JSON)': 'Biztonsági mentés exportálása (JSON)',
+ 'Import backup': 'Biztonsági mentés importálása',
+ 'Saves a dated copy to the Documents folder after finishing a workout or editing a routine — point a sync app at it, or copy it out by hand.': 'Dátumozott másolatot ment a Dokumentumok mappába egy edzés befejezése vagy egy rutin szerkesztése után — irányíts rá egy szinkronizáló appot, vagy másold ki kézzel.',
+ 'Auto-backup on changes': 'Automatikus mentés módosításkor',
+ 'Reset everything?': 'Mindent visszaállítasz?',
+ 'Reset everything': 'Minden visszaállítása',
+ 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'Törli a terved, edzéseid és testsúlyod ezen az eszközön. Ez nem vonható vissza.',
+ 'Delete everything': 'Minden törlése',
+ 'All data reset': 'Minden adat visszaállítva',
+ 'Backup exported': 'Biztonsági mentés exportálva',
+ 'Import backup?': 'Importálod a biztonsági mentést?',
+ 'This replaces all current data with the backup file.': 'Ez lecseréli az összes jelenlegi adatot a mentésfájlra.',
+ 'Backup imported': 'Biztonsági mentés importálva',
+ 'Import failed: {0}': 'Az importálás sikertelen: {0}',
+ 'Tip': 'Tipp',
+ 'In Chrome: ⋮ menu → Add to Home screen': 'Chrome-ban: ⋮ menü → Hozzáadás a kezdőképernyőhöz',
+ 'In Safari: Share → Add to Home Screen': 'Safariban: Megosztás → Hozzáadás a kezdőképernyőhöz',
+ 'to install openGym as a full-screen app.': 'hogy az openGym-et teljes képernyős appként telepítsd.',
+ 'Your data syncs with your profile — sign in anywhere to see it.': 'Az adataid szinkronizálódnak a profiloddal — jelentkezz be bárhol, hogy lásd őket.',
+ 'Guest data stays on this device — export a backup now and then!': 'A vendégadatok ezen az eszközön maradnak — időnként exportálj egy biztonsági mentést!',
+ 'free & open source (AGPL v3)': 'ingyenes & nyílt forráskódú (AGPL v3)',
+ 'Notifications': 'Értesítések',
+ 'Not supported in this browser.': 'Nem támogatott ebben a böngészőben.',
+ 'Push notifications': 'Push-értesítések',
+ 'Rest-timer alerts, even if openGym is closed.': 'Pihenő időzítő riasztások, még ha az openGym be is van zárva.',
+ 'Workout day reminder': 'Edzésnap-emlékeztető',
+ 'Reminder time': 'Emlékeztető ideje',
+ 'Only sent on days you have a routine planned and haven\'t logged a workout yet.': 'Csak azokon a napokon küldjük, amikor van tervezett rutinod, és még nem rögzítettél edzést.',
+ 'Timezone: {0} (auto-detected, updates if you travel).': 'Időzóna: {0} (automatikusan felismerve, utazáskor frissül).',
+ 'Send test notification': 'Teszt értesítés küldése',
+ 'Test sent — should arrive any second': 'Teszt elküldve — bármelyik pillanatban megérkezhet',
+ 'Test failed': 'A teszt sikertelen',
+ 'Notifications off': 'Értesítések kikapcsolva',
+ 'Notifications on': 'Értesítések bekapcsolva',
+ 'Could not change notification settings': 'Az értesítési beállítások módosítása sikertelen',
+ // --- media ---
+ 'tap to pause': 'koppints a szüneteltetéshez',
+ 'tap to play': 'koppints a lejátszáshoz',
+ // --- data terms: body parts ---
+ 'back': 'hát', 'cardio': 'kardió', 'chest': 'mell', 'lower arms': 'alkar',
+ 'lower legs': 'lábszár', 'neck': 'nyak', 'shoulders': 'váll',
+ 'upper arms': 'felkar', 'upper legs': 'comb', 'waist': 'derék',
+ // --- data terms: equipment ---
+ 'Details': 'Részletek',
+ 'Finish': 'Befejezés',
+ 'Start {0}': '{0} indítása',
+ 'Guest mode — data lives only in this browser.': 'Vendég mód — az adatok csak ebben a böngészőben léteznek.',
+ 'Keeps your data safe and separate per person.': 'Biztonságban és személyenként elkülönítve tartja az adataidat.',
+ 'Strength': 'Erő',
+ 'Equipment': 'Eszköz',
+ 'Recovery': 'Regeneráció',
+ 'Any equipment': 'Bármilyen eszköz',
+ 'assisted': 'segített', 'band': 'gumiszalag', 'barbell': 'rúd', 'body weight': 'testsúly',
+ 'bosu ball': 'bosu labda', 'cable': 'kábel', 'dumbbell': 'súlyzó',
+ 'elliptical machine': 'elliptikus tréner', 'ez barbell': 'EZ-rúd', 'hammer': 'kalapácsfogás',
+ 'kettlebell': 'kettlebell', 'leverage machine': 'emelőkaros gép', 'medicine ball': 'medicinlabda',
+ 'olympic barbell': 'olimpiai rúd', 'resistance band': 'ellenállószalag', 'roller': 'henger',
+ 'rope': 'kötél', 'skierg machine': 'SkiErg', 'sled machine': 'szán',
+ 'smith machine': 'Smith-gép', 'stability ball': 'fitneszlabda', 'stationary bike': 'szobabicikli',
+ 'stepmill machine': 'lépcsőzőgép', 'tire': 'gumiabroncs', 'trap bar': 'trap rúd',
+ 'upper body ergometer': 'felsőtest ergométer', 'weighted': 'súlyozott', 'wheel roller': 'hasgörgő',
+ // --- data terms: targets & muscles ---
+ 'abductors': 'abduktorok', 'abs': 'has', 'adductors': 'adduktorok', 'biceps': 'bicepsz',
+ 'calves': 'vádli', 'cardiovascular system': 'szív-érrendszer', 'delts': 'váll',
+ 'forearms': 'alkar', 'glutes': 'farizom', 'hamstrings': 'combhajlító', 'lats': 'széles hátizom',
+ 'levator scapulae': 'lapockaemelő', 'pectorals': 'mellizom', 'quads': 'combfeszítő',
+ 'serratus anterior': 'fűrészizom', 'spine': 'gerinc', 'traps': 'csuklyás izom',
+ 'triceps': 'tricepsz', 'upper back': 'felső hát',
+ 'abdominals': 'hasizom', 'ankle stabilizers': 'bokastabilizátorok', 'ankles': 'boka',
+ 'brachialis': 'karizom', 'core': 'törzs', 'deltoids': 'deltaizom', 'feet': 'láb',
+ 'grip muscles': 'markolóerő', 'groin': 'lágyék', 'hands': 'kéz', 'hip flexors': 'csípőhajlító',
+ 'inner thighs': 'combközelítő', 'latissimus dorsi': 'széles hátizom', 'lower abs': 'alsó has',
+ 'lower back': 'deréktáj', 'obliques': 'ferde hasizom', 'quadriceps': 'combfeszítő',
+ 'rear deltoids': 'hátsó váll', 'rhomboids': 'rombuszizom', 'rotator cuff': 'forgatómandzsetta',
+ 'shins': 'sípcsont', 'soleus': 'lábikraizom', 'sternocleidomastoid': 'fejbiccentő izom',
+ 'trapezius': 'csuklyás izom', 'upper chest': 'felső mell', 'wrist extensors': 'csuklófeszítő',
+ 'wrist flexors': 'csuklóhajlító', 'wrists': 'csukló',
+
+ // --- custom exercises (#11) ---
+ 'Create your own exercise': 'Saját gyakorlat létrehozása',
+ 'Edit custom exercise': 'Egyéni gyakorlat szerkesztése',
+ 'Name it and pick a body part — it behaves like any other exercise, just without an animation.': 'Nevezd el és válassz testrészt — úgy viselkedik, mint bármelyik más gyakorlat, csak animáció nélkül.',
+ 'Exercise name': 'Gyakorlat neve',
+ 'name + body part, no animation': 'név + testrész, animáció nélkül',
+ 'Create exercise': 'Gyakorlat létrehozása',
+ 'Give it a name': 'Adj neki egy nevet',
+ 'Pick a body part': 'Válassz testrészt',
+ '“{0}” already exists': '„{0}” már létezik',
+ '“{0}” created': '„{0}” létrehozva',
+ 'Cardio exercises log time + speed instead of weight × reps.': 'A kardió gyakorlatok időt + sebességet rögzítenek súly × ismétlés helyett.',
+ 'custom': 'egyéni',
+ 'Edit': 'Szerkesztés',
+ 'Saved': 'Elmentve',
+ 'Delete “{0}”?': '„{0}” törlése?',
+ 'It will be removed from your routines. Already-logged workouts keep their sets.': 'El lesz távolítva a rutinjaidból. A már rögzített edzések megtartják a sorozataikat.',
+ 'Exercise deleted': 'Gyakorlat törölve',
+ 'Finish your current workout first': 'Fejezd be előbb a futó edzésed',
+ 'Description (optional) — setup, cues, anything you want to remember': 'Leírás (opcionális) — beállítás, fogások, bármi, amit meg akarsz jegyezni',
+ 'Delete exercise': 'Gyakorlat törlése',
+ 'Edit or delete this exercise': 'Gyakorlat szerkesztése vagy törlése',
+ 'Remove from routine': 'Eltávolítás a rutinból',
+ 'Minimize': 'Kicsinyítés',
+ 'Expand': 'Kibontás',
+ 'Invite code': 'Meghívókód',
+ 'This app is invite-only — enter the code you were given.': 'Ez az app csak meghívóval elérhető — add meg a kapott kódot.',
+ 'An invite code is required': 'Meghívókód szükséges',
+ 'Admin dashboard': 'Admin irányítópult',
+ // --- muscle map ---
+ 'Muscle balance': 'Izomegyensúly',
+ 'Fatigue': 'Fáradtság',
+ 'Ready': 'Kész',
+ 'Recovering': 'Regenerálódik',
+ 'Fatigued': 'Fáradt',
+ 'Fatigue shows how recently each muscle was trained. High means rest.': 'A fáradtság azt mutatja, mennyire nemrég edzetted az adott izmot. Magas érték: pihenj.',
+ 'Strength shows retained muscle strength. Train again to reset it.': 'Az erő azt mutatja, mennyi izomerő maradt meg. Edz újra, hogy visszaálljon.',
+ 'full': 'teljes',
+ 'floor': 'minimum',
+ 'Weeks since training: {0}': 'Utoljára {0} hete edzve',
+ 'by sets worked': 'végzett sorozatok szerint',
+ 'Week': 'Hét',
+ 'not trained': 'nincs edzve',
+ 'Not trained in this period': 'Ebben az időszakban nincs edzve',
+ 'Every muscle group got some work in this period.': 'Minden izomcsoport kapott valamennyi munkát ebben az időszakban.',
+ 'No workouts in this period yet.': 'Ebben az időszakban még nincs edzés.',
+ 'What this session hits': 'Mit érint ez az edzés',
+ 'What you just trained': 'Mit edzettél az imént',
+ 'Body diagram': 'Testábra',
+ 'Male': 'Férfi',
+ 'Female': 'Nő',
+ 'Less': 'Kevesebb',
+ 'More': 'Több',
+ 'Traps': 'Csuklyás izom',
+ 'Shoulders': 'Váll',
+ 'Chest': 'Mell',
+ 'Upper back': 'Felső hát',
+ 'Serratus': 'Fűrészizom',
+ 'Biceps': 'Bicepsz',
+ 'Triceps': 'Tricepsz',
+ 'Forearms': 'Alkar',
+ 'Abs': 'Has',
+ 'Obliques': 'Ferde hasizom',
+ 'Lower back': 'Deréktáj',
+ 'Glutes': 'Farizom',
+ 'Quads': 'Combfeszítő',
+ 'Hamstrings': 'Combhajlító',
+ 'Adductors': 'Adduktorok',
+ 'Hip flexors': 'Csípőhajlító',
+ 'Calves': 'Vádli',
+ 'Shins': 'Sípcsont',
+ // --- import from another app ---
+ 'Import from another app': 'Importálás másik appból',
+ 'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes, Strong, Hevy — vagy testsúly az Apple Healthből',
+ 'Import from {0}': 'Importálás innen: {0}',
+ 'Import history': 'Előzmények importálása',
+ 'Weigh-ins': 'Mérések',
+ 'Exercises matched': 'Egyeztetett gyakorlatok',
+ 'Added as your own': 'Sajátként hozzáadva',
+ 'The file is in {0} and your profile is in {1} — weights will be converted.': 'A fájl {0}-ban van, a profilod pedig {1}-ban — a súlyok át lesznek váltva.',
+ 'The file does not say which unit it uses — numbers are imported as they are.': 'A fájl nem mondja meg, milyen mértékegységet használ — a számok változatlanul kerülnek importálásra.',
+ 'The file mixes kg and lb — each set is converted to {0}.': 'A fájl kg-t és lb-t is tartalmaz — minden sorozat át lesz váltva erre: {0}.',
+ '{0} days already have data here and will be left alone.': '{0} napnak már van itt adata, ezek érintetlenek maradnak.',
+ 'Not in the library — added as your own exercises': 'Nincs a könyvtárban — saját gyakorlatként hozzáadva',
+ 'Nothing new to import': 'Nincs új importálnivaló',
+ '{0} workouts imported': '{0} edzés importálva',
+ '{0} weigh-ins imported': '{0} mérés importálva',
+ 'Could not read that file': 'A fájlt nem sikerült beolvasni',
+ 'That file is empty': 'Ez a fájl üres',
+ 'That file\'s columns aren\'t recognised — see the docs for supported apps.': 'Ennek a fájlnak az oszlopai nem ismerhetők fel — a támogatott appok listáját lásd a dokumentációban.',
+ 'Nothing to import from that file': 'Ebből a fájlból nincs mit importálni',
+ // --- mobile build ---
+ 'Your data': 'A te adataid',
+ 'All data stays on this phone': 'Minden adat ezen a telefonon marad',
+ 'No account, no cloud — back it up anytime with Export below.': 'Nincs fiók, nincs felhő — bármikor menthetsz biztonsági másolatot lent az Exporttal.',
+ 'Reminds you at this time on days that have a routine planned.': 'Ekkor emlékeztet azokon a napokon, amikor rutin van tervezve.',
+ 'Workout day': 'Edzésnap',
+ '{0} is on the plan today — let’s go!': 'Ma {0} van a terven — gyerünk!',
+ // --- plan sharing ---
+ 'Share your plan': 'Terv megosztása',
+ 'Send your routines to a friend, or put your week on paper.': 'Küldd el a rutinjaidat egy barátnak, vagy vesd papírra a heted.',
+ 'Export plan file': 'Tervfájl exportálása',
+ 'A small file a friend imports into their own openGym — routines only, none of your workouts or weigh-ins.': 'Egy kis fájl, amit egy barát a saját openGym-jébe importál — csak rutinok, edzések és mérések nélkül.',
+ 'Print / Save as PDF': 'Nyomtatás / Mentés PDF-ként',
+ 'A clean one-page-per-plan printout — no exercise ever splits across a page.': 'Egy tiszta nyomtatvány, egy oldal tervenként — egyetlen gyakorlat sem törik meg oldalhatáron.',
+ 'Add an exercise to a routine first — an empty plan has nothing to share.': 'Adj hozzá előbb egy gyakorlatot egy rutinhoz — egy üres tervnek nincs mit megosztania.',
+ 'Got a plan from a friend?': 'Kaptál tervet egy baráttól?',
+ 'Import a plan file': 'Tervfájl importálása',
+ 'Plan file saved — send it to a friend': 'Tervfájl elmentve — küldd el egy barátnak',
+ '{0}’s plan': '{0} terve',
+ 'Import “{0}”': '„{0}” importálása',
+ 'Import this plan': 'Terv importálása',
+ '{0} routine': '{0} rutin',
+ '{0} routines': '{0} rutin',
+ 'scheduled on {0} days': '{0} napra betervezve',
+ 'scheduled on {0} day': '{0} napra betervezve',
+ 'These are added as new routines — nothing you already have is changed.': 'Ezek új rutinként kerülnek hozzáadásra — semmi, ami már megvan, nem változik.',
+ '{0} exercise in the file isn’t in your library and was left out.': '{0} gyakorlat a fájlban nincs a könyvtáradban, ezért kimaradt.',
+ '{0} exercises in the file aren’t in your library and were left out.': '{0} gyakorlat a fájlban nincs a könyvtáradban, ezért kimaradt.',
+ 'Use this weekly schedule': 'Heti beosztás alkalmazása',
+ 'Replaces your current Mon–Sun assignments.': 'Lecseréli a jelenlegi H–V beosztásod.',
+ 'Added {0} routines to your plan': '{0} rutin hozzáadva a tervedhez',
+ 'this isn’t an openGym plan file': 'ez nem egy openGym tervfájl',
+ 'Shared routine': 'Megosztott rutin',
+ 'Unknown exercise': 'Ismeretlen gyakorlat',
+ 'Weekly Training Plan': 'Heti edzésterv',
+ 'Made with openGym': 'Az openGym-mel készült',
+ 'Something went wrong': 'Hiba történt',
+ 'This screen could not be drawn. Your data is safe on this device.': 'Ezt a képernyőt nem sikerült megjeleníteni. Az adataid biztonságban vannak ezen az eszközön.',
+ 'Reload openGym': 'openGym újratöltése',
+ 'Discard the running workout': 'A futó edzés elvetése',
+
+ // --- v1.2.2: timed sets, progression, estimated 1RM (#16 #17 #18) ---
+ 'Top set': 'Legjobb sorozat',
+ 'Est. 1RM': 'becs. 1RM',
+ 'Estimated 1RM': 'Becsült 1RM',
+ 'Estimated 1RM per workout': 'Becsült 1RM edzésenként',
+ 'Best estimate from {0} on {1} — an estimate, not a tested max.': 'Legjobb becslés innen: {0}, ekkor: {1} — ez egy becslés, nem tesztelt maximum.',
+ 'From your log:': 'A naplódból:',
+ '{0} × {1} on {2}': '{0} × {1} – {2}',
+ 'Estimate': 'Becslés',
+ 'Enter a weight and 1–{0} reps — beyond that an estimate is guesswork.': 'Adj meg egy súlyt és 1–{0} ismétlést — afölött a becslés már csak találgatás.',
+ 'Epley formula — a calculation from one set, not a tested max.': 'Epley-képlet — egyetlen sorozatból számolva, nem tesztelt maximum.',
+ 'Best estimated 1RM:': 'Legjobb becsült 1RM:',
+ 'Time': 'Idő',
+ 'Seconds': 'Másodperc',
+ 'A timer runs while you hold the set. Leave the weight at 0 for bodyweight holds.': 'Egy időzítő fut, amíg tartod a sorozatot. Testsúlyos tartásnál hagyd 0-n a súlyt.',
+ 'Done': 'Kész',
+ 'Start set': 'Sorozat indítása',
+ 'Hold logged': 'Tartás rögzítve',
+ 'Longest hold per workout': 'Leghosszabb tartás edzésenként',
+ 'Progression': 'Progresszió',
+ 'Rule': 'Szabály',
+ 'Follow the routine ({0})': 'A rutin szabálya ({0})',
+ 'Applies to every exercise in this routine that does not set its own rule.': 'Minden gyakorlatra vonatkozik ebben a rutinban, amelynek nincs saját szabálya.',
+ 'Step ({0})': 'Lépésköz ({0})',
+ 'Step (seconds)': 'Lépésköz (másodperc)',
+ 'Reps from': 'Ismétlés ettől',
+ 'No automatic progression': 'Nincs automatikus progresszió',
+ 'Linear progression': 'Lineáris progresszió',
+ 'Greyskull LP': 'Greyskull LP',
+ 'Double progression': 'Dupla progresszió',
+ 'Add time': 'Idő növelése',
+ 'Targets stay where you set them.': 'A célértékek ott maradnak, ahova beállítottad őket.',
+ 'Hit every rep in every set and the weight goes up. Repeated misses trigger a deload.': 'Ha minden sorozatban minden ismétlést teljesítesz, a súly emelkedik. Ismételt kihagyás deloadot indít.',
+ 'Two straight sets plus a final set taken to failure. Beat the target on that set and the weight goes up — double if you double the reps. One failure resets 10 %.': 'Két rendes sorozat plusz egy utolsó, kimerülésig végzett sorozat. Ha az utolsó sorozatban túlteljesíted a célt, a súly emelkedik — duplán, ha az ismétlésszámot is duplázod. Egy sikertelen kísérlet 10%-kal visszaállítja.',
+ 'Work up through a rep range at the same weight. Reach the top of the range in every set and the weight goes up, reps back to the bottom.': 'Ugyanazon a súlyon dolgozz végig egy ismétléstartományon. Ha minden sorozatban eléred a tartomány tetejét, a súly emelkedik, az ismétlésszám pedig visszaáll az aljára.',
+ 'Hold every set for the full duration and the target goes up.': 'Ha minden sorozatot a teljes időn át tartasz, a célérték emelkedik.',
+ 'Nothing logged yet — this session sets the baseline.': 'Még nincs rögzítve semmi — ez az edzés adja a kiindulópontot.',
+ 'Held every set for the full time — target up by {0}s.': 'Minden sorozatot a teljes ideig tartottad — a cél {0} mp-cel emelkedik.',
+ 'Short {0} sessions in a row — back off to {1}s and build up again.': '{0} egymást követő edzés volt rövid — vissza {1} mp-re, és építsd fel újra.',
+ 'Last time came up short — same target again.': 'Legutóbb nem sikerült — ugyanaz a cél megint.',
+ 'Top of the rep range in every set — {0} {1} more, back to {2} reps.': 'Az ismétléstartomány teteje minden sorozatban — {0} {1} plusz, vissza {2} ismétlésre.',
+ 'Stalled {0} sessions — deload to {1} {2}.': '{0} edzés óta megrekedt — deload erre: {1} {2}.',
+ 'Same weight — aim for {0} reps this time.': 'Ugyanaz a súly — most {0} ismétlést célozz meg.',
+ 'Last set hit {0} reps — twice the target, so take a double jump of {1} {2}.': 'Az utolsó sorozat {0} ismétlést ért el — kétszerese a célnak, ezért dupla ugrás: {1} {2}.',
+ 'Every rep last time — {0} {1} more.': 'Legutóbb minden ismétlés meglett — {0} {1} plusz.',
+ 'Missed reps {0} sessions running — reset to {1} {2} and work back up.': '{0} edzés óta hiányoznak ismétlések — vissza {1} {2}, és építsd fel újra.',
+ 'Missed reps — reset to {0} {1} and work back up.': 'Hiányoztak ismétlések — vissza {0} {1}, és építsd fel újra.',
+ 'Missed reps last time — same weight again ({0} of {1} to go).': 'Legutóbb hiányoztak ismétlések — ugyanaz a súly megint (még {0} van hátra {1}-ból).',
+ 'Bodyweight — every rep last time, so go for {0} this time.': 'Testsúly — legutóbb minden ismétlés meglett, most célozd meg ezt: {0}.',
+ 'Bodyweight — same target again until every set is clean.': 'Testsúly — ugyanaz a cél megint, amíg minden sorozat tiszta nem lesz.',
+
+ // --- effort per set (RIR / RPE) ---
+ '{0} sets bring an {1} with them — switch on Effort per set in Settings to see it.': '{0} sorozat {1} hoz magával — kapcsold be a Megerőltetés sorozatonként opciót a Beállításokban, hogy lásd.',
+ '{0} sets bring an {1} with them.': '{0} sorozat {1} hoz magával.',
+ 'RIR': 'RIR',
+ 'RPE': 'RPE',
+ 'Effort per set': 'Megerőltetés sorozatonként',
+ 'What are RIR and RPE?': 'Mi az a RIR és RPE?',
+ 'How hard a set was, logged next to weight and reps. Two scales for the same judgement, counted from opposite ends.': 'Mennyire volt nehéz egy sorozat, súly és ismétlésszám mellett rögzítve. Két skála ugyanarra a megítélésre, ellentétes végekről számolva.',
+ 'How it felt': 'Milyen érzés volt',
+ 'Nothing left — went to failure': 'Nem maradt semmi — kimerülésig ment',
+ 'One more rep in the tank': 'Egy ismétlés még belefért volna',
+ 'Two more reps': 'Két ismétlés még belefért volna',
+ 'Three more reps': 'Három ismétlés még belefért volna',
+ 'Easy — warm-up territory': 'Könnyű — bemelegítő szint',
+ 'RIR counts the reps you left; RPE reads the same effort off a 10-point scale — so RPE ≈ 10 − RIR. Pick the one you already think in.': 'A RIR a megmaradt ismétléseket számolja; az RPE ugyanazt a megerőltetést egy 10 pontos skálán olvassa le — tehát RPE ≈ 10 − RIR. Válaszd azt, amelyikben amúgy is gondolkodsz.',
+ 'The highlighted row is where most working sets land. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': 'A kiemelt sor az, ahova a legtöbb munkasorozat esik. A már rögzített sorozatok megtartják a saját skálájukat, és semmi más nem olvassa ki az értéket — a progressziót és a becsült 1RM-et nem érinti.',
+ // --- effort in the stats ---
+ 'Effort': 'Megerőltetés',
+ 'how close to failure': 'milyen közel a kimerüléshez',
+ 'by hard sets': 'nehéz sorozatok szerint',
+ 'Hard': 'Nehéz',
+ 'no hard sets': 'nincs nehéz sorozat',
+ 'No hard sets in this period': 'Ebben az időszakban nincs nehéz sorozat',
+ 'Every muscle group got at least one hard set in this period.': 'Minden izomcsoport kapott legalább egy nehéz sorozatot ebben az időszakban.',
+ 'No rated sets in this period.': 'Ebben az időszakban nincs értékelt sorozat.',
+ 'average effort': 'átlagos megerőltetés',
+ 'at {0} {1} or harder': '{0} {1} vagy nehezebb szinten',
+ '{0} of {1} finished sets rated': '{1}-ből {0} befejezett sorozat értékelve',
+ 'Effort per set is switched off — turn it on in Settings to keep rating.': 'A Megerőltetés sorozatonként ki van kapcsolva — kapcsold be a Beállításokban a további értékeléshez.',
+ 'Week by week': 'Hétről hétre',
+ 'Where the sets land': 'Hova esnek a sorozatok',
+ 'Most working sets belong close to failure without living there — half at the floor and half at the top average out to a healthy-looking middle.': 'A legtöbb munkasorozat közel van a kimerüléshez anélkül, hogy ott élne — fele lent, fele fent, ez egészségesnek tűnő átlagot ad.',
+ 'Average effort per workout': 'Átlagos megerőltetés edzésenként',
+ 'A fuller dot means less left in the tank — the same weight at a lower {0} is progress the line alone does not show.': 'Egy teltebb pont kevesebb tartalékot jelent — ugyanaz a súly alacsonyabb {0} mellett olyan fejlődés, amit a vonal önmagában nem mutat.',
+ // --- bodyweight & per side ---
+ 'Bodyweight': 'Testsúly',
+ 'No weight to enter — just log the reps.': 'Nincs beírandó súly — csak az ismétléseket rögzítsd.',
+ 'Ask for a weight on every set.': 'Kérjen súlyt minden sorozatnál.',
+ 'For dips or pull-ups with a belt. Progression then follows the weight.': 'Övvel végzett tolódzkodáshoz vagy húzódzkodáshoz. A progresszió ekkor a súlyt követi.',
+ 'Reps per side': 'Ismétlés oldalanként',
+ 'For lunges, single-arm rows and the like.': 'Kitörésekhez, egykezes evezéshez és hasonlókhoz.',
+ 'Top of the range': 'A tartomány teteje',
+ 'Reps climb by one whenever every set was clean. Set a ceiling to add sets instead of reps forever.': 'Az ismétlésszám eggyel nő, ha minden sorozat tiszta volt. Állíts be egy felső határt, hogy ne az ismétlések nőjenek a végtelenségig, hanem sorozat kerüljön hozzá.',
+ 'Reps climb to {0}, then a set is added and the reps start over. At {1} sets it asks you to add weight instead.': 'Az ismétlésszám {0}-ig nő, utána egy sorozat kerül hozzá, és az ismétlés újraindul. {1} sorozatnál inkább súlynövelést javasol.',
+ 'Added ({0})': 'Hozzáadva ({0})',
+ '{0}/side': '{0}/oldal',
+ '{0} reps in every set — add a set and go back to {1}.': '{0} ismétlés minden sorozatban — egy sorozat hozzáadva, vissza {1}-re.',
+ '{0} sets of {1} — time to add weight or move to a harder variation.': '{0} sorozat {1} ismétléssel — ideje súlyt hozzáadni vagy nehezebb variációra váltani.',
+ '{0} per side': '{0} oldalanként',
+ 'You still log the total: {0} is {1} per side.': 'Továbbra is az összeset rögzíted: {0} az {1} oldalanként.',
+ '{0} sets · {1} work': '{0} sorozat · {1} munka',
+ 'Make superset with previous': 'Szuperszett az előzővel',
+ 'Make superset with next': 'Szuperszett a következővel',
+ 'primary': 'elsődleges',
+ 'secondary': 'másodlagos',
+ 'No exercises with an estimated 1RM yet.': 'Még nincs gyakorlat becsült 1RM-mel.',
+ 'Tap a muscle to see its exercises.': 'Koppints egy izomra, hogy lásd a hozzá tartozó gyakorlatokat.',
+ 'Unpair': 'Szétkapcsolás',
+ 'Rest-pause always trains as one warm-up set at this rep count, then one rest-pause work set — "Sets" is not used.': 'A rest-pause mindig egy bemelegítő sorozatként indul ennyi ismétléssel, majd egy rest-pause munkasorozatként folytatódik — a „Sorozatok” mező nem használt.',
+ 'How the session went as a whole.': 'Hogyan ment az edzés egészében.',
+ 'Edit session note': 'Edzésjegyzet szerkesztése',
+ 'Add session note': 'Edzésjegyzet hozzáadása',
+ 'Session note': 'Edzésjegyzet',
+ 'From {0}:': 'Dátum: {0}',
+ 'Seat height, pin position, a form cue — shown every session.': 'Ülésmagasság, pin pozíció, egy kivitelezési tipp — minden edzésen megjelenik.',
+ 'Always for this exercise': 'Mindig ennél a gyakorlatnál',
+ 'Brings it up again the next time you train this exercise.': 'Legközelebb, amikor ezt a gyakorlatot végzed, újra megjelenik.',
+ 'Show this next time': 'Mutasd legközelebb is',
+ 'How it went, what to change — kept with today’s workout.': 'Hogyan ment, mit változtass — a mai edzéssel együtt marad meg.',
+ 'This session': 'Ez az edzés',
+ 'Note': 'Megjegyzés',
+ 'Ramp-up sets added before the work sets, so you do not have to add them by hand each session.': 'Fokozatosan növekvő sorozatok a munkasorozatok elé, hogy ne kelljen minden edzésen kézzel hozzáadnod őket.',
+ 'Added before your work sets and left out of volume, records and progression. Each one closes half the gap to the work weight — you can still change any of them mid-session.': 'A munkasorozatok elé kerülnek, és nem számítanak bele a volumenbe, a rekordokba és a progresszióba. Mindegyik a felénél zárja a különbséget a munkasúlyhoz — edzés közben bármelyiket módosíthatod.',
+ 'Warm-up sets': 'Bemelegítő sorozatok',
+ 'Most reps in a set per workout': 'Legtöbb ismétlés egy sorozatban edzésenként',
+ 'reps': 'ism.',
+ 'Workout done': 'Edzés kész',
+ '{0} — done': '{0} — kész',
+ 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'A helyi mód mindent ezen a telefonon tart. A csatlakozás helyette a saját openGym szervereddel szinkronizál — ezt később a Beállításokban módosíthatod.',
+ 'Use on this device': 'Használat ezen az eszközön',
+ 'How do you want to use openGym?': 'Hogyan szeretnéd használni az openGym-et?',
+ 'Connect': 'Csatlakozás',
+ 'Connecting…': 'Csatlakozás…',
+ 'Pairing code': 'Párosítási kód',
+ 'Server address (e.g. gym.example.com)': 'Szerver címe (pl. gym.example.com)',
+ 'Open Settings → “Pair the mobile app” on the openGym site you’re already signed into, then enter its address and the code shown there.': 'Nyisd meg a Beállítások → „Mobilalkalmazás párosítása” menüpontot azon az openGym oldalon, ahová már be vagy jelentkezve, majd add meg az ott látható címet és kódot.',
+ 'Could not connect': 'Nem sikerült csatlakozni',
+ 'Connected': 'Csatlakozva',
+ 'Enter your server address and the code': 'Add meg a szervered címét és a kódot',
+ 'On the openGym app, choose “Connect to my server”, then enter this address and the code below. It expires in 5 minutes.': 'Az openGym appban válaszd a „Csatlakozás a szerveremhez” lehetőséget, majd add meg ezt a címet és az alábbi kódot. 5 perc alatt jár le.',
+ 'Could not generate a code': 'Nem sikerült kódot generálni',
+ 'Connect the openGym app on your phone to this account.': 'Kösd össze a telefonodon lévő openGym appot ezzel a fiókkal.',
+ 'Pair the mobile app': 'Mobilalkalmazás párosítása',
+ 'Sync this device to your own self-hosted openGym instead.': 'Szinkronizáld inkább ezt az eszközt a saját self-hosted openGym-eddel.',
+ 'Connect to my server': 'Csatlakozás a szerveremhez',
+ 'Disconnected — back to local-only': 'Leválasztva — vissza csak-helyi módba',
+ 'Your data is synced to your server first, then this device switches back to local-only.': 'Az adataid előbb szinkronizálódnak a szerverrel, majd ez az eszköz visszavált csak-helyi módba.',
+ 'Disconnect from your server?': 'Leválasztás a szerverről?',
+ 'Disconnect': 'Leválasztás',
+ 'Synced with your openGym server.': 'Szinkronizálva az openGym szervereddel.',
+ 'Your server': 'A szervered',
+ 'No explicit muscle group': 'Nincs megadott izomcsoport',
+ 'Additional muscle groups': 'További izomcsoportok',
+ 'Primary muscle groups': 'Elsődleges izomcsoportok',
+ 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'Szűri a gyakorlattárat és a választót, és megjelöli a rutinok azon gyakorlatait, amelyekhez olyasmi kell, ami nincs az aktív profilodban.',
+ '"{0}" and its equipment list will be removed.': '„{0}” és az eszközlistája el lesz távolítva.',
+ 'Delete profile?': 'Profil törlése?',
+ 'Add equipment profile': 'Eszközprofil hozzáadása',
+ '{0} equipment types': '{0} eszköztípus',
+ 'Active profile': 'Aktív profil',
+ 'Filter by equipment': 'Szűrés eszköz szerint',
+ 'Needs {0} — not in your active profile': '{0} szükséges — nincs az aktív profilodban',
+ '{0} of {1} exercises need equipment outside "{2}"': '{0}/{1} gyakorlathoz kell eszköz a(z) „{2}” profilon kívülről',
+ 'Body-weight exercises are always available, in every profile.': 'A testsúlyos gyakorlatok minden profilban mindig elérhetők.',
+ 'Profile name': 'Profil neve',
+ 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': 'Nevezd el arról a helyről, ahol edzel — pl. „Otthon” vagy „Terem” —, majd pipáld ki, ami ott megvan.',
+ 'New equipment profile': 'Új eszközprofil',
+ 'Edit profile': 'Profil szerkesztése',
+ 'Filter by "{0}"': 'Szűrés erre: „{0}”',
+ 'Show all equipment': 'Minden eszköz megjelenítése',
+ 'Showing what you have in "{0}"': 'Az jelenik meg, ami megvan a(z) „{0}” profilban',
+ 'Showing all equipment': 'Minden eszköz megjelenítve',
+ 'Move up': 'Feljebb',
+ 'Move down': 'Lejjebb',
++ 'Swap exercise': 'Gyakorlat cseréje',
++ 'Swap exercise?': 'Cseréled a gyakorlatot?',
++ 'Logged sets stay with the original exercise. Choose where the replacement belongs.': 'A naplózott sorozatok az eredeti gyakorlatnál maradnak. Válaszd ki, hová kerüljön a csere.',
++ 'Keep replacement in this group': 'A csere maradjon ebben a csoportban',
++ 'Insert after this group': 'Beszúrás a csoport után',
++ 'Logged sets stay with the original exercise. The replacement will be inserted afterward.': 'A naplózott sorozatok az eredeti gyakorlatnál maradnak. A csere utána kerül beszúrásra.',
+}
diff --cc frontend/src/locales/it.js
index 4d80b7e9f,f860f227f..4ef387a07
--- a/frontend/src/locales/it.js
+++ b/frontend/src/locales/it.js
@@@ -555,10 -518,8 +555,11 @@@ export default
'Step ({0})': 'Incremento ({0})',
'Step (seconds)': 'Incremento (secondi)',
'Reps from': 'Rip. da',
+ 'Reps up to': 'Rip. fino a',
'No automatic progression': 'Nessuna progressione automatica',
+ 'Exclude from automatic progression': 'Escludi dalla progressione automatica',
+ 'Use for planned deloads. Workouts stay in history and statistics.': 'Usa per gli scarichi programmati. Gli allenamenti restano nella cronologia e nelle statistiche.',
+ 'The next regular target continues from the last included workout.': 'Il prossimo obiettivo normale continua dall’ultimo allenamento incluso.',
'Linear progression': 'Progressione lineare',
'Greyskull LP': 'Greyskull LP',
'Double progression': 'Doppia progressione',
diff --cc frontend/src/locales/ko.js
index 82b6fcb82,e32e462e5..2de66234f
--- a/frontend/src/locales/ko.js
+++ b/frontend/src/locales/ko.js
@@@ -555,10 -518,8 +555,11 @@@ export default
'Step ({0})': '증가폭 ({0})',
'Step (seconds)': '증가폭 (초)',
'Reps from': '최소 횟수',
+ 'Reps up to': '최대 횟수',
'No automatic progression': '자동 증가 없음',
+ 'Exclude from automatic progression': '자동 증가에서 제외',
+ 'Use for planned deloads. Workouts stay in history and statistics.': '계획된 디로딩에 사용합니다. 운동은 기록과 통계에 남습니다.',
+ 'The next regular target continues from the last included workout.': '다음 일반 목표는 마지막으로 포함된 운동에서 이어집니다.',
'Linear progression': '선형 증가',
'Greyskull LP': 'Greyskull LP',
'Double progression': '이중 점증',
diff --cc frontend/src/locales/pl.js
index 0929580e0,3ad8d7bb1..0fabeb629
--- a/frontend/src/locales/pl.js
+++ b/frontend/src/locales/pl.js
@@@ -555,10 -518,8 +555,11 @@@ export default
'Step ({0})': 'Skok ({0})',
'Step (seconds)': 'Skok (sekundy)',
'Reps from': 'Powt. od',
+ 'Reps up to': 'Powt. do',
'No automatic progression': 'Bez automatycznej progresji',
+ 'Exclude from automatic progression': 'Wyklucz z automatycznej progresji',
+ 'Use for planned deloads. Workouts stay in history and statistics.': 'Użyj dla planowanych deloadów. Treningi pozostają w historii i statystykach.',
+ 'The next regular target continues from the last included workout.': 'Następny zwykły cel bazuje na ostatnim uwzględnionym treningu.',
'Linear progression': 'Progresja liniowa',
'Greyskull LP': 'Greyskull LP',
'Double progression': 'Podwójna progresja',
diff --cc frontend/src/locales/pt.js
index 3bbd81c7a,c8562b7df..6beb3ccf6
--- a/frontend/src/locales/pt.js
+++ b/frontend/src/locales/pt.js
@@@ -555,10 -518,8 +555,11 @@@ export default
'Step ({0})': 'Incremento ({0})',
'Step (seconds)': 'Incremento (segundos)',
'Reps from': 'Reps a partir de',
+ 'Reps up to': 'Reps até',
'No automatic progression': 'Sem progressão automática',
+ 'Exclude from automatic progression': 'Excluir da progressão automática',
+ 'Use for planned deloads. Workouts stay in history and statistics.': 'Use para deloads planeados. Os treinos permanecem no histórico e nas estatísticas.',
+ 'The next regular target continues from the last included workout.': 'O próximo objetivo normal continua a partir do último treino incluído.',
'Linear progression': 'Progressão linear',
'Greyskull LP': 'Greyskull LP',
'Double progression': 'Progressão dupla',
diff --cc frontend/src/locales/ru.js
index d656b4be8,0cf2dfac2..6418392b0
--- a/frontend/src/locales/ru.js
+++ b/frontend/src/locales/ru.js
@@@ -555,10 -518,8 +555,11 @@@ export default
'Step ({0})': 'Шаг ({0})',
'Step (seconds)': 'Шаг (секунды)',
'Reps from': 'Повт. от',
+ 'Reps up to': 'Повт. до',
'No automatic progression': 'Без автопрогрессии',
+ 'Exclude from automatic progression': 'Исключить из автоматической прогрессии',
+ 'Use for planned deloads. Workouts stay in history and statistics.': 'Используйте для плановых разгрузок. Тренировки остаются в истории и статистике.',
+ 'The next regular target continues from the last included workout.': 'Следующая обычная цель продолжает прогрессию от последней учтённой тренировки.',
'Linear progression': 'Линейная прогрессия',
'Greyskull LP': 'Greyskull LP',
'Double progression': 'Двойная прогрессия',
diff --cc frontend/src/locales/th.js
index 70f0f4283,000000000..5111db203
mode 100644,000000..100644
--- a/frontend/src/locales/th.js
+++ b/frontend/src/locales/th.js
@@@ -1,694 -1,0 +1,700 @@@
+// Thai UI strings. Keys are the English source strings (see lib/i18n.js).
+export default {
+ // --- generic ---
+ 'Confirm': 'ยืนยัน',
+ 'Cancel': 'ยกเลิก',
+ 'Press back again to exit': 'กดย้อนกลับอีกครั้งเพื่อออก',
+ 'Delete': 'ลบ',
+ 'Save': 'บันทึก',
+ 'Import': 'นำเข้า',
+ 'Discard': 'ทิ้ง',
+ 'All': 'ทั้งหมด',
+ 'Rest': 'พัก',
+ 'On': 'เปิด',
+ 'Off': 'ปิด',
+ 'On 🔔': 'เปิด 🔔',
+ 'Off 🔕': 'ปิด 🔕',
+ 'Skip': 'ข้าม',
+ 'New': 'ใหม่',
+ 'Log': 'บันทึก',
+ 'Goal': 'เป้าหมาย',
+ 'Plan': 'แผน',
+ 'Today': 'วันนี้',
+ 'Home': 'หน้าหลัก',
+ 'Start': 'เริ่ม',
+ 'Resume': 'เล่นต่อ',
+ 'Stats': 'สถิติ',
+ 'Exercises': 'ท่าออกกำลังกาย',
+ 'History': 'ประวัติ',
+ 'Settings': 'ตั้งค่า',
+ 'Freestyle': 'ฟรีสไตล์',
+ 'Routine': 'รูทีน',
+ 'routine': 'รูทีน',
+ 'Cardio': 'คาร์ดิโอ',
+ 'Superset': 'ซูเปอร์เซ็ต',
+ 'last': 'ครั้งล่าสุด',
+ 'rescheduled': 'เลื่อนแล้ว',
+ 'Prev': 'ก่อนหน้า',
+ 'Next': 'ถัดไป',
+ // --- days & months ---
+ 'Sunday': 'วันอาทิตย์', 'Monday': 'วันจันทร์', 'Tuesday': 'วันอังคาร', 'Wednesday': 'วันพุธ',
+ 'Thursday': 'วันพฤหัสบดี', 'Friday': 'วันศุกร์', 'Saturday': 'วันเสาร์',
+ 'Su': 'อา', 'Mo': 'จ', 'Tu': 'อ', 'We': 'พ', 'Th': 'พฤ', 'Fr': 'ศ', 'Sa': 'ส',
+ 'Mon': 'จ', 'Wed': 'พ', 'Fri': 'ศ',
+ 'Jan': 'ม.ค.', 'Feb': 'ก.พ.', 'Mar': 'มี.ค.', 'Apr': 'เม.ย.', 'May': 'พ.ค.', 'Jun': 'มิ.ย.',
+ 'Jul': 'ก.ค.', 'Aug': 'ส.ค.', 'Sep': 'ก.ย.', 'Oct': 'ต.ค.', 'Nov': 'พ.ย.', 'Dec': 'ธ.ค.',
+ 'January': 'มกราคม', 'February': 'กุมภาพันธ์', 'March': 'มีนาคม', 'April': 'เมษายน',
+ 'June': 'มิถุนายน', 'July': 'กรกฎาคม', 'August': 'สิงหาคม', 'September': 'กันยายน',
+ 'October': 'ตุลาคม', 'November': 'พฤศจิกายน', 'December': 'ธันวาคม',
+ // --- body weight & goal ---
+ 'Quick check-in': 'เช็คอินด่วน',
+ 'Log body weight': 'บันทึกน้ำหนักตัว',
+ 'Slide or tap to set your weight — tracked before every workout so your curve stays honest.': 'เลื่อนหรือแตะเพื่อตั้งน้ำหนัก — บันทึกก่อนออกกำลังกายทุกครั้งเพื่อให้กราฟตรงตามจริง',
+ 'Save & start workout': 'บันทึกแล้วเริ่มออกกำลังกาย',
+ 'Start without weighing in': 'เริ่มโดยไม่ชั่งน้ำหนัก',
+ 'Choose a different workout': 'เลือกโปรแกรมอื่น',
+ 'Recent weigh-ins': 'น้ำหนักล่าสุด',
+ 'Enter a valid weight': 'กรอกน้ำหนักที่ถูกต้อง',
+ 'Weight saved': 'บันทึกน้ำหนักแล้ว',
+ 'Target weight': 'น้ำหนักเป้าหมาย',
+ 'Your goal is drawn as a line through the weight charts, and gains/losses are colored by whether they move toward it.': 'เป้าหมายจะแสดงเป็นเส้นในกราฟน้ำหนัก และการเพิ่ม/ลดจะใช้สีบอกว่ากำลังเข้าใกล้เป้าหมายหรือไม่',
+ 'Save goal': 'บันทึกเป้าหมาย',
+ 'Goal set: {0}': 'ตั้งเป้าหมาย: {0}',
+ '{0} to go': 'เหลืออีก {0}',
+ 'Goal removed': 'ลบเป้าหมายแล้ว',
+ 'Remove goal': 'ลบเป้าหมาย',
+ 'Body weight': 'น้ำหนักตัว',
+ 'reached!': 'ถึงเป้าแล้ว!',
+ '{0} to gain': 'ต้องเพิ่มอีก {0}',
+ '{0} to lose': 'ต้องลดอีก {0}',
+ "No entries yet — log your weight to start the curve. It's also asked before every workout.": 'ยังไม่มีข้อมูล — บันทึกน้ำหนักเพื่อเริ่มกราฟ ระบบจะถามทุกครั้งก่อนออกกำลังกายด้วย',
+ // --- exercise detail / picker / config ---
+ 'Best:': 'ดีที่สุด:',
+ 'Add to my plan': 'เพิ่มเข้าแผนของฉัน',
+ 'How to': 'วิธีทำ',
+ 'instructions in English': 'คำแนะนำเป็นภาษาอังกฤษ',
+ 'New routine': 'รูทีนใหม่',
+ 'Add “{0}”': 'เพิ่ม “{0}”',
+ '“{0}” added to {1}': 'เพิ่ม “{0}” เข้า {1} แล้ว',
+ 'Pick a routine — sets, reps & weight come next.': 'เลือกรูทีน — เซ็ต, ครั้ง และน้ำหนักตามมาทีหลัง',
+ '{0} exercises': '{0} ท่า',
+ '{0} exercise': '{0} ท่า',
+ 'already in': 'มีอยู่แล้วใน',
+ 'Create one and start with this exercise': 'สร้างใหม่และเริ่มด้วยท่านี้',
+ 'Add exercise': 'เพิ่มท่าออกกำลังกาย',
+ 'Search {0} exercises…': 'ค้นหาใน {0} ท่า…',
+ 'Chosen': 'ที่เลือกไว้',
+ 'Nothing chosen yet — add exercises and they’ll show up here.': 'ยังไม่ได้เลือกอะไรเลย — เพิ่มท่าออกกำลังกายแล้วจะโผล่มาที่นี่',
+ 'No match': 'ไม่พบผลลัพธ์',
+ 'Show more': 'แสดงเพิ่ม',
+ 'Intervals': 'อินเทอร์วัล',
+ 'Minutes': 'นาที',
+ 'Speed (km/h)': 'ความเร็ว (กม./ชม.)',
+ 'Sets': 'เซ็ต',
+ 'Reps': 'ครั้ง',
+ 'Weight ({0})': 'น้ำหนัก ({0})',
+ 'Add to routine': 'เพิ่มเข้ารูทีน',
+ 'Remove exercise': 'ลบท่าออกกำลังกาย',
+ 'Remove {0}?': 'ลบ {0}?',
+ 'The sets you logged for this exercise in this session will be lost.': 'เซ็ตที่บันทึกไว้สำหรับท่านี้ในรอบนี้จะหายไป',
+ 'This removes the exercise from your current session.': 'จะลบท่านี้ออกจากรอบออกกำลังกายปัจจุบันของคุณ',
+ 'Remove': 'ลบ',
+ 'Which exercise in this superset do you want to remove?': 'ต้องการลบท่าไหนในซูเปอร์เซ็ตนี้?',
+ 'Pick an icon': 'เลือกไอคอน',
+ // --- day planning / calendar ---
+ 'Back to weekly plan': 'กลับไปแผนรายสัปดาห์',
+ '{0} set to rest': 'ตั้ง {0} เป็นวันพักแล้ว',
+ '{0} planned for {1}': 'วางแผน {0} ไว้สำหรับ {1}',
+ 'Weekly plan:': 'แผนรายสัปดาห์:',
+ 'changed for this day': 'เปลี่ยนสำหรับวันนี้',
+ 'Sick, missed a day or want a different session? Pick what to train instead.': 'ป่วย, ขาดวัน หรืออยากเปลี่ยนโปรแกรม? เลือกสิ่งที่จะฝึกแทนได้เลย',
+ 'Rest / skip this day': 'พัก / ข้ามวันนี้',
+ 'Rest day': 'วันพัก',
+ '{0} workout': '{0} ครั้ง',
+ '{0} workouts': '{0} ครั้ง',
+ 'No workouts this month': 'ไม่มีการออกกำลังกายในเดือนนี้',
+ 'Trained': 'ออกกำลังกายแล้ว',
+ 'Planned': 'วางแผนไว้',
+ 'Rescheduled': 'เลื่อนแล้ว',
+ 'Tap a trained day for details · tap any other day to plan a session': 'แตะวันที่ออกกำลังกายแล้วเพื่อดูรายละเอียด · แตะวันอื่นเพื่อวางแผน',
+ // --- workout lifecycle ---
+ '{0} sets': '{0} เซ็ต',
+ 'no sets': 'ไม่มีเซ็ต',
+ 'Delete workout?': 'ลบการออกกำลังกายนี้?',
+ 'This removes it from your history for good.': 'จะลบออกจากประวัติอย่างถาวร',
+ 'Workout deleted': 'ลบการออกกำลังกายแล้ว',
+ 'Delete workout': 'ลบการออกกำลังกาย',
+ '{0} done': 'เสร็จแล้ว {0}',
+ 'Confirm the weight you worked with — your highest becomes the default next time.': 'ยืนยันน้ำหนักที่ใช้ — น้ำหนักสูงสุดจะถูกตั้งเป็นค่าเริ่มต้นในครั้งถัดไป',
+ 'Then finish the superset partner.': 'จากนั้นทำท่าคู่ซูเปอร์เซ็ตให้เสร็จ',
+ 'Previous best:': 'สถิติก่อนหน้า:',
+ 'new record!': 'สถิติใหม่!',
+ 'Save & next exercise': 'บันทึกแล้วไปท่าถัดไป',
+ 'Just close': 'ปิดเฉยๆ',
+ 'Save weight': 'บันทึกน้ำหนัก',
+ 'Tracked — next time starts at {0}': 'บันทึกแล้ว — ครั้งถัดไปเริ่มที่ {0}',
+ "That's the whole workout!": 'ครบทุกท่าแล้ว!',
+ 'Every exercise done — great work. Finish up, or keep going and add another exercise.': 'ทำครบทุกท่าแล้ว เยี่ยมมาก จะจบเลยหรือเพิ่มท่าต่อก็ได้',
+ 'Finish workout': 'จบการออกกำลังกาย',
+ 'Continue workout': 'ออกกำลังกายต่อ',
+ 'Keep going — tap “+ Add exercise” below': 'ทำต่อได้เลย — แตะ “+ เพิ่มท่าออกกำลังกาย” ด้านล่าง',
+ 'Workout complete!': 'ออกกำลังกายเสร็จสิ้น!',
+ 'Duration': 'ระยะเวลา',
+ 'Volume': 'ปริมาณงาน',
+ 'PRs': 'สถิติใหม่',
+ 'New PR:': 'สถิติใหม่:',
+ 'Nice!': 'เยี่ยม!',
+ 'Nothing logged yet': 'ยังไม่มีการบันทึก',
+ 'You haven’t checked off any sets. Finish the workout anyway?': 'คุณยังไม่ได้ติ๊กเซ็ตไหนเลย จะจบการออกกำลังกายเลยไหม?',
+ 'Finish anyway': 'จบเลย',
+ 'Finish early?': 'จบก่อนกำหนด?',
+ '{0} set still unchecked. Finish the workout now?': 'ยังมี {0} เซ็ตที่ยังไม่ติ๊ก จะจบตอนนี้เลยไหม?',
+ '{0} sets still unchecked. Finish the workout now?': 'ยังมี {0} เซ็ตที่ยังไม่ติ๊ก จะจบตอนนี้เลยไหม?',
+ // --- workout view ---
+ 'Start workout': 'เริ่มออกกำลังกาย',
+ 'today is {0}': 'วันนี้คือ {0}',
+ 'rest day, but no one’s stopping you': 'วันพัก แต่ไม่มีใครห้ามคุณได้หรอก',
+ "Today's plan": 'แผนวันนี้',
+ 'Start {0} ▶': 'เริ่ม {0} ▶',
+ 'Other routines': 'รูทีนอื่น',
+ 'Start ▶': 'เริ่ม ▶',
+ 'Freestyle workout (pick as you go)': 'ออกกำลังกายแบบฟรีสไตล์ (เลือกท่าไปเรื่อยๆ)',
+ 'Build a plan first': 'สร้างแผนก่อน',
+ 'Duration (min)': 'ระยะเวลา (นาที)',
+ 'Last time': 'ครั้งก่อน',
+ 'Last time you hit all reps — try {0}': 'ครั้งก่อนทำครบทุกครั้งแล้ว — ลอง {0}',
+ 'Weights bumped to {0}': 'เพิ่มน้ำหนักเป็น {0}',
+ 'Remove set': 'ลบเซ็ต',
+ 'Warm-up': 'วอร์มอัพ',
+ 'Add warm-up set': 'เพิ่มเซ็ตวอร์มอัพ',
+ 'Add set': 'เพิ่มเซ็ต',
+ '+ Drop': '+ ดรอป',
+ '+ Burst': '+ เบิร์สต์',
+ 'Drop {0}': 'ดรอป {0}',
+ 'Burst {0}': 'เบิร์สต์ {0}',
+ 'Remove drop': 'ลบดรอป',
+ 'Remove burst': 'ลบเบิร์สต์',
+ 'Rest (s)': 'พัก (วินาที)',
+ 'Drop-set / rest-pause': 'ดรอปเซ็ต / เรสต์-พอส',
+ 'Intensifier': 'เทคนิคเพิ่มความหนัก',
+ 'None': 'ไม่มี',
+ 'Drop-set': 'ดรอปเซ็ต',
+ 'Rest-pause': 'เรสต์-พอส',
+ 'Drops': 'จำนวนดรอป',
+ 'Weight drop (%)': 'ลดน้ำหนัก (%)',
+ 'Rest-pause reps': 'จำนวนครั้งเรสต์-พอส',
+ 'Rest-pause rest': 'พักเรสต์-พอส',
+ 'Every set becomes a drop-set: after the main set, {0} drop(s) with no rest, each about {1}% lighter.': 'ทุกเซ็ตจะกลายเป็นดรอปเซ็ต: หลังเซ็ตหลักจะมี {0} ดรอปโดยไม่พัก แต่ละดรอปเบาลงประมาณ {1}%',
+ 'Every set becomes rest-pause: {0} reps to start, then {1} more split into short bursts, {2}s rest before each, roughly halving each time.': 'ทุกเซ็ตจะกลายเป็นเรสต์-พอส: เริ่มด้วย {0} ครั้ง จากนั้นอีก {1} ครั้งแบ่งเป็นชุดสั้น ๆ พัก {2} วินาทีก่อนแต่ละชุด โดยลดลงเกือบครึ่งทุกครั้ง',
+ 'Cardio logged': 'บันทึกคาร์ดิโอแล้ว',
+ 'Discard workout?': 'ทิ้งการออกกำลังกายนี้?',
+ 'The sets you logged in this session will be lost.': 'เซ็ตที่บันทึกไว้ในรอบนี้จะหายไป',
+ 'Superset {0} / {1}': 'ซูเปอร์เซ็ต {0} / {1}',
+ 'Exercise {0} / {1}': 'ท่า {0} / {1}',
+ 'Superset · do these back-to-back, rest when done': 'ซูเปอร์เซ็ต · ทำต่อเนื่องกัน แล้วค่อยพักหลังทำครบทั้งคู่',
+ 'Freestyle workout — add your first exercise.': 'ออกกำลังกายแบบฟรีสไตล์ — เพิ่มท่าแรกของคุณ',
+ 'Finish workout early · {0} exercises': 'จบก่อนกำหนด · {0} ท่า',
+ 'Rest over — next set!': 'หมดเวลาพัก — เซ็ตถัดไป!',
+ // --- home ---
+ 'Hi {0}': 'สวัสดี {0}',
+ 'This week': 'สัปดาห์นี้',
+ '{0} — in progress': '{0} — กำลังดำเนินการ',
+ 'Resume ▶': 'เล่นต่อ ▶',
+ 'Welcome!': 'ยินดีต้อนรับ!',
+ 'Set up your weekly routine to get going — or load a ready-made Push / Pull / Legs plan.': 'ตั้งค่ารูทีนรายสัปดาห์เพื่อเริ่มต้น — หรือโหลดแผนสำเร็จรูป Push / Pull / Legs',
+ 'Load starter plan (PPL)': 'โหลดแผนเริ่มต้น (PPL)',
+ 'Build my own plan': 'สร้างแผนของตัวเอง',
+ '{0} week streak': 'ต่อเนื่อง {0} สัปดาห์',
+ 'this week': 'สัปดาห์นี้',
+ '{0} workout total': 'รวมทั้งหมด {0} ครั้ง',
+ '{0} workouts total': 'รวมทั้งหมด {0} ครั้ง',
+ // --- stats ---
+ 'Progress & history': 'ความคืบหน้าและประวัติ',
+ 'Workouts': 'การออกกำลังกาย',
+ 'This month': 'เดือนนี้',
+ 'Week streak': 'ต่อเนื่องรายสัปดาห์',
+ 'Weight 30d': 'น้ำหนัก 30 วัน',
+ 'Activity — last 12 months': 'กิจกรรม — 12 เดือนล่าสุด',
+ 'by time trained': 'ตามเวลาที่ฝึก',
+ 'Exercise progress': 'ความคืบหน้าของท่า',
+ 'Top speed per workout': 'ความเร็วสูงสุดต่อครั้ง',
+ 'Best set weight per workout': 'น้ำหนักเซ็ตดีที่สุดต่อครั้ง',
+ 'Finish your first workout to see progress curves here.': 'จบการออกกำลังกายครั้งแรกเพื่อดูกราฟความคืบหน้าที่นี่',
+ 'Recent workouts': 'การออกกำลังกายล่าสุด',
+ 'Less time': 'เวลาน้อย',
+ 'More time': 'เวลามาก',
+ 'No data yet': 'ยังไม่มีข้อมูล',
+ // --- plan view ---
+ 'Your weekly routine': 'รูทีนรายสัปดาห์ของคุณ',
+ 'Week schedule': 'ตารางรายสัปดาห์',
+ 'Routines': 'รูทีน',
+ 'No routines yet.': 'ยังไม่มีรูทีน',
+ 'Create one or load the starter plan.': 'สร้างใหม่หรือโหลดแผนเริ่มต้น',
+ 'Load starter plan (Push / Pull / Legs)': 'โหลดแผนเริ่มต้น (Push / Pull / Legs)',
+ // --- routine edit ---
+ 'Superset with exercise above': 'ซูเปอร์เซ็ตกับท่าด้านบน',
+ 'Note (optional) — loading cues, "bar only then +1 plate/side each set", anything worth remembering here': 'บันทึก (ไม่บังคับ) — เคล็ดลับการตั้งน้ำหนัก เช่น "เอาแค่บาร์เปล่าก่อน แล้วค่อยเพิ่มแผ่นละ 1 แผ่นต่อข้างทุกเซ็ต" หรืออะไรก็ตามที่อยากจดจำไว้',
+ 'No exercises yet — add your first one.': 'ยังไม่มีท่า — เพิ่มท่าแรกของคุณ',
+ 'Tap the link button on an exercise to superset it with the one above — you’ll do them back-to-back.': 'แตะปุ่มเชื่อมที่ท่าออกกำลังกายเพื่อทำเป็นซูเปอร์เซ็ตกับท่าด้านบน — จะทำต่อเนื่องกัน',
+ 'Delete routine?': 'ลบรูทีนนี้?',
+ '“{0}” and its exercises will be removed.': '“{0}” และท่าทั้งหมดในนั้นจะถูกลบ',
+ 'Delete routine': 'ลบรูทีน',
+ // --- library / history ---
+ '{0} exercises with animations': '{0} ท่าพร้อมภาพเคลื่อนไหว',
+ 'Search…': 'ค้นหา…',
+ 'No workouts yet.': 'ยังไม่มีการออกกำลังกาย',
+ 'Starter plan loaded — Mon Push · Wed Pull · Fri Legs': 'โหลดแผนเริ่มต้นแล้ว — จ. Push · พ. Pull · ศ. Legs',
+ // --- login / account ---
+ 'Enter a name': 'กรอกชื่อ',
+ 'Profile created — data from this device moved into it': 'สร้างโปรไฟล์แล้ว — ย้ายข้อมูลจากเครื่องนี้เข้าไปแล้ว',
+ 'Profile created — data moved into it': 'สร้างโปรไฟล์แล้ว — ย้ายข้อมูลเข้าไปแล้ว',
+ 'Welcome, {0}': 'ยินดีต้อนรับ {0}',
+ 'Welcome back, {0}': 'ยินดีต้อนรับกลับมา {0}',
+ 'Registration failed': 'สมัครไม่สำเร็จ',
+ 'Sign-in failed': 'เข้าสู่ระบบไม่สำเร็จ',
+ 'Create your profile': 'สร้างโปรไฟล์ของคุณ',
+ 'Pick a name, then confirm with {0}. The passkey is saved in your device — no password needed.': 'ตั้งชื่อแล้วยืนยันด้วย {0} พาสคีย์จะถูกเก็บไว้ในเครื่องคุณ — ไม่ต้องใช้รหัสผ่าน',
+ 'Pick a name, then confirm with your device.': 'ตั้งชื่อแล้วยืนยันด้วยเครื่องของคุณ',
+ 'Your name': 'ชื่อของคุณ',
+ 'Create passkey': 'สร้างพาสคีย์',
+ 'Your workouts. Your weights. Your profile.': 'การออกกำลังกายของคุณ น้ำหนักของคุณ โปรไฟล์ของคุณ',
+ 'Sign in with passkey': 'เข้าสู่ระบบด้วยพาสคีย์',
+ 'Create new profile': 'สร้างโปรไฟล์ใหม่',
+ "This browser doesn't support passkeys — you can still use openGym locally on this device.": 'เบราว์เซอร์นี้ไม่รองรับพาสคีย์ — แต่ยังใช้ openGym บนเครื่องนี้ได้ตามปกติ',
+ "This browser doesn't support passkeys, and this instance requires an account. Try a browser or device with passkey support.": 'เบราว์เซอร์นี้ไม่รองรับพาสคีย์ และเซิร์ฟเวอร์นี้ต้องมีบัญชีผู้ใช้ ลองใช้เบราว์เซอร์หรืออุปกรณ์ที่รองรับพาสคีย์',
+ 'Continue without account': 'ใช้งานต่อโดยไม่มีบัญชี',
+ 'Passkeys use {0} — no passwords.': 'พาสคีย์ใช้ {0} — ไม่ต้องใช้รหัสผ่าน',
+ 'Each profile keeps its own plan, workouts & body weight.': 'แต่ละโปรไฟล์เก็บแผน, การออกกำลังกาย และน้ำหนักตัวของตัวเองแยกกัน',
+ // --- settings ---
+ 'Account': 'บัญชี',
+ 'Signed in with passkey — data syncs to this profile.': 'เข้าสู่ระบบด้วยพาสคีย์แล้ว — ข้อมูลจะซิงค์กับโปรไฟล์นี้',
+ 'Sign out?': 'ออกจากระบบ?',
+ 'Your data is synced to your profile first, then cleared from this device.': 'ข้อมูลจะถูกซิงค์กับโปรไฟล์ก่อน แล้วค่อยล้างออกจากเครื่องนี้',
+ 'Sign out': 'ออกจากระบบ',
+ 'Sign out everywhere?': 'ออกจากระบบทุกอุปกรณ์?',
+ 'Signs this profile out on every device, including this one. Your passkeys keep working — sign in with them again anytime.': 'จะออกจากระบบโปรไฟล์นี้ในทุกอุปกรณ์ รวมถึงเครื่องนี้ด้วย พาสคีย์ของคุณยังใช้ได้ปกติ — เข้าสู่ระบบใหม่ได้ทุกเมื่อ',
+ 'Sign out everywhere': 'ออกจากระบบทุกอุปกรณ์',
+ 'Ends this profile’s sessions on all your devices.': 'จะยุติเซสชันของโปรไฟล์นี้ในทุกอุปกรณ์ของคุณ',
+ 'Signed out on all devices': 'ออกจากระบบทุกอุปกรณ์แล้ว',
+ 'Could not sign out everywhere — you are still signed in.': 'ออกจากระบบทุกอุปกรณ์ไม่สำเร็จ — คุณยังคงเข้าสู่ระบบอยู่',
+ 'Guest mode — data lives only in this browser. Create a passkey profile to keep it safe and separate per person.': 'โหมดผู้เยี่ยมชม — ข้อมูลอยู่ในเบราว์เซอร์นี้เท่านั้น สร้างโปรไฟล์พาสคีย์เพื่อความปลอดภัยและแยกข้อมูลแต่ละคน',
+ 'Create passkey profile': 'สร้างโปรไฟล์พาสคีย์',
+ 'Passkeys not supported in this browser.': 'เบราว์เซอร์นี้ไม่รองรับพาสคีย์',
+ 'Appearance': 'ลักษณะที่ปรากฏ',
+ 'synced with your profile': 'ซิงค์กับโปรไฟล์ของคุณ',
+ 'Language': 'ภาษา',
+ "Exercise instructions aren't available in this language yet — they stay in English.": 'คำแนะนำท่าออกกำลังกายยังไม่มีในภาษานี้ — จะแสดงเป็นภาษาอังกฤษ',
+ 'Theme': 'ธีม',
+ 'Dark': 'มืด',
+ 'Light': 'สว่าง',
+ 'System': 'ระบบ',
+ 'Accent color': 'สีเน้น',
+ 'General': 'ทั่วไป',
+ 'During a workout': 'ระหว่างออกกำลังกาย',
+ 'Keep screen awake': 'ไม่ให้จอปิด',
+ 'The screen stays on while a workout is running, so you don’t have to unlock your phone between sets.': 'จอจะไม่ปิดขณะออกกำลังกาย จะได้ไม่ต้องปลดล็อกโทรศัพท์ระหว่างเซ็ต',
+ 'Weight unit': 'หน่วยน้ำหนัก',
+ 'Rest timer': 'ตัวจับเวลาพัก',
+ 'Sounds': 'เสียง',
+ 'Note: switching units only changes the label — logged numbers are not converted.': 'หมายเหตุ: การเปลี่ยนหน่วยจะเปลี่ยนแค่ป้ายกำกับ — ตัวเลขที่บันทึกไว้จะไม่ถูกแปลง',
+ 'Data': 'ข้อมูล',
+ 'Export backup (JSON)': 'ส่งออกข้อมูลสำรอง (JSON)',
+ 'Import backup': 'นำเข้าข้อมูลสำรอง',
+ 'Auto-backup on changes': 'สำรองข้อมูลอัตโนมัติเมื่อมีการเปลี่ยนแปลง',
+ 'Saves a dated copy to the Documents folder after finishing a workout or editing a routine — point a sync app at it, or copy it out by hand.': 'บันทึกสำเนาที่มีวันที่กำกับไว้ในโฟลเดอร์ Documents หลังจบการออกกำลังกายหรือแก้ไขรูทีน — ตั้งแอปซิงก์ให้ชี้มาที่นี่ หรือคัดลอกออกไปเองก็ได้',
+ 'Reset everything?': 'รีเซ็ตทุกอย่าง?',
+ 'Reset everything': 'รีเซ็ตทุกอย่าง',
+ 'Deletes your plan, workouts and body weight on this device. This cannot be undone.': 'จะลบแผน, การออกกำลังกาย และน้ำหนักตัวบนเครื่องนี้ ไม่สามารถย้อนกลับได้',
+ 'Delete everything': 'ลบทุกอย่าง',
+ 'All data reset': 'รีเซ็ตข้อมูลทั้งหมดแล้ว',
+ 'Backup exported': 'ส่งออกข้อมูลสำรองแล้ว',
+ 'Import backup?': 'นำเข้าข้อมูลสำรอง?',
+ 'This replaces all current data with the backup file.': 'จะแทนที่ข้อมูลปัจจุบันทั้งหมดด้วยไฟล์สำรอง',
+ 'Backup imported': 'นำเข้าข้อมูลสำรองแล้ว',
+ 'Import failed: {0}': 'นำเข้าไม่สำเร็จ: {0}',
+ 'Tip': 'เคล็ดลับ',
+ 'In Chrome: ⋮ menu → Add to Home screen': 'ใน Chrome: เมนู ⋮ → เพิ่มไปยังหน้าจอหลัก',
+ 'In Safari: Share → Add to Home Screen': 'ใน Safari: แชร์ → เพิ่มไปยังหน้าจอโฮม',
+ 'to install openGym as a full-screen app.': 'เพื่อติดตั้ง openGym เป็นแอปเต็มหน้าจอ',
+ 'Your data syncs with your profile — sign in anywhere to see it.': 'ข้อมูลของคุณซิงค์กับโปรไฟล์ — เข้าสู่ระบบที่ไหนก็เห็นข้อมูล',
+ 'Guest data stays on this device — export a backup now and then!': 'ข้อมูลผู้เยี่ยมชมอยู่บนเครื่องนี้เท่านั้น — อย่าลืมส่งออกข้อมูลสำรองเป็นระยะ!',
+ 'free & open source (AGPL v3)': 'ฟรีและโอเพนซอร์ส (AGPL v3)',
+ 'Notifications': 'การแจ้งเตือน',
+ 'Not supported in this browser.': 'เบราว์เซอร์นี้ไม่รองรับ',
+ 'Push notifications': 'การแจ้งเตือนแบบพุช',
+ 'Rest-timer alerts, even if openGym is closed.': 'แจ้งเตือนหมดเวลาพัก แม้ปิดแอป openGym อยู่',
+ 'Workout day reminder': 'เตือนวันออกกำลังกาย',
+ 'Reminder time': 'เวลาแจ้งเตือน',
+ "Only sent on days you have a routine planned and haven't logged a workout yet.": 'จะแจ้งเตือนเฉพาะวันที่มีแผนไว้และยังไม่ได้บันทึกการออกกำลังกาย',
+ 'Timezone: {0} (auto-detected, updates if you travel).': 'เขตเวลา: {0} (ตรวจจับอัตโนมัติ อัปเดตเมื่อคุณเดินทาง)',
+ 'Send test notification': 'ส่งการแจ้งเตือนทดสอบ',
+ 'Test sent — should arrive any second': 'ส่งทดสอบแล้ว — น่าจะมาถึงในไม่กี่วินาที',
+ 'Test failed': 'ทดสอบไม่สำเร็จ',
+ 'Notifications off': 'ปิดการแจ้งเตือน',
+ 'Notifications on': 'เปิดการแจ้งเตือน',
+ 'Could not change notification settings': 'เปลี่ยนการตั้งค่าการแจ้งเตือนไม่สำเร็จ',
+ // --- media ---
+ 'tap to pause': 'แตะเพื่อหยุดชั่วคราว',
+ 'tap to play': 'แตะเพื่อเล่น',
+ // --- data terms: body parts ---
+ 'back': 'หลัง', 'cardio': 'คาร์ดิโอ', 'chest': 'อก', 'lower arms': 'แขนท่อนล่าง',
+ 'lower legs': 'ขาท่อนล่าง', 'neck': 'คอ', 'shoulders': 'ไหล่',
+ 'upper arms': 'แขนท่อนบน', 'upper legs': 'ขาท่อนบน', 'waist': 'เอว',
+ // --- data terms: equipment ---
+ 'Details': 'รายละเอียด',
+ 'Finish': 'เสร็จสิ้น',
+ 'Start {0}': 'เริ่ม {0}',
+ 'Guest mode — data lives only in this browser.': 'โหมดผู้เยี่ยมชม — ข้อมูลอยู่ในเบราว์เซอร์นี้เท่านั้น',
+ 'Keeps your data safe and separate per person.': 'เก็บข้อมูลของคุณให้ปลอดภัยและแยกตามแต่ละคน',
+ 'Strength': 'ความแข็งแรง',
+ 'Equipment': 'อุปกรณ์',
+ 'Recovery': 'การฟื้นตัว',
+ 'Any equipment': 'อุปกรณ์ใดก็ได้',
+ 'assisted': 'มีตัวช่วย', 'band': 'ยางยืด', 'barbell': 'บาร์เบล', 'body weight': 'น้ำหนักตัว',
+ 'bosu ball': 'บอลโบซู', 'cable': 'สายเคเบิล', 'dumbbell': 'ดัมเบล',
+ 'elliptical machine': 'เครื่องเอลลิปติคัล', 'ez barbell': 'อีซีบาร์', 'hammer': 'แฮมเมอร์',
+ 'kettlebell': 'เคทเทิลเบล', 'leverage machine': 'เครื่องคานงัด', 'medicine ball': 'เมดิซินบอล',
+ 'olympic barbell': 'บาร์เบลโอลิมปิก', 'resistance band': 'ยางยืดออกกำลังกาย', 'roller': 'ลูกกลิ้ง',
+ 'rope': 'เชือก', 'skierg machine': 'เครื่องสกีเอิร์ก', 'sled machine': 'สเลด',
+ 'smith machine': 'สมิธแมชชีน', 'stability ball': 'บอลออกกำลังกาย', 'stationary bike': 'จักรยานปั่นอยู่กับที่',
+ 'stepmill machine': 'เครื่องเดินขึ้นบันได', 'tire': 'ยางรถ', 'trap bar': 'แทร็ปบาร์',
+ 'upper body ergometer': 'เครื่องปั่นแขน', 'weighted': 'มีน้ำหนักถ่วง', 'wheel roller': 'ล้อกลิ้งหน้าท้อง',
+ // --- data terms: targets & muscles ---
+ 'abductors': 'กล้ามเนื้อกางขา', 'abs': 'หน้าท้อง', 'adductors': 'กล้ามเนื้อหุบขา', 'biceps': 'ไบเซ็ป',
+ 'calves': 'น่อง', 'cardiovascular system': 'ระบบหัวใจและหลอดเลือด', 'delts': 'ไหล่',
+ 'forearms': 'แขนท่อนล่าง', 'glutes': 'สะโพก', 'hamstrings': 'ต้นขาด้านหลัง', 'lats': 'ปีกหลัง',
+ 'levator scapulae': 'กล้ามเนื้อยกสะบัก', 'pectorals': 'กล้ามเนื้ออก', 'quads': 'ต้นขาด้านหน้า',
+ 'serratus anterior': 'กล้ามเนื้อซี่โครงด้านข้าง', 'spine': 'กระดูกสันหลัง', 'traps': 'กล้ามเนื้อบ่า',
+ 'triceps': 'ไทรเซ็ป', 'upper back': 'หลังส่วนบน',
+ 'abdominals': 'หน้าท้อง', 'ankle stabilizers': 'กล้ามเนื้อพยุงข้อเท้า', 'ankles': 'ข้อเท้า',
+ 'brachialis': 'กล้ามเนื้อแขนงอ', 'core': 'แกนกลางลำตัว', 'deltoids': 'กล้ามเนื้อไหล่', 'feet': 'เท้า',
+ 'grip muscles': 'กล้ามเนื้อการจับ', 'groin': 'ขาหนีบ', 'hands': 'มือ', 'hip flexors': 'กล้ามเนื้องอสะโพก',
+ 'inner thighs': 'ต้นขาด้านใน', 'latissimus dorsi': 'ปีกหลัง', 'lower abs': 'หน้าท้องส่วนล่าง',
+ 'lower back': 'หลังส่วนล่าง', 'obliques': 'กล้ามเนื้อข้างลำตัว', 'quadriceps': 'ต้นขาด้านหน้า',
+ 'rear deltoids': 'ไหล่ด้านหลัง', 'rhomboids': 'กล้ามเนื้อสะบักคู่', 'rotator cuff': 'เอ็นหมุนไหล่',
+ 'shins': 'หน้าแข้ง', 'soleus': 'กล้ามเนื้อน่องด้านใน', 'sternocleidomastoid': 'กล้ามเนื้อคอ',
+ 'trapezius': 'กล้ามเนื้อบ่า', 'upper chest': 'อกส่วนบน', 'wrist extensors': 'กล้ามเนื้อเหยียดข้อมือ',
+ 'wrist flexors': 'กล้ามเนื้องอข้อมือ', 'wrists': 'ข้อมือ',
+
+ // --- custom exercises (#11) ---
+ 'Create your own exercise': 'สร้างท่าออกกำลังกายของตัวเอง',
+ 'Edit custom exercise': 'แก้ไขท่าที่สร้างเอง',
+ 'Name it and pick a body part — it behaves like any other exercise, just without an animation.': 'ตั้งชื่อและเลือกส่วนร่างกาย — ใช้งานเหมือนท่าปกติ แค่ไม่มีภาพเคลื่อนไหว',
+ 'Exercise name': 'ชื่อท่าออกกำลังกาย',
+ 'name + body part, no animation': 'ชื่อ + ส่วนร่างกาย ไม่มีภาพเคลื่อนไหว',
+ 'Create exercise': 'สร้างท่าออกกำลังกาย',
+ 'Give it a name': 'ตั้งชื่อให้',
+ 'Pick a body part': 'เลือกส่วนร่างกาย',
+ '“{0}” already exists': '“{0}” มีอยู่แล้ว',
+ '“{0}” created': 'สร้าง “{0}” แล้ว',
+ 'Cardio exercises log time + speed instead of weight × reps.': 'ท่าคาร์ดิโอจะบันทึกเวลา + ความเร็ว แทนน้ำหนัก × จำนวนครั้ง',
+ 'custom': 'สร้างเอง',
+ 'Edit': 'แก้ไข',
+ 'Saved': 'บันทึกแล้ว',
+ 'Delete “{0}”?': 'ลบ “{0}”?',
+ 'It will be removed from your routines. Already-logged workouts keep their sets.': 'จะถูกลบออกจากรูทีนของคุณ ส่วนการออกกำลังกายที่บันทึกไว้แล้วจะยังคงเซ็ตเดิมไว้',
+ 'Exercise deleted': 'ลบท่าออกกำลังกายแล้ว',
+ 'Finish your current workout first': 'จบการออกกำลังกายปัจจุบันก่อน',
+ 'Description (optional) — setup, cues, anything you want to remember': 'คำอธิบาย (ไม่บังคับ) — วิธีตั้งท่า, จุดสังเกต หรืออะไรก็ตามที่อยากจำ',
+ 'Delete exercise': 'ลบท่าออกกำลังกาย',
+ 'Edit or delete this exercise': 'แก้ไขหรือลบท่านี้',
+ 'Remove from routine': 'ลบออกจากรูทีน',
+ 'Minimize': 'ย่อ',
+ 'Expand': 'ขยาย',
+ 'Invite code': 'รหัสเชิญ',
+ 'This app is invite-only — enter the code you were given.': 'แอปนี้ต้องมีรหัสเชิญ — กรอกรหัสที่ได้รับมา',
+ 'An invite code is required': 'ต้องมีรหัสเชิญ',
+ 'Admin dashboard': 'แดชบอร์ดผู้ดูแลระบบ',
+ // --- muscle map ---
+ 'Muscle balance': 'ความสมดุลของกล้ามเนื้อ',
+ 'Fatigue': 'ความล้า',
+ 'Ready': 'พร้อม',
+ 'Recovering': 'กำลังฟื้นตัว',
+ 'Fatigued': 'ล้า',
+ 'Fatigue shows how recently each muscle was trained. High means rest.': 'ความล้าแสดงว่าแต่ละกล้ามเนื้อถูกฝึกเมื่อไหร่ ค่าสูงหมายถึงควรพัก',
+ 'Strength shows retained muscle strength. Train again to reset it.': 'ความแข็งแรงแสดงกำลังกล้ามเนื้อที่ยังคงเหลืออยู่ ฝึกอีกครั้งเพื่อรีเซ็ตค่านี้',
+ 'full': 'เต็ม',
+ 'floor': 'ต่ำสุด',
+ 'Weeks since training: {0}': 'ไม่ได้ฝึกมา {0} สัปดาห์',
+ 'by sets worked': 'ตามจำนวนเซ็ตที่ฝึก',
+ 'Week': 'สัปดาห์',
+ 'not trained': 'ยังไม่ได้ฝึก',
+ 'Not trained in this period': 'ยังไม่ได้ฝึกในช่วงนี้',
+ 'Every muscle group got some work in this period.': 'ทุกกลุ่มกล้ามเนื้อได้รับการฝึกในช่วงนี้แล้ว',
+ 'No workouts in this period yet.': 'ยังไม่มีการออกกำลังกายในช่วงนี้',
+ 'What this session hits': 'ท่านี้ฝึกกล้ามเนื้อส่วนไหนบ้าง',
+ 'What you just trained': 'สิ่งที่เพิ่งฝึกไป',
+ 'Body diagram': 'แผนภาพร่างกาย',
+ 'Male': 'ชาย',
+ 'Female': 'หญิง',
+ 'Less': 'น้อย',
+ 'More': 'มาก',
+ 'Traps': 'กล้ามเนื้อบ่า',
+ 'Shoulders': 'ไหล่',
+ 'Chest': 'อก',
+ 'Upper back': 'หลังส่วนบน',
+ 'Serratus': 'กล้ามเนื้อซี่โครงด้านข้าง',
+ 'Biceps': 'ไบเซ็ป',
+ 'Triceps': 'ไทรเซ็ป',
+ 'Forearms': 'แขนท่อนล่าง',
+ 'Abs': 'หน้าท้อง',
+ 'Obliques': 'กล้ามเนื้อข้างลำตัว',
+ 'Lower back': 'หลังส่วนล่าง',
+ 'Glutes': 'สะโพก',
+ 'Quads': 'ต้นขาด้านหน้า',
+ 'Hamstrings': 'ต้นขาด้านหลัง',
+ 'Adductors': 'กล้ามเนื้อหุบขา',
+ 'Hip flexors': 'กล้ามเนื้องอสะโพก',
+ 'Calves': 'น่อง',
+ 'Shins': 'หน้าแข้ง',
+ // --- import from another app ---
+ 'Import from another app': 'นำเข้าจากแอปอื่น',
+ 'FitNotes, Strong, Hevy — or body weight from Apple Health': 'FitNotes, Strong, Hevy — หรือน้ำหนักตัวจาก Apple Health',
+ 'Import from {0}': 'นำเข้าจาก {0}',
+ 'Import history': 'นำเข้าประวัติ',
+ 'Weigh-ins': 'บันทึกน้ำหนัก',
+ 'Exercises matched': 'ท่าที่จับคู่ได้',
+ 'Added as your own': 'เพิ่มเป็นท่าของตัวเอง',
+ 'The file is in {0} and your profile is in {1} — weights will be converted.': 'ไฟล์เป็นหน่วย {0} ส่วนโปรไฟล์คุณเป็น {1} — น้ำหนักจะถูกแปลงหน่วยให้',
+ 'The file does not say which unit it uses — numbers are imported as they are.': 'ไฟล์ไม่ได้ระบุหน่วยที่ใช้ — จะนำเข้าตัวเลขตามที่เป็นอยู่',
+ 'The file mixes kg and lb — each set is converted to {0}.': 'ไฟล์มีทั้ง kg และ lb ปนกัน — แต่ละเซ็ตจะถูกแปลงเป็น {0}',
+ '{0} days already have data here and will be left alone.': '{0} วันมีข้อมูลอยู่แล้ว จะไม่ถูกเปลี่ยนแปลง',
+ 'Not in the library — added as your own exercises': 'ไม่มีในคลังท่า — เพิ่มเป็นท่าของตัวเองแล้ว',
+ 'Nothing new to import': 'ไม่มีอะไรใหม่ให้นำเข้า',
+ '{0} workouts imported': 'นำเข้าการออกกำลังกาย {0} ครั้งแล้ว',
+ '{0} weigh-ins imported': 'นำเข้าบันทึกน้ำหนัก {0} รายการแล้ว',
+ 'Could not read that file': 'อ่านไฟล์นั้นไม่ได้',
+ 'That file is empty': 'ไฟล์นั้นว่างเปล่า',
+ "That file's columns aren't recognised — see the docs for supported apps.": 'ไม่รู้จักคอลัมน์ในไฟล์นั้น — ดูรายชื่อแอปที่รองรับได้ในเอกสาร',
+ 'Nothing to import from that file': 'ไม่มีอะไรให้นำเข้าจากไฟล์นั้น',
+ // --- mobile build ---
+ 'Your data': 'ข้อมูลของคุณ',
+ 'All data stays on this phone': 'ข้อมูลทั้งหมดอยู่บนโทรศัพท์เครื่องนี้',
+ 'No account, no cloud — back it up anytime with Export below.': 'ไม่ต้องมีบัญชี ไม่ต้องใช้คลาวด์ — สำรองข้อมูลได้ทุกเมื่อผ่านปุ่มส่งออกด้านล่าง',
+ 'Reminds you at this time on days that have a routine planned.': 'จะเตือนคุณตามเวลานี้ในวันที่มีรูทีนวางแผนไว้',
+ 'Workout day': 'วันออกกำลังกาย',
+ '{0} is on the plan today — let’s go!': 'วันนี้มี {0} ในแผน — ลุยเลย!',
+ // --- plan sharing ---
+ 'Share your plan': 'แชร์แผนของคุณ',
+ 'Send your routines to a friend, or put your week on paper.': 'ส่งรูทีนให้เพื่อน หรือพิมพ์แผนรายสัปดาห์ออกมาเป็นกระดาษ',
+ 'Export plan file': 'ส่งออกไฟล์แผน',
+ 'A small file a friend imports into their own openGym — routines only, none of your workouts or weigh-ins.': 'ไฟล์เล็กๆ ให้เพื่อนนำเข้า openGym ของตัวเอง — มีแค่รูทีนเท่านั้น ไม่มีการออกกำลังกายหรือน้ำหนักของคุณ',
+ 'Print / Save as PDF': 'พิมพ์ / บันทึกเป็น PDF',
+ 'A clean one-page-per-plan printout — no exercise ever splits across a page.': 'พิมพ์ออกมาสวยงาม 1 หน้าต่อ 1 แผน — ไม่มีท่าไหนถูกตัดข้ามหน้า',
+ 'Add an exercise to a routine first — an empty plan has nothing to share.': 'เพิ่มท่าเข้ารูทีนก่อน — แผนว่างเปล่าไม่มีอะไรให้แชร์',
+ 'Got a plan from a friend?': 'ได้รับแผนจากเพื่อนหรือเปล่า?',
+ 'Import a plan file': 'นำเข้าไฟล์แผน',
+ 'Plan file saved — send it to a friend': 'บันทึกไฟล์แผนแล้ว — ส่งให้เพื่อนได้เลย',
+ '{0}’s plan': 'แผนของ {0}',
+ 'Import “{0}”': 'นำเข้า “{0}”',
+ 'Import this plan': 'นำเข้าแผนนี้',
+ '{0} routine': '{0} รูทีน',
+ '{0} routines': '{0} รูทีน',
+ 'scheduled on {0} days': 'วางแผนไว้ {0} วัน',
+ 'scheduled on {0} day': 'วางแผนไว้ {0} วัน',
+ 'These are added as new routines — nothing you already have is changed.': 'จะถูกเพิ่มเป็นรูทีนใหม่ — ของเดิมที่มีอยู่จะไม่ถูกเปลี่ยนแปลง',
+ '{0} exercise in the file isn’t in your library and was left out.': 'มี {0} ท่าในไฟล์ที่ไม่มีในคลังของคุณ จึงถูกข้ามไป',
+ '{0} exercises in the file aren’t in your library and were left out.': 'มี {0} ท่าในไฟล์ที่ไม่มีในคลังของคุณ จึงถูกข้ามไป',
+ 'Use this weekly schedule': 'ใช้ตารางรายสัปดาห์นี้',
+ 'Replaces your current Mon–Sun assignments.': 'จะแทนที่ตารางจันทร์–อาทิตย์ปัจจุบันของคุณ',
+ 'Added {0} routines to your plan': 'เพิ่ม {0} รูทีนเข้าแผนของคุณแล้ว',
+ 'this isn’t an openGym plan file': 'นี่ไม่ใช่ไฟล์แผนของ openGym',
+ 'Shared routine': 'รูทีนที่แชร์มา',
+ 'Unknown exercise': 'ท่าที่ไม่รู้จัก',
+ 'Weekly Training Plan': 'แผนการฝึกรายสัปดาห์',
+ 'Made with openGym': 'สร้างด้วย openGym',
+ 'Something went wrong': 'มีบางอย่างผิดพลาด',
+ 'This screen could not be drawn. Your data is safe on this device.': 'แสดงหน้าจอนี้ไม่ได้ ข้อมูลของคุณยังปลอดภัยอยู่บนเครื่องนี้',
+ 'Reload openGym': 'โหลด openGym ใหม่',
+ 'Discard the running workout': 'ทิ้งการออกกำลังกายที่กำลังทำอยู่',
+
+ // --- v1.2.2: timed sets, progression, estimated 1RM (#16 #17 #18) ---
+ 'Top set': 'เซ็ตที่หนักที่สุด',
+ 'Est. 1RM': '1RM โดยประมาณ',
+ 'Estimated 1RM': '1RM โดยประมาณ',
+ 'Estimated 1RM per workout': '1RM โดยประมาณต่อครั้ง',
+ 'Best estimate from {0} on {1} — an estimate, not a tested max.': 'ประมาณการดีที่สุดจาก {0} เมื่อ {1} — เป็นค่าประมาณ ไม่ใช่ค่าที่ทดสอบจริง',
+ 'From your log:': 'จากบันทึกของคุณ:',
+ '{0} × {1} on {2}': '{0} × {1} เมื่อ {2}',
+ 'Estimate': 'ประมาณการ',
+ 'Enter a weight and 1–{0} reps — beyond that an estimate is guesswork.': 'กรอกน้ำหนักและ 1–{0} ครั้ง — เกินจากนี้การประมาณจะไม่แม่นยำ',
+ 'Epley formula — a calculation from one set, not a tested max.': 'สูตร Epley — คำนวณจากหนึ่งเซ็ต ไม่ใช่ค่าที่ทดสอบจริง',
+ 'Best estimated 1RM:': '1RM โดยประมาณดีที่สุด:',
+ 'Time': 'เวลา',
+ 'Seconds': 'วินาที',
+ 'A timer runs while you hold the set. Leave the weight at 0 for bodyweight holds.': 'ตัวจับเวลาจะทำงานขณะทำเซ็ตค้าง ปล่อยน้ำหนักไว้ที่ 0 สำหรับท่าค้างด้วยน้ำหนักตัว',
+ 'Done': 'เสร็จแล้ว',
+ 'Start set': 'เริ่มเซ็ต',
+ 'Hold logged': 'บันทึกเวลาค้างแล้ว',
+ 'Longest hold per workout': 'เวลาค้างนานที่สุดต่อครั้ง',
+ 'Progression': 'การเพิ่มระดับ',
+ 'Rule': 'กฎ',
+ 'Follow the routine ({0})': 'ตามกฎของรูทีน ({0})',
+ 'Applies to every exercise in this routine that does not set its own rule.': 'ใช้กับทุกท่าในรูทีนนี้ที่ไม่ได้ตั้งกฎเฉพาะของตัวเอง',
+ 'Step ({0})': 'ขั้นละ ({0})',
+ 'Step (seconds)': 'ขั้นละ (วินาที)',
+ 'Reps from': 'จำนวนครั้งเริ่มจาก',
+ 'No automatic progression': 'ไม่มีการเพิ่มระดับอัตโนมัติ',
+ 'Linear progression': 'เพิ่มแบบเส้นตรง',
+ 'Greyskull LP': 'Greyskull LP',
+ 'Double progression': 'เพิ่มระดับคู่',
+ 'Add time': 'เพิ่มเวลา',
+ 'Targets stay where you set them.': 'เป้าหมายจะคงที่ตามที่คุณตั้งไว้',
+ 'Hit every rep in every set and the weight goes up. Repeated misses trigger a deload.': 'ทำครบทุกครั้งในทุกเซ็ตแล้วน้ำหนักจะเพิ่มขึ้น ถ้าพลาดซ้ำๆ จะลดน้ำหนักลง',
+ 'Two straight sets plus a final set taken to failure. Beat the target on that set and the weight goes up — double if you double the reps. One failure resets 10 %.': 'สองเซ็ตแรกตามปกติ บวกเซ็ตสุดท้ายที่ทำจนหมดแรง ถ้าทำได้เกินเป้าในเซ็ตนั้น น้ำหนักจะเพิ่มขึ้น — เพิ่มเป็นสองเท่าถ้าทำจำนวนครั้งได้สองเท่า พลาดหนึ่งครั้งจะลดลง 10%',
+ 'Work up through a rep range at the same weight. Reach the top of the range in every set and the weight goes up, reps back to the bottom.': 'ไต่ระดับจำนวนครั้งด้วยน้ำหนักเดิม ถ้าถึงจำนวนครั้งสูงสุดในทุกเซ็ต น้ำหนักจะเพิ่มขึ้นและจำนวนครั้งกลับไปเริ่มที่ต่ำสุด',
+ 'Hold every set for the full duration and the target goes up.': 'ค้างทุกเซ็ตให้ครบเวลา แล้วเป้าหมายจะเพิ่มขึ้น',
+ 'Nothing logged yet — this session sets the baseline.': 'ยังไม่มีการบันทึก — ครั้งนี้จะเป็นค่าเริ่มต้น',
+ 'Held every set for the full time — target up by {0}s.': 'ค้างครบเวลาทุกเซ็ต — เพิ่มเป้าหมายอีก {0} วินาที',
+ 'Short {0} sessions in a row — back off to {1}s and build up again.': 'ทำได้ไม่ครบเวลาติดต่อกัน {0} ครั้ง — ลดกลับไปที่ {1} วินาที แล้วค่อยไต่ขึ้นใหม่',
+ 'Last time came up short — same target again.': 'ครั้งก่อนทำไม่ครบ — ใช้เป้าหมายเดิมอีกครั้ง',
+ 'Top of the rep range in every set — {0} {1} more, back to {2} reps.': 'ถึงจำนวนครั้งสูงสุดในทุกเซ็ต — เพิ่มอีก {0} {1} กลับไปที่ {2} ครั้ง',
+ 'Stalled {0} sessions — deload to {1} {2}.': 'ไม่คืบหน้า {0} ครั้ง — ลดน้ำหนักลงเหลือ {1} {2}',
+ 'Same weight — aim for {0} reps this time.': 'น้ำหนักเดิม — ตั้งเป้าที่ {0} ครั้งในรอบนี้',
+ 'Last set hit {0} reps — twice the target, so take a double jump of {1} {2}.': 'เซ็ตสุดท้ายทำได้ {0} ครั้ง — เกินเป้าสองเท่า จึงเพิ่มน้ำหนักแบบก้าวกระโดด {1} {2}',
+ 'Every rep last time — {0} {1} more.': 'ครั้งก่อนทำครบทุกครั้ง — เพิ่มอีก {0} {1}',
+ 'Missed reps {0} sessions running — reset to {1} {2} and work back up.': 'พลาดจำนวนครั้งติดต่อกัน {0} ครั้ง — รีเซ็ตกลับไปที่ {1} {2} แล้วค่อยไต่ขึ้นใหม่',
+ 'Missed reps — reset to {0} {1} and work back up.': 'พลาดจำนวนครั้ง — รีเซ็ตกลับไปที่ {0} {1} แล้วค่อยไต่ขึ้นใหม่',
+ 'Missed reps last time — same weight again ({0} of {1} to go).': 'ครั้งก่อนพลาดจำนวนครั้ง — น้ำหนักเดิมอีกครั้ง (เหลืออีก {0} จาก {1})',
+ 'Bodyweight — every rep last time, so go for {0} this time.': 'น้ำหนักตัว — ครั้งก่อนทำครบทุกครั้ง รอบนี้ลองตั้งเป้าที่ {0}',
+ 'Bodyweight — same target again until every set is clean.': 'น้ำหนักตัว — ใช้เป้าหมายเดิมจนกว่าจะทำครบทุกเซ็ต',
+
+ // --- effort per set (RIR / RPE) ---
+ '{0} sets bring an {1} with them — switch on Effort per set in Settings to see it.': '{0} เซ็ตมาพร้อม {1} — เปิด “ความหนักต่อเซ็ต” ในตั้งค่าเพื่อดู',
+ '{0} sets bring an {1} with them.': '{0} เซ็ตมาพร้อม {1}',
+ 'RIR': 'RIR',
+ 'RPE': 'RPE',
+ 'Effort per set': 'ความหนักต่อเซ็ต',
+ 'What are RIR and RPE?': 'RIR และ RPE คืออะไร?',
+ 'How hard a set was, logged next to weight and reps. Two scales for the same judgement, counted from opposite ends.': 'ความหนักของแต่ละเซ็ต บันทึกคู่กับน้ำหนักและจำนวนครั้ง เป็นสองมาตรวัดของสิ่งเดียวกัน นับจากคนละด้าน',
+ 'How it felt': 'รู้สึกยังไง',
+ 'Nothing left — went to failure': 'ไม่เหลือแรงแล้ว — ทำจนหมดแรง',
+ 'One more rep in the tank': 'ยังเหลืออีกหนึ่งครั้งถ้าจะฝืน',
+ 'Two more reps': 'ยังเหลืออีกสองครั้ง',
+ 'Three more reps': 'ยังเหลืออีกสามครั้ง',
+ 'Easy — warm-up territory': 'ง่าย — ระดับวอร์มอัป',
+ 'RIR counts the reps you left; RPE reads the same effort off a 10-point scale — so RPE ≈ 10 − RIR. Pick the one you already think in.': 'RIR นับจำนวนครั้งที่เหลือ ส่วน RPE วัดความหนักเดียวกันบนสเกล 10 ระดับ — ดังนั้น RPE ≈ 10 − RIR เลือกแบบที่คุณคุ้นเคยได้เลย',
+ 'The highlighted row is where most working sets land. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': 'แถวที่ไฮไลต์คือช่วงที่เซ็ตส่วนใหญ่มักอยู่ เซ็ตที่บันทึกไปแล้วจะคงมาตรวัดเดิมไว้ และไม่มีส่วนอื่นนำค่านี้ไปใช้ — การเพิ่มระดับและ 1RM โดยประมาณจะไม่ได้รับผลกระทบ',
+ // --- effort in the stats ---
+ 'Effort': 'ความหนัก',
+ 'how close to failure': 'ใกล้หมดแรงแค่ไหน',
+ 'by hard sets': 'ตามจำนวนเซ็ตที่หนัก',
+ 'Hard': 'หนัก',
+ 'no hard sets': 'ไม่มีเซ็ตที่หนัก',
+ 'No hard sets in this period': 'ไม่มีเซ็ตที่หนักในช่วงนี้',
+ 'Every muscle group got at least one hard set in this period.': 'ทุกกลุ่มกล้ามเนื้อได้เซ็ตหนักอย่างน้อยหนึ่งเซ็ตในช่วงนี้',
+ 'No rated sets in this period.': 'ไม่มีเซ็ตที่ให้คะแนนในช่วงนี้',
+ 'average effort': 'ความหนักเฉลี่ย',
+ 'at {0} {1} or harder': 'ที่ {0} {1} ขึ้นไป',
+ '{0} of {1} finished sets rated': 'ให้คะแนนแล้ว {0} จาก {1} เซ็ตที่ทำเสร็จ',
+ 'Effort per set is switched off — turn it on in Settings to keep rating.': 'ปิด “ความหนักต่อเซ็ต” อยู่ — เปิดในตั้งค่าเพื่อให้คะแนนต่อ',
+ 'Week by week': 'รายสัปดาห์',
+ 'Where the sets land': 'เซ็ตส่วนใหญ่อยู่ระดับไหน',
+ 'Most working sets belong close to failure without living there — half at the floor and half at the top average out to a healthy-looking middle.': 'เซ็ตส่วนใหญ่ควรอยู่ใกล้จุดหมดแรงโดยไม่ถึงจุดนั้น — ครึ่งหนึ่งอยู่ต่ำสุดและครึ่งหนึ่งอยู่สูงสุด เฉลี่ยแล้วจะออกมาสมดุลดี',
+ 'Average effort per workout': 'ความหนักเฉลี่ยต่อครั้ง',
+ 'A fuller dot means less left in the tank — the same weight at a lower {0} is progress the line alone does not show.': 'จุดที่เต็มกว่าหมายถึงเหลือแรงน้อยกว่า — น้ำหนักเท่าเดิมที่ {0} ต่ำกว่าคือความคืบหน้าที่กราฟเส้นเพียงอย่างเดียวไม่แสดงให้เห็น',
+ // --- bodyweight & per side ---
+ 'Bodyweight': 'น้ำหนักตัว',
+ 'No weight to enter — just log the reps.': 'ไม่ต้องกรอกน้ำหนัก — บันทึกแค่จำนวนครั้ง',
+ 'Ask for a weight on every set.': 'ถามน้ำหนักทุกเซ็ต',
+ 'For dips or pull-ups with a belt. Progression then follows the weight.': 'สำหรับท่าดิปหรือพูลอัพที่ใช้เข็มขัดถ่วงน้ำหนัก การเพิ่มระดับจะอิงตามน้ำหนักแทน',
+ 'Reps per side': 'จำนวนครั้งต่อข้าง',
+ 'For lunges, single-arm rows and the like.': 'สำหรับท่าลันจ์, โรว์แขนเดียว และท่าคล้ายกัน',
+ 'Top of the range': 'จำนวนครั้งสูงสุด',
+ 'Reps climb by one whenever every set was clean. Set a ceiling to add sets instead of reps forever.': 'จำนวนครั้งจะเพิ่มทีละหนึ่งเมื่อทำครบทุกเซ็ต ตั้งเพดานไว้เพื่อเปลี่ยนไปเพิ่มเซ็ตแทนการเพิ่มจำนวนครั้งไปเรื่อยๆ',
+ 'Reps climb to {0}, then a set is added and the reps start over. At {1} sets it asks you to add weight instead.': 'จำนวนครั้งจะเพิ่มถึง {0} จากนั้นจะเพิ่มเซ็ตและเริ่มนับจำนวนครั้งใหม่ พอถึง {1} เซ็ตจะแนะนำให้เพิ่มน้ำหนักแทน',
+ 'Added ({0})': 'น้ำหนักเพิ่ม ({0})',
+ '{0}/side': '{0}/ข้าง',
+ '{0} reps in every set — add a set and go back to {1}.': 'ทำได้ {0} ครั้งในทุกเซ็ต — เพิ่มเซ็ตและกลับไปที่ {1}',
+ '{0} sets of {1} — time to add weight or move to a harder variation.': '{0} เซ็ตของ {1} — ถึงเวลาเพิ่มน้ำหนักหรือเปลี่ยนไปท่าที่ยากขึ้น',
+ '{0} per side': '{0} ต่อข้าง',
+ 'You still log the total: {0} is {1} per side.': 'บันทึกจำนวนรวมตามปกติ: {0} คือ {1} ต่อข้าง',
+ '{0} sets · {1} work': '{0} เซ็ต · เซ็ตหลัก {1}',
+ 'Make superset with previous': 'รวมเป็นซูเปอร์เซ็ตกับท่าก่อนหน้า',
+ 'Make superset with next': 'รวมเป็นซูเปอร์เซ็ตกับท่าถัดไป',
+ 'primary': 'หลัก',
+ 'secondary': 'รอง',
+ 'No exercises with an estimated 1RM yet.': 'ยังไม่มีท่าที่มีการประเมิน 1RM',
+ 'Tap a muscle to see its exercises.': 'แตะกล้ามเนื้อเพื่อดูท่าที่เกี่ยวข้อง',
+ 'Unpair': 'ยกเลิกการจับคู่',
+
+ // --- equipment profiles ---
+ 'Showing all equipment': 'กำลังแสดงอุปกรณ์ทั้งหมด',
+ 'Showing what you have in "{0}"': 'แสดงเฉพาะที่คุณมีใน "{0}"',
+ 'Show all equipment': 'แสดงอุปกรณ์ทั้งหมด',
+ 'Filter by "{0}"': 'กรองตาม "{0}"',
+ 'Edit profile': 'แก้ไขโปรไฟล์',
+ 'New equipment profile': 'โปรไฟล์อุปกรณ์ใหม่',
+ 'Name it after where you train — e.g. "Home" or "Gym" — then check what you have there.': 'ตั้งชื่อตามสถานที่ที่คุณฝึก เช่น "บ้าน" หรือ "ยิม" แล้วเลือกอุปกรณ์ที่มีอยู่ที่นั่น',
+ 'Profile name': 'ชื่อโปรไฟล์',
+ 'Body-weight exercises are always available, in every profile.': 'ท่าที่ใช้น้ำหนักตัวจะพร้อมใช้งานเสมอในทุกโปรไฟล์',
+ '{0} of {1} exercises need equipment outside "{2}"': '{0} จาก {1} ท่าต้องใช้อุปกรณ์นอกเหนือจาก "{2}"',
+ 'Needs {0} — not in your active profile': 'ต้องใช้ {0} — ไม่มีในโปรไฟล์ที่ใช้งานอยู่',
+ 'Filter by equipment': 'กรองตามอุปกรณ์',
+ 'Active profile': 'โปรไฟล์ที่ใช้งานอยู่',
+ '{0} equipment types': 'อุปกรณ์ {0} ประเภท',
+ 'Add equipment profile': 'เพิ่มโปรไฟล์อุปกรณ์',
+ 'Delete profile?': 'ลบโปรไฟล์นี้?',
+ '"{0}" and its equipment list will be removed.': '"{0}" และรายการอุปกรณ์จะถูกลบ',
+ 'Filters the exercise library and picker, and flags routine exercises that need something you don’t have in the active profile.': 'กรองคลังท่าออกกำลังกายและตัวเลือกท่า พร้อมทั้งทำเครื่องหมายท่าในรูทีนที่ต้องใช้อุปกรณ์ที่ไม่มีในโปรไฟล์ที่ใช้งานอยู่',
+
+ // --- muscle groups ---
+ 'Primary muscle groups': 'กลุ่มกล้ามเนื้อหลัก',
+ 'Additional muscle groups': 'กลุ่มกล้ามเนื้อเสริม',
+ 'No explicit muscle group': 'ไม่มีกลุ่มกล้ามเนื้อที่ระบุ',
+
+ // "Connect to my server" (mobile app pairing)
+ 'Your server': 'เซิร์ฟเวอร์ของคุณ',
+ 'Synced with your openGym server.': 'ซิงก์กับเซิร์ฟเวอร์ openGym ของคุณแล้ว',
+ 'Disconnect': 'ยกเลิกการเชื่อมต่อ',
+ 'Disconnect from your server?': 'ยกเลิกการเชื่อมต่อกับเซิร์ฟเวอร์?',
+ 'Your data is synced to your server first, then this device switches back to local-only.': 'ข้อมูลของคุณจะถูกซิงก์กับเซิร์ฟเวอร์ก่อน จากนั้นอุปกรณ์นี้จะกลับไปใช้งานแบบเก็บข้อมูลในเครื่องเท่านั้น',
+ 'Disconnected — back to local-only': 'ยกเลิกการเชื่อมต่อแล้ว — กลับไปใช้งานแบบเก็บข้อมูลในเครื่อง',
+ 'Connect to my server': 'เชื่อมต่อกับเซิร์ฟเวอร์ของฉัน',
+ 'Sync this device to your own self-hosted openGym instead.': 'ซิงก์อุปกรณ์นี้กับ openGym ที่คุณโฮสต์เองแทน',
+ 'Pair the mobile app': 'จับคู่แอปมือถือ',
+ 'Connect the openGym app on your phone to this account.': 'เชื่อมต่อแอป openGym บนโทรศัพท์ของคุณกับบัญชีนี้',
+ 'Could not generate a code': 'สร้างรหัสไม่สำเร็จ',
+ 'On the openGym app, choose “Connect to my server”, then enter this address and the code below. It expires in 5 minutes.': 'ในแอป openGym เลือก “เชื่อมต่อกับเซิร์ฟเวอร์ของฉัน” แล้วป้อนที่อยู่นี้พร้อมรหัสด้านล่าง รหัสจะหมดอายุใน 5 นาที',
+ 'Enter your server address and the code': 'ป้อนที่อยู่เซิร์ฟเวอร์และรหัส',
+ 'Connected': 'เชื่อมต่อแล้ว',
+ 'Could not connect': 'เชื่อมต่อไม่สำเร็จ',
+ 'Open Settings → “Pair the mobile app” on the openGym site you’re already signed into, then enter its address and the code shown there.': 'เปิดการตั้งค่า → “จับคู่แอปมือถือ” บนเว็บไซต์ openGym ที่คุณเข้าสู่ระบบอยู่แล้ว จากนั้นป้อนที่อยู่และรหัสที่แสดงไว้ที่นั่น',
+ 'Server address (e.g. gym.example.com)': 'ที่อยู่เซิร์ฟเวอร์ (เช่น gym.example.com)',
+ 'Pairing code': 'รหัสจับคู่',
+ 'Connecting…': 'กำลังเชื่อมต่อ…',
+ 'Connect': 'เชื่อมต่อ',
+ 'How do you want to use openGym?': 'คุณต้องการใช้งาน openGym แบบไหน?',
+ 'Use on this device': 'ใช้งานบนอุปกรณ์นี้',
+ 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'แบบเก็บในเครื่องจะเก็บทุกอย่างไว้ในโทรศัพท์นี้ ส่วนการเชื่อมต่อจะซิงก์กับเซิร์ฟเวอร์ openGym ของคุณแทน — เปลี่ยนภายหลังได้ในการตั้งค่า',
+
+ // --- workout notes and planned warm-ups ---
+ '{0} — done': '{0} — เสร็จแล้ว',
+ 'Workout done': 'ออกกำลังกายเสร็จแล้ว',
+ 'reps': 'ครั้ง',
+ 'Most reps in a set per workout': 'จำนวนครั้งมากที่สุดในหนึ่งเซ็ตต่อการออกกำลังกาย',
+ 'Warm-up sets': 'เซ็ตวอร์มอัพ',
+ 'Added before your work sets and left out of volume, records and progression. Each one closes half the gap to the work weight — you can still change any of them mid-session.': 'เพิ่มไว้ก่อนเซ็ตหลัก และไม่นับรวมในปริมาณงาน สถิติ หรือการปรับน้ำหนัก แต่ละเซ็ตจะลดช่องว่างไปครึ่งหนึ่งของน้ำหนักเซ็ตหลัก — ยังปรับเปลี่ยนได้ระหว่างออกกำลังกาย',
+ 'Ramp-up sets added before the work sets, so you do not have to add them by hand each session.': 'เพิ่มเซ็ตไต่ระดับไว้ก่อนเซ็ตหลัก จะได้ไม่ต้องเพิ่มเองทุกครั้ง',
+ 'Note': 'บันทึก',
+ 'This session': 'รอบนี้',
+ 'How it went, what to change — kept with today’s workout.': 'เป็นอย่างไรบ้าง อยากเปลี่ยนอะไร — จะถูกเก็บไว้กับการออกกำลังกายวันนี้',
+ 'Show this next time': 'แสดงอีกครั้งครั้งถัดไป',
+ 'Brings it up again the next time you train this exercise.': 'จะแสดงขึ้นอีกครั้งเมื่อคุณฝึกท่านี้ครั้งถัดไป',
+ 'Always for this exercise': 'ใช้ตลอดสำหรับท่านี้',
+ 'Seat height, pin position, a form cue — shown every session.': 'ความสูงเบาะ ตำแหน่งพิน หรือเคล็ดลับท่าทาง — แสดงทุกครั้งที่ฝึก',
+ 'From {0}:': 'จาก {0}:',
+ 'Session note': 'บันทึกประจำรอบ',
+ 'Add session note': 'เพิ่มบันทึกประจำรอบ',
+ 'Edit session note': 'แก้ไขบันทึกประจำรอบ',
+ 'How the session went as a whole.': 'ภาพรวมของการออกกำลังกายรอบนี้เป็นอย่างไร',
+ 'Rest-pause always trains as one warm-up set at this rep count, then one rest-pause work set — "Sets" is not used.': 'เรสต์-พอสจะฝึกเป็นเซ็ตวอร์มอัพหนึ่งเซ็ตที่จำนวนครั้งนี้ ตามด้วยเซ็ตหลักแบบเรสต์-พอสหนึ่งเซ็ตเสมอ — ไม่ใช้ค่า "เซ็ต"',
+ 'Move up': 'เลื่อนขึ้น',
+ 'Move down': 'เลื่อนลง',
++ 'Swap exercise': 'สลับท่าออกกำลังกาย',
++ 'Swap exercise?': 'สลับท่าออกกำลังกาย?',
++ 'Logged sets stay with the original exercise. Choose where the replacement belongs.': 'เซ็ตที่บันทึกแล้วจะอยู่กับท่าเดิม เลือกว่าจะวางท่าใหม่ไว้ตรงไหน',
++ 'Keep replacement in this group': 'เก็บท่าใหม่ไว้ในกลุ่มนี้',
++ 'Insert after this group': 'แทรกหลังกลุ่มนี้',
++ 'Logged sets stay with the original exercise. The replacement will be inserted afterward.': 'เซ็ตที่บันทึกแล้วจะอยู่กับท่าเดิม ท่าใหม่จะถูกแทรกไว้ถัดไป',
+}
diff --cc frontend/src/locales/tr.js
index cc8f2f61c,0f487eb2e..2f56a2268
--- a/frontend/src/locales/tr.js
+++ b/frontend/src/locales/tr.js
@@@ -555,10 -518,8 +555,11 @@@ export default
'Step ({0})': 'Artış ({0})',
'Step (seconds)': 'Artış (saniye)',
'Reps from': 'Tekrar en az',
+ 'Reps up to': 'Tekrar en çok',
'No automatic progression': 'Otomatik ilerleme yok',
+ 'Exclude from automatic progression': 'Otomatik ilerlemeden hariç tut',
+ 'Use for planned deloads. Workouts stay in history and statistics.': 'Planlı deloadlar için kullanın. Antrenmanlar geçmişte ve istatistiklerde kalır.',
+ 'The next regular target continues from the last included workout.': 'Sonraki normal hedef, dahil edilen son antrenmandan devam eder.',
'Linear progression': 'Doğrusal ilerleme',
'Greyskull LP': 'Greyskull LP',
'Double progression': 'Çift ilerleme',
diff --cc frontend/src/locales/zh.js
index 127af1c28,2e8978a90..98d16663e
--- a/frontend/src/locales/zh.js
+++ b/frontend/src/locales/zh.js
@@@ -555,10 -518,8 +555,11 @@@ export default
'Step ({0})': '加量({0})',
'Step (seconds)': '加量(秒)',
'Reps from': '次数下限',
+ 'Reps up to': '次数上限',
'No automatic progression': '不自动进阶',
+ 'Exclude from automatic progression': '不计入自动进阶',
+ 'Use for planned deloads. Workouts stay in history and statistics.': '用于计划性减载。训练仍保留在历史记录和统计中。',
+ 'The next regular target continues from the last included workout.': '下一个常规目标从上一次计入的训练继续。',
'Linear progression': '线性进阶',
'Greyskull LP': 'Greyskull LP',
'Double progression': '双重进阶',
diff --cc frontend/src/sheets.jsx
index dade0a479,ba8f3663e..008314eac
--- a/frontend/src/sheets.jsx
+++ b/frontend/src/sheets.jsx
@@@ -812,18 -559,20 +813,26 @@@ export const equipmentProfileSheet = pr
// Progression settings for one exercise (issue #17). Shown inside the config sheet because
// "how does this lift go up" belongs next to sets and reps, not in a separate screen. Left
// on "follow the routine" it inherits, so most people never touch it.
+const progressionStepOf = (c, mode, ex, unit) =>
+ c.inc >= 0 ? c.inc : (mode === 'time' ? 5 : defaultIncrement(ex.id, unit))
+const progressionStepIsValid = (step, policy) =>
+ policy === 'off' || (Number.isFinite(step) && step > 0)
+
- function ProgressionFields({ ex, mode, c, setC, routine, unit }) {
+ function ProgressionFields({ ex, mode, c, setC, routine, unit, perSide }) {
const options = POLICIES_FOR[mode] || ['off']
if (options.length < 2) return null
const inherited = policyFor({ id: ex.id }, routine, mode)
const active = policyFor({ ...c, id: ex.id }, routine, mode)
- const inc = c.inc > 0 ? c.inc : (mode === 'time' ? 5 : defaultIncrement(ex.id, unit))
+ const inc = progressionStepOf(c, mode, ex, unit)
+ const invalid = !progressionStepIsValid(inc, active)
+ const stride = mode === 'reps' && perSide ? 2 : 1
+ const range = active === 'double' ? normalizeRepRange(c.reps, c.repsMin, stride) : null
+ const setRule = v => setC(x => {
+ const next = { ...x, prog: v || undefined }
+ return policyFor({ ...next, id: ex.id }, routine, mode) === 'double'
+ ? { ...next, ...normalizeRepRange(next.reps, next.repsMin, stride) }
+ : next
+ })
return <>
<h4 className="sec">{t('Progression')}</h4>
<div className="sect-b" style={{ marginBottom: 8 }}>
@@@ -834,14 -583,14 +843,18 @@@
<div className="small dim" style={{ marginBottom: active === 'off' ? 18 : 10 }}>{t(POLICY_DESC[active])}</div>
{active !== 'off' && <div className="row cfgrow" style={{ marginBottom: 18 }}>
<Stepper label={mode === 'time' ? t('Step (seconds)') : t('Step ({0})', unit)} value={inc}
- step={mode === 'time' ? 5 : 1.25} decimal={mode !== 'time'} onChange={v => setC(x => ({ ...x, inc: v }))} />
+ step={mode === 'time' ? 5 : 1.25} decimal={mode !== 'time'} invalid={invalid} className={invalid ? 'invalid' : ''}
+ onChange={v => setC(x => ({ ...x, inc: v }))} />
- {active === 'double' && <Stepper label={t('Reps from')} value={c.repsMin || Math.max(1, (c.reps || 10) - 2)}
- step={1} decimal={false} onChange={v => setC(x => ({ ...x, repsMin: v }))} />}
+ {active === 'double' && <>
+ <Stepper label={t('Reps from')} value={range.repsMin} step={stride} decimal={false}
+ onChange={v => setC(x => ({ ...x, ...normalizeRepRange(x.reps, v, stride) }))} />
+ <Stepper label={t('Reps up to')} value={range.reps} step={stride} decimal={false}
+ onChange={v => setC(x => ({ ...x, ...normalizeRepRange(v, x.repsMin, stride) }))} />
+ </>}
</div>}
+ {invalid && <div className="small" role="alert" style={{ color: 'var(--red)', marginTop: -10, marginBottom: 18 }}>
+ {t('Enter a positive step to use this progression rule.')}
+ </div>}
</>
}
@@@ -855,12 -610,16 +874,19 @@@ function ExConfig({ ex, existing, onSav
// Both default from the dataset and are then whatever the config says — see isBw.
const bw = !cardio && isBw({ ...c, id: ex.id })
const perSide = isPerSide(c)
+ const progressionPolicy = policyFor({ ...c, id: ex.id }, routine, mode)
+ const progressionStepInvalid = !progressionStepIsValid(progressionStepOf(c, mode, ex, st.unit), progressionPolicy)
+ const activePolicy = policyFor({ ...c, id: ex.id }, routine, mode)
+ const double = mode === 'reps' && activePolicy === 'double'
// Keep whatever the other mode already had (sets, weight) and fill only what is missing.
- const setMode = m => setC(x => ({ ...defaultConfig(ex.id, m), ...x, mode: m }))
+ const setMode = m => setC(x => {
+ const next = { ...defaultConfig(ex.id, m), ...x, mode: m }
+ return m === 'reps' && policyFor({ ...next, id: ex.id }, routine, 'reps') === 'double'
+ ? { ...next, ...normalizeRepRange(next.reps, next.repsMin, isPerSide(next) ? 2 : 1) }
+ : next
+ })
const save = () => {
+ if (progressionStepInvalid) return
close()
const sets = Math.max(1, Math.round(c.sets) || (cardio ? 1 : 3))
// Only carry progression settings that differ from the inherited default, so a plan file
@@@ -895,9 -649,15 +921,15 @@@
// A unilateral target is stored even: the split has to divide, and a typed 15 would
// otherwise plan seven reps on one side and eight on the other, every session.
const typed = Math.max(1, Math.round(c.reps) || 10)
- const reps = perSide ? Math.ceil(typed / 2) * 2 : typed
+ const stride = perSide ? 2 : 1
+ let reps = perSide ? Math.ceil(typed / stride) * stride : typed
+ let range = null
+ if (double) {
+ range = normalizeRepRange(reps, c.repsMin, stride)
+ reps = range.reps
+ }
- const out = { sets, mode: 'reps', reps, weight: Math.max(0, c.weight || 0), ...flags, ...(perSide ? { side: true } : {}), ...prog, ...withNote, ...withWarmups }
+ const out = { sets, mode: 'reps', reps, weight: Math.max(0, c.weight || 0), ...flags, ...(perSide ? { side: true } : {}), ...prog, ...withNote, ...withWarmups, ...withRest }
- if (policyFor({ ...c, id: ex.id }, routine, 'reps') === 'double') out.repsMin = Math.min(reps, Math.max(1, Math.round(c.repsMin) || Math.max(1, reps - 2)))
+ if (double) out.repsMin = range.repsMin
// A ceiling below the working reps would tell you to add a set on day one.
if (bw && !(out.weight > 0) && c.repsMax > 0) out.repsMax = Math.max(reps, Math.round(c.repsMax))
// Every set in this exercise becomes a drop-set/rest-pause (buildSets stamps the rows) —
diff --cc frontend/src/sheets.swap.test.jsx
index 8a5f431df,000000000..1e112d804
mode 100644,000000..100644
--- a/frontend/src/sheets.swap.test.jsx
+++ b/frontend/src/sheets.swap.test.jsx
@@@ -1,85 -1,0 +1,86 @@@
+// @vitest-environment happy-dom
++import { LANGS } from './lib/i18n-core.js'
+import { act } from 'react'
+import { beforeEach, describe, expect, it, vi } from 'vitest'
+import { swapActiveWorkoutExercise } from './sheets.jsx'
+import { EXDB } from './lib/exercises.js'
+import { DEF, useStore } from './store/useStore.js'
+import { useUI } from './store/useUI.js'
+
+const clone = value => JSON.parse(JSON.stringify(value))
+const ids = EXDB.slice(0, 3).map(exercise => exercise.id)
+
+function entry(id, done = false) {
+ return {
+ id,
+ target: { mode: 'reps', sets: 1, reps: 5, weight: 40 },
+ sets: [{ w: 40, r: 5, done }]
+ }
+}
+
+function installActive() {
+ const S = clone(DEF)
+ S.active = {
+ id: 'swap-test', d: '2026-08-27', start: Date.now(), routineId: null,
+ name: 'Swap test', bw: null, cur: 1,
+ entries: [entry(ids[0]), entry(ids[0]), entry(ids[1])]
+ }
+ useStore.setState({ S, user: null })
+}
+
+function submitSwap(index, exercise, config) {
+ swapActiveWorkoutExercise(index)
+ const picker = useUI.getState().sheets.at(-1)
+ const pickerView = picker.render(picker.close)
+ act(() => pickerView.props.onPick(exercise))
+ const configSheet = useUI.getState().sheets.at(-1)
+ const configView = configSheet.render(configSheet.close)
+ act(() => configView.props.onSave(config))
+}
+
+beforeEach(() => {
+ vi.useFakeTimers()
+ localStorage.clear()
+ useUI.getState().stopRest()
+ useUI.getState().stopWork()
+ useUI.setState({ sheets: [], timer: null, work: null })
+ installActive()
+})
+
+describe('active exercise swap sheet flow', () => {
+ it('invalidates a timed callback and replaces only the selected duplicate', () => {
+ const callback = vi.fn()
+ useUI.getState().startWork(5, 'Hold', callback)
+
+ submitSwap(1, EXDB[2], { mode: 'reps', sets: 2, reps: 8, weight: 30, note: 'New target' })
+ vi.advanceTimersByTime(10_000)
+
+ const active = useStore.getState().S.active
+ expect(useUI.getState().work).toBeNull()
+ expect(callback).not.toHaveBeenCalled()
+ expect(active.entries.map(value => value.id)).toEqual([ids[0], ids[2], ids[1]])
+ expect(active.entries[1].target).toMatchObject({ mode: 'reps', sets: 2, reps: 8, weight: 30, note: 'New target' })
+ expect(active.entries[0].sets).toEqual([{ w: 40, r: 5, done: false }])
+ expect(active.entries[2].sets).toEqual([{ w: 40, r: 5, done: false }])
+ expect(active.cur).toBe(1)
+ })
+})
+
+describe('active exercise swap locale coverage', () => {
+ const required = [
+ 'Swap exercise',
+ 'Swap exercise?',
+ 'Logged sets stay with the original exercise. Choose where the replacement belongs.',
+ 'Keep replacement in this group',
+ 'Insert after this group',
+ 'Logged sets stay with the original exercise. The replacement will be inserted afterward.'
+ ]
+ const packs = import.meta.glob('./locales/*.js', { eager: true, import: 'default' })
+
+ it('defines every new prompt in all twelve locale packs', () => {
- expect(Object.keys(packs)).toHaveLength(12)
++ expect(Object.keys(packs)).toHaveLength(Object.keys(LANGS).length - 1)
+ Object.entries(packs).forEach(([path, pack]) => {
+ required.forEach(key => expect(pack, `${path} is missing ${key}`).toHaveProperty(key))
+ })
+ })
+})