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.

Performance report: whole sets per muscle with the rounding explained, the change itself under each card's arrow, the arrows note only when there is an arrow; why Firefox/Safari print without page numbers

Duarte Santos347b50542f8e
diff --git a/frontend/src/lib/print-doc.js b/frontend/src/lib/print-doc.js
index 03ab9b95e..97ec5c399 100644
--- a/frontend/src/lib/print-doc.js
+++ b/frontend/src/lib/print-doc.js
@@ -4,7 +4,13 @@
// What every printout gets from here:
// - the openGym logo top left, the title, a line of facts, and who it is for and when;
// - page numbers and opengym.ch in the bottom margin (CSS @page margin boxes: Chrome, Android's
-// WebView, desktop Chrome/Edge; the iOS app draws the same line natively, PrintPlugin.swift);
+// WebView, desktop Chrome/Edge; the iOS app draws the same line natively, PrintPlugin.swift).
+// Desktop Firefox (checked with 158) and Safari drop margin boxes, so there the line is left
+// out on purpose: nothing else changes, and their own "Headers and footers" print option (on
+// by default in Firefox) adds "Page 1 of 3". Our own running footer would have to be a fixed
+// element inside the page area (Firefox clips anything placed in the margin), sitting on the
+// last lines of each page, and page numbers would need our own pagination guessing where the
+// browser breaks pages. A wrong page number is worse than none;
// - a white, ink-light page: thin rules, grey text, the lime accent only as a small mark;
// - the page-break rules: anything marked .keep stays on one page, a heading is printed inside
// the same .keep as the first block under it so it can never be left alone at a page bottom,
diff --git a/frontend/src/lib/pt-br-locale.test.js b/frontend/src/lib/pt-br-locale.test.js
index d315915d1..b61563148 100644
--- a/frontend/src/lib/pt-br-locale.test.js
+++ b/frontend/src/lib/pt-br-locale.test.js
@@ -41,7 +41,7 @@ describe('Brazilian Portuguese locale', () => {
// has to be taught is a number nobody reads. What the numbers stood for is asserted above.
// If the hash fails, review the changed keys and wording before accepting a new one. From
// frontend/: node scripts/pt-br-inheritance-fingerprint.mjs --list
- expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('760ff9e9f2b61b1ab437280e6713fdc9b2cc7b8364b75a46646ef1a9fdbf51e8')
+ expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('05bed208d1e2b39089adbf4848905fa78fef3743bafb524a70b2ac528865f634')
})
// pt-PT labelled Unpair 'Desfazer': Undo, in Portuguese (it is pt-BR's Undo), on the button that
diff --git a/frontend/src/lib/report-print.js b/frontend/src/lib/report-print.js
index 74709f893..ff07725f6 100644
--- a/frontend/src/lib/report-print.js
+++ b/frontend/src/lib/report-print.js
@@ -35,12 +35,16 @@ const signed = (n, digits = 1) => {
const r = Math.round(n * 10 ** digits) / 10 ** digits
return (r > 0 ? '+' : r < 0 ? '−' : '±') + fmtNum(Math.abs(r))
}
-// Change against the stretch before, as a small arrow line under a card's number.
-function delta(now, before, { pct = true } = {}) {
- if (!(before > 0) || now == null) return ''
- const p = Math.round((now - before) / before * 100)
- if (!p) return `<div class="delta flat">± 0%</div>`
- return `<div class="delta ${p > 0 ? 'up' : 'down'}">${p > 0 ? '▲' : '▼'} ${pct ? Math.abs(p) + '%' : ''}</div>`
+// Change against the stretch before, as a small line under a card's number: arrow, the change
+// itself and, when there was something before, the percentage ("▲ +3 · 33%"). The arrow and the
+// sign carry the meaning, the colour only helps (so it reads the same in grey and to colour-blind
+// eyes). Nothing when both stretches are empty.
+function delta(now, before, fmt = v => fmtNum(Math.round(v))) {
+ if (now == null || before == null || !(now > 0 || before > 0)) return ''
+ const d = now - before
+ if (!d) return `<div class="delta flat">± 0</div>`
+ const pct = before > 0 ? ` · ${fmtNum(Math.abs(Math.round(d / before * 100)))}%` : ''
+ return `<div class="delta ${d > 0 ? 'up' : 'down'}">${d > 0 ? '▲ +' : '▼ −'}${esc(fmt(Math.abs(d)))}${pct}</div>`
}
// A stat card: label, value, an optional line under it.
@@ -349,14 +353,17 @@ function summaryHTML(R, unit) {
const bw = T.bwChange != null
? card(t('Body weight'), `${esc(signed(T.bwChange))}<small>${esc(unit)}</small>`, `<div class="c-s">${esc(fmtNum(T.bwStart))} → ${esc(fmtNum(T.bwEnd))} ${esc(unit)}</div>`)
: card(t('Body weight'), T.bwEnd != null ? `${esc(fmtNum(T.bwEnd))}<small>${esc(unit)}</small>` : '–', `<div class="c-s">${esc(T.bwEnd != null ? t('One weigh-in') : t('No weigh-ins'))}</div>`)
- return `<div class="cards">${[
+ const cards = [
card(t('Workouts'), esc(fmtNum(T.workouts)), delta(T.workouts, P.workouts)),
- card(t('Volume'), `${esc(compact(T.volume))}<small>${esc(unit)}</small>`, delta(T.volume, P.volume)),
+ card(t('Volume'), `${esc(compact(T.volume))}<small>${esc(unit)}</small>`, delta(T.volume, P.volume, v => `${compact(v)} ${unit}`)),
card(t('Work sets'), esc(fmtNum(T.sets)), delta(T.sets, P.sets)),
- card(t('Training time'), esc(T.ms >= 60000 ? fmtDur(T.ms) : '–'), delta(T.ms, P.ms)),
+ card(t('Training time'), esc(T.ms >= 60000 ? fmtDur(T.ms) : '–'), delta(T.ms, P.ms, v => fmtDur(Math.max(60000, v)))),
card(t('New bests'), esc(fmtNum(T.prs)), delta(T.prs, P.prs)),
bw,
- ].join('')}</div><div class="note-line">${esc(t('Arrows compare with the {0} days before.', R.range.days))}</div>`
+ ]
+ // The note only when at least one card carries an arrow.
+ const note = cards.some(c => c.includes('class="delta')) ? `<div class="note-line">${esc(t('Arrows compare with the {0} days before.', R.range.days))}</div>` : ''
+ return `<div class="cards">${cards.join('')}</div>${note}`
}
function volumeHTML(R, unit) {
@@ -383,9 +390,9 @@ function musclesHTML(R, m) {
const list = R.muscles.worked
if (!list.length) return `<div class="keep panel"><h3 class="sec-h">${esc(t('Sets per muscle'))}</h3><p class="none">${esc(t('No muscle work in this period.'))}</p></div>`
const max = list[0].sets || 1
- const rows = list.map((x, i) => `<tr><td class="m">${m.s('mus' + i)}${esc(t(x.name))}${m.e('mus' + i)}</td><td><div class="hbar${i === 0 ? ' top' : ''}" style="width:${Math.max(2, Math.round(x.sets / max * 100))}%"></div></td><td class="v">${esc(t('{0} sets', fmtNum(x.sets)))}</td></tr>`).join('')
+ const rows = list.map((x, i) => `<tr><td class="m">${m.s('mus' + i)}${esc(t(x.name))}${m.e('mus' + i)}</td><td><div class="hbar${i === 0 ? ' top' : ''}" style="width:${Math.max(2, Math.round(x.sets / max * 100))}%"></div></td><td class="v">${esc(t('{0} sets', x.sets >= 0.5 ? fmtNum(Math.round(x.sets)) : '<1'))}</td></tr>`).join('')
const missed = R.muscles.missed.length ? `<div class="note-line">${esc(t('Not trained:'))} ${esc(R.muscles.missed.map(x => t(x.name)).join(', '))}</div>` : ''
- return `<table class="mus">${headRow(t('Sets per muscle'), 3, 'mus0', m)}<tbody>${rows}</tbody></table>${missed}<div class="note-line">${esc(t('Effective sets: a set counts fully for its main muscle and partly for the ones that help.'))}</div>`
+ return `<table class="mus">${headRow(t('Sets per muscle'), 3, 'mus0', m)}<tbody>${rows}</tbody></table>${missed}<div class="note-line">${esc(t('Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.'))}</div>`
}
function liftsHTML(R, unit, range, m) {
diff --git a/frontend/src/lib/report.test.js b/frontend/src/lib/report.test.js
index 02bf11646..c6f9abc95 100644
--- a/frontend/src/lib/report.test.js
+++ b/frontend/src/lib/report.test.js
@@ -135,6 +135,29 @@ describe('report and workout printouts', () => {
// No exercise media on paper, ever.
expect(html).not.toMatch(/<img|\.webp|\.gif|\.mp4/)
})
+ it('summary cards show the change itself under the arrow, with a percentage when there was a before', () => {
+ const html = reportPrintHTML(state(), { range: '4w', today: TODAY })
+ // 5 workouts in the 4 weeks, 1 in the 4 weeks before.
+ expect(html).toContain('<div class="delta up">▲ +4 · 400%</div>')
+ expect(html).toContain('Arrows compare with the 28 days before.')
+ // Same count both weeks: a flat line, no arrow.
+ expect(reportPrintHTML(state(), { range: '7d', today: TODAY })).toContain('<div class="delta flat">± 0</div>')
+ })
+ it('nothing before the range: the change without a percentage; nothing at all: no arrows, no note', () => {
+ const S = { ...state(), workouts: state().workouts.slice(-1), bodyweight: [] }
+ const html = reportPrintHTML(S, { range: '7d', today: TODAY })
+ expect(html).toContain('<div class="delta up">▲ +1</div>')
+ const empty = reportPrintHTML({ unit: 'kg', workouts: [], bodyweight: [] }, { range: '7d', today: TODAY })
+ expect(empty).not.toContain('class="delta')
+ expect(empty).not.toContain('Arrows compare')
+ })
+ it('sets per muscle are whole numbers, with the rounding explained', () => {
+ const html = reportPrintHTML(state(), { range: '4w', today: TODAY })
+ const vals = [...html.matchAll(/<td class="v">([^<]*)<\/td>/g)].map(x => x[1])
+ expect(vals.length).toBeGreaterThan(0)
+ for (const v of vals) expect(v).toMatch(/^(<|&lt;)?\d+ sets?$/)
+ expect(html).toContain('Rounded to whole sets.')
+ })
it('a workout: every exercise with every set, warm-ups marked', () => {
const S = state()
const html = workoutPrintHTML(S, S.workouts[4], { owner: 'Ana' })
diff --git a/frontend/src/locales/ar.js b/frontend/src/locales/ar.js
index 617e5a8cf..c09dc7970 100644
--- a/frontend/src/locales/ar.js
+++ b/frontend/src/locales/ar.js
@@ -2491,7 +2491,7 @@ export default {
'Most days in a row': 'أكثر أيام متتالية',
'No muscle work in this period.': 'لا يوجد عمل عضلي في هذه الفترة.',
'Not trained:': 'لم يتم تدريبها:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'المجموعات الفعلية: تُحسب المجموعة كاملة للعضلة الأساسية وجزئيًا للعضلات المساعدة.',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'مقرّبة إلى مجموعات كاملة. تُحسب المجموعة كاملة للعضلة الأساسية وجزئيًا للعضلات المساعدة، لذلك يكون مجموع العضلات أكبر من مجموعات العمل.',
'One session in this period.': 'حصة واحدة في هذه الفترة.',
'No workouts in this period.': 'لا توجد تمارين في هذه الفترة.',
'Consistency': 'الانتظام',
diff --git a/frontend/src/locales/bn.js b/frontend/src/locales/bn.js
index dead25f80..63c94d66a 100644
--- a/frontend/src/locales/bn.js
+++ b/frontend/src/locales/bn.js
@@ -2515,7 +2515,7 @@ export default {
'Most days in a row': 'টানা সবচেয়ে বেশি দিন',
'No muscle work in this period.': 'এই সময়ে কোনো মাসল ওয়ার্ক নেই।',
'Not trained:': 'ট্রেন করা হয়নি:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'কার্যকর সেট: একটি সেট মূল পেশির জন্য পুরো এবং সাহায্যকারী পেশির জন্য আংশিক গোনা হয়।',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'পুরো সেটে রাউন্ড করা। একটি সেট মূল পেশির জন্য পুরো এবং সাহায্যকারী পেশির জন্য আংশিক গোনা হয়, তাই পেশিগুলোর যোগফল তোমার ওয়ার্ক সেটের চেয়ে বেশি।',
'One session in this period.': 'এই সময়ে একটি সেশন।',
'No workouts in this period.': 'এই সময়ে কোনো ওয়ার্কআউট নেই।',
'Consistency': 'নিয়মিততা',
diff --git a/frontend/src/locales/de.js b/frontend/src/locales/de.js
index 8a34e3951..bfc5e4882 100644
--- a/frontend/src/locales/de.js
+++ b/frontend/src/locales/de.js
@@ -2456,7 +2456,7 @@ export default {
'Most days in a row': 'Meiste Tage am Stück',
'No muscle work in this period.': 'In diesem Zeitraum keine Muskelarbeit.',
'Not trained:': 'Nicht trainiert:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'Effektive Sätze: Ein Satz zählt voll für den Hauptmuskel und anteilig für die Helfer.',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'Auf ganze Sätze gerundet. Ein Satz zählt voll für den Hauptmuskel und anteilig für die Helfer, darum ergeben die Muskeln zusammen mehr als deine Arbeitssätze.',
'One session in this period.': 'Eine Einheit in diesem Zeitraum.',
'No workouts in this period.': 'Keine Trainings in diesem Zeitraum.',
'Consistency': 'Regelmässigkeit',
diff --git a/frontend/src/locales/es.js b/frontend/src/locales/es.js
index ad31bdf22..3f490d93c 100644
--- a/frontend/src/locales/es.js
+++ b/frontend/src/locales/es.js
@@ -2436,7 +2436,7 @@ export default {
'Most days in a row': 'Más días seguidos',
'No muscle work in this period.': 'Sin trabajo muscular en este periodo.',
'Not trained:': 'Sin entrenar:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'Series efectivas: una serie cuenta entera para su músculo principal y en parte para los que ayudan.',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'Redondeado a series enteras. Una serie cuenta entera para su músculo principal y en parte para los que ayudan, así que los músculos suman más que tus series de trabajo.',
'One session in this period.': 'Una sesión en este periodo.',
'No workouts in this period.': 'Sin entrenamientos en este periodo.',
'Consistency': 'Constancia',
diff --git a/frontend/src/locales/fr.js b/frontend/src/locales/fr.js
index 9fb253162..00d4b2159 100644
--- a/frontend/src/locales/fr.js
+++ b/frontend/src/locales/fr.js
@@ -2436,7 +2436,7 @@ export default {
'Most days in a row': 'Plus de jours d’affilée',
'No muscle work in this period.': 'Aucun travail musculaire sur cette période.',
'Not trained:': 'Pas entraînés :',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'Séries effectives : une série compte en entier pour le muscle principal et en partie pour ceux qui aident.',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'Arrondi à la série entière. Une série compte en entier pour le muscle principal et en partie pour ceux qui aident, donc les muscles totalisent plus que tes séries de travail.',
'One session in this period.': 'Une séance sur cette période.',
'No workouts in this period.': 'Aucune séance sur cette période.',
'Consistency': 'Régularité',
diff --git a/frontend/src/locales/hi.js b/frontend/src/locales/hi.js
index abc3a2946..81f860c9d 100644
--- a/frontend/src/locales/hi.js
+++ b/frontend/src/locales/hi.js
@@ -2436,7 +2436,7 @@ export default {
'Most days in a row': 'लगातार सबसे ज़्यादा दिन',
'No muscle work in this period.': 'इस अवधि में कोई मसल वर्क नहीं।',
'Not trained:': 'ट्रेन नहीं हुए:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'प्रभावी सेट: एक सेट मुख्य मसल के लिए पूरा और मदद करने वाली मसल्स के लिए आंशिक गिना जाता है।',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'पूरे सेट तक राउंड किया गया। एक सेट मुख्य मसल के लिए पूरा और मदद करने वाली मसल्स के लिए आंशिक गिना जाता है, इसलिए मसल्स का जोड़ आपके वर्क सेट से ज़्यादा होता है।',
'One session in this period.': 'इस अवधि में एक सेशन।',
'No workouts in this period.': 'इस अवधि में कोई वर्कआउट नहीं।',
'Consistency': 'नियमितता',
diff --git a/frontend/src/locales/hu.js b/frontend/src/locales/hu.js
index c426962ea..2bbe62000 100644
--- a/frontend/src/locales/hu.js
+++ b/frontend/src/locales/hu.js
@@ -2439,7 +2439,7 @@ export default {
'Most days in a row': 'Legtöbb nap egymás után',
'No muscle work in this period.': 'Ebben az időszakban nem volt izommunka.',
'Not trained:': 'Nem edzett:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'Effektív sorozatok: egy sorozat teljesen számít a fő izomnak, részben a segítőknek.',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'Egész sorozatra kerekítve. Egy sorozat teljesen számít a fő izomnak, részben a segítőknek, ezért az izmok összesen többet adnak ki, mint a munkasorozataid.',
'One session in this period.': 'Egy edzés ebben az időszakban.',
'No workouts in this period.': 'Ebben az időszakban nincs edzés.',
'Consistency': 'Rendszeresség',
diff --git a/frontend/src/locales/it.js b/frontend/src/locales/it.js
index 5e8899160..edd5b32a2 100644
--- a/frontend/src/locales/it.js
+++ b/frontend/src/locales/it.js
@@ -2436,7 +2436,7 @@ export default {
'Most days in a row': 'Più giorni di fila',
'No muscle work in this period.': 'Nessun lavoro muscolare in questo periodo.',
'Not trained:': 'Non allenati:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'Serie effettive: una serie conta per intero per il muscolo principale e in parte per quelli che aiutano.',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'Arrotondato a serie intere. Una serie conta per intero per il muscolo principale e in parte per quelli che aiutano, quindi i muscoli sommano più delle tue serie allenanti.',
'One session in this period.': 'Una sessione in questo periodo.',
'No workouts in this period.': 'Nessun allenamento in questo periodo.',
'Consistency': 'Costanza',
diff --git a/frontend/src/locales/ko.js b/frontend/src/locales/ko.js
index 2fab59ed9..9c8945fcf 100644
--- a/frontend/src/locales/ko.js
+++ b/frontend/src/locales/ko.js
@@ -2436,7 +2436,7 @@ export default {
'Most days in a row': '최장 연속 운동일',
'No muscle work in this period.': '이 기간에는 근육 운동이 없어요.',
'Not trained:': '운동하지 않은 부위:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': '유효 세트: 세트는 주동근에 온전히, 보조근에 일부 계산돼요.',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': '정수 세트로 반올림했어요. 세트는 주동근에 온전히, 보조근에 일부 계산되므로 근육별 합계가 본 세트 수보다 많아요.',
'One session in this period.': '이 기간에 한 번 운동했어요.',
'No workouts in this period.': '이 기간에는 운동 기록이 없어요.',
'Consistency': '꾸준함',
diff --git a/frontend/src/locales/pl.js b/frontend/src/locales/pl.js
index aaafdc5af..2cc5ee30c 100644
--- a/frontend/src/locales/pl.js
+++ b/frontend/src/locales/pl.js
@@ -2436,7 +2436,7 @@ export default {
'Most days in a row': 'Najwięcej dni z rzędu',
'No muscle work in this period.': 'Brak pracy mięśni w tym okresie.',
'Not trained:': 'Nietrenowane:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'Serie efektywne: seria liczy się w całości dla głównego mięśnia i częściowo dla pomocniczych.',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'Zaokrąglone do pełnych serii. Seria liczy się w całości dla głównego mięśnia i częściowo dla pomocniczych, więc mięśnie razem dają więcej niż twoje serie robocze.',
'One session in this period.': 'Jedna sesja w tym okresie.',
'No workouts in this period.': 'Brak treningów w tym okresie.',
'Consistency': 'Regularność',
diff --git a/frontend/src/locales/pt.js b/frontend/src/locales/pt.js
index 981dfba74..c6fb14bb7 100644
--- a/frontend/src/locales/pt.js
+++ b/frontend/src/locales/pt.js
@@ -2436,7 +2436,7 @@ export default {
'Most days in a row': 'Mais dias seguidos',
'No muscle work in this period.': 'Sem trabalho muscular neste período.',
'Not trained:': 'Não treinados:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'Séries efetivas: uma série conta por inteiro para o músculo principal e em parte para os que ajudam.',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'Arredondado a séries inteiras. Uma série conta por inteiro para o músculo principal e em parte para os que ajudam, por isso os músculos somam mais do que as séries de trabalho.',
'One session in this period.': 'Uma sessão neste período.',
'No workouts in this period.': 'Sem treinos neste período.',
'Consistency': 'Regularidade',
diff --git a/frontend/src/locales/ru.js b/frontend/src/locales/ru.js
index c68305a35..24517f2f3 100644
--- a/frontend/src/locales/ru.js
+++ b/frontend/src/locales/ru.js
@@ -2440,7 +2440,7 @@ export default {
'Most days in a row': 'Больше всего дней подряд',
'No muscle work in this period.': 'За этот период нет работы мышц.',
'Not trained:': 'Не тренировались:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'Эффективные подходы: подход считается полностью для основной мышцы и частично для помогающих.',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'Округлено до целых подходов. Подход считается полностью для основной мышцы и частично для помогающих, поэтому по мышцам в сумме выходит больше, чем рабочих подходов.',
'One session in this period.': 'Одна тренировка за этот период.',
'No workouts in this period.': 'За этот период нет тренировок.',
'Consistency': 'Регулярность',
diff --git a/frontend/src/locales/th.js b/frontend/src/locales/th.js
index 5d187b416..43f015e14 100644
--- a/frontend/src/locales/th.js
+++ b/frontend/src/locales/th.js
@@ -2447,7 +2447,7 @@ export default {
'Most days in a row': 'ฝึกติดกันมากที่สุด (วัน)',
'No muscle work in this period.': 'ช่วงนี้ไม่มีการฝึกกล้ามเนื้อ',
'Not trained:': 'ยังไม่ได้ฝึก:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'เซ็ตที่มีผล: หนึ่งเซ็ตนับเต็มให้กล้ามเนื้อหลัก และนับบางส่วนให้กล้ามเนื้อที่ช่วย',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'ปัดเป็นเซ็ตเต็ม หนึ่งเซ็ตนับเต็มให้กล้ามเนื้อหลัก และนับบางส่วนให้กล้ามเนื้อที่ช่วย ผลรวมของกล้ามเนื้อจึงมากกว่าเซ็ตทำงานของคุณ',
'One session in this period.': 'ช่วงนี้มีการฝึกครั้งเดียว',
'No workouts in this period.': 'ช่วงนี้ไม่มีการฝึก',
'Consistency': 'ความสม่ำเสมอ',
diff --git a/frontend/src/locales/tr.js b/frontend/src/locales/tr.js
index c8f4f8788..0247f0eb3 100644
--- a/frontend/src/locales/tr.js
+++ b/frontend/src/locales/tr.js
@@ -2436,7 +2436,7 @@ export default {
'Most days in a row': 'Üst üste en çok gün',
'No muscle work in this period.': 'Bu dönemde kas çalışması yok.',
'Not trained:': 'Çalışılmayanlar:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'Etkili setler: bir set ana kas için tam, yardımcı kaslar için kısmen sayılır.',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'Tam sete yuvarlandı. Bir set ana kas için tam, yardımcı kaslar için kısmen sayılır, bu yüzden kasların toplamı çalışma setlerinden fazladır.',
'One session in this period.': 'Bu dönemde tek seans.',
'No workouts in this period.': 'Bu dönemde antrenman yok.',
'Consistency': 'Düzenlilik',
diff --git a/frontend/src/locales/uk.js b/frontend/src/locales/uk.js
index 709c76f77..7573a133a 100644
--- a/frontend/src/locales/uk.js
+++ b/frontend/src/locales/uk.js
@@ -2433,7 +2433,7 @@ export default {
'Most days in a row': 'Найбільше днів поспіль',
'No muscle work in this period.': 'За цей період немає роботи м’язів.',
'Not trained:': 'Не тренувалися:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': 'Ефективні підходи: підхід рахується повністю для основного м’яза і частково для тих, що допомагають.',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': 'Округлено до цілих підходів. Підхід рахується повністю для основного м’яза і частково для тих, що допомагають, тому м’язи разом дають більше, ніж робочих підходів.',
'One session in this period.': 'Одне тренування за цей період.',
'No workouts in this period.': 'За цей період немає тренувань.',
'Consistency': 'Регулярність',
diff --git a/frontend/src/locales/zh-TW.js b/frontend/src/locales/zh-TW.js
index 4e6bf4563..39ba77c3c 100644
--- a/frontend/src/locales/zh-TW.js
+++ b/frontend/src/locales/zh-TW.js
@@ -2429,7 +2429,7 @@ export default {
'Most days in a row': '最長連續訓練天數',
'No muscle work in this period.': '這段期間沒有肌肉訓練。',
'Not trained:': '未訓練:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': '有效組數:一組對主要肌肉算一整組,對輔助肌肉算一部分。',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': '已四捨五入為整組。一組對主要肌肉算一整組,對輔助肌肉算一部分,所以各肌肉加起來會比你的正式組多。',
'One session in this period.': '這段期間只練了一次。',
'No workouts in this period.': '這段期間沒有訓練。',
'Consistency': '規律性',
diff --git a/frontend/src/locales/zh.js b/frontend/src/locales/zh.js
index 1165bafe8..d2cc06bd4 100644
--- a/frontend/src/locales/zh.js
+++ b/frontend/src/locales/zh.js
@@ -2436,7 +2436,7 @@ export default {
'Most days in a row': '最长连续训练天数',
'No muscle work in this period.': '这段时间没有肌肉训练。',
'Not trained:': '未训练:',
- 'Effective sets: a set counts fully for its main muscle and partly for the ones that help.': '有效组数:一组对主要肌肉算一整组,对辅助肌肉算一部分。',
+ 'Rounded to whole sets. A set counts fully for its main muscle and partly for the ones that help, so the muscles add up to more than your work sets.': '已四舍五入为整组。一组对主要肌肉算一整组,对辅助肌肉算一部分,所以各肌肉加起来会比你的正式组多。',
'One session in this period.': '这段时间只练了一次。',
'No workouts in this period.': '这段时间没有训练。',
'Consistency': '规律性',