From 0c6c22c04bd5fc6e67ccc3e358c473ab76744a39 Mon Sep 17 00:00:00 2001 From: Duarte Santos Date: Thu, 30 Jul 2026 23:42:21 +0200 Subject: [PATCH] Effort help: show the two scales as one table, (i) before the control MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The sheet explained RIR and RPE in three paragraphs, which is a bad way to say "these are the same judgement counted from opposite ends" — you had to hold both sentences in your head to see the correspondence. A conversion table shows it in one look: RIR and RPE in fixed tabular columns you can read straight down, the feel in words next to them, and the row a working set usually lands on highlighted in the accent. The table is built from the same parts as the app's grouped lists (surface fill, inset hairlines) instead of a real , so it inherits the card look and wraps on a narrow phone. The (i) moves ahead of the segmented control: you reach the explanation on the way to the choice rather than past it. The three paragraph strings are replaced by the table's strings in all 11 language packs. --- frontend/src/index.css | 34 +++++++++++++++++++++++++---- frontend/src/locales/de.js | 13 +++++++---- frontend/src/locales/es.js | 13 +++++++---- frontend/src/locales/fr.js | 13 +++++++---- frontend/src/locales/hi.js | 13 +++++++---- frontend/src/locales/it.js | 13 +++++++---- frontend/src/locales/ko.js | 13 +++++++---- frontend/src/locales/pl.js | 13 +++++++---- frontend/src/locales/pt.js | 13 +++++++---- frontend/src/locales/ru.js | 13 +++++++---- frontend/src/locales/tr.js | 13 +++++++---- frontend/src/locales/zh.js | 13 +++++++---- frontend/src/views/Settings.jsx | 38 +++++++++++++++++++++++++-------- 13 files changed, 158 insertions(+), 57 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 2102abf..6afdd3f 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -236,13 +236,13 @@ h4.sec{ .lrow-c{color:var(--label);font-size:15px;flex:none;--icon-stroke:2.4} .lrow-k{color:var(--acc);font-size:17px;flex:none;--icon-stroke:2.4} .lrow.danger,.lrow.danger .lrow-t{color:var(--red)} -/* an (i) next to a row's control: painted small and dim so the control stays the loud thing, +/* an (i) before a row's control: painted small and dim so the control stays the loud thing, but with a finger-sized target like everything else — the padding is the hit area and the - negative margin keeps it from making the row taller. Sits after the control so a long - translation wrapping the title never pushes it around. */ + vertical negative margin keeps it from making the row taller. The horizontal ones pull the + hit area back under the row's own 12px gap instead of adding to it. */ .helpbtn{ color:var(--label-3);font-size:16px;background:none;line-height:0;flex:none; - margin:-11px -4px -11px 0;padding:11px 4px; + margin:-11px -2px -11px -4px;padding:11px 4px; } .helpbtn:active{color:var(--label)} @@ -653,6 +653,32 @@ h4.sec{ :root[data-theme="light"] .center{background:#fff} @keyframes pop{from{transform:translate(-50%,-50%) scale(.94);opacity:0}to{transform:translate(-50%,-50%) scale(1);opacity:1}} +/* --- RIR/RPE conversion table (effort help sheet) --- + The two scales only click when you see them side by side, so the numbers get fixed-width + tabular columns you can read straight down, and the words take whatever is left. Built out + of the same grouped-list parts as the rest of the app (surface fill, inset hairlines) rather + than a real
, so it inherits the card look and wraps properly on a narrow phone. */ +.efftbl{background:var(--surface);border-radius:var(--r-lg);overflow:hidden;margin:14px 0 12px} +.efftbl .r{display:flex;align-items:center;gap:10px;padding:10px 14px;position:relative} +.efftbl .r+.r::before{ + content:'';position:absolute;left:14px;right:0;top:0;height:var(--hair);background:var(--sep); +} +.efftbl .n{ + width:36px;flex:none;text-align:center;font-size:17px;font-weight:600; + letter-spacing:-.02em;font-variant-numeric:tabular-nums; +} +.efftbl .f{flex:1;min-width:0;font-size:15px;color:var(--label-2);line-height:1.3} +/* the header names the columns without competing with them */ +.efftbl .hd{background:var(--surface-2);padding-top:8px;padding-bottom:8px} +.efftbl .hd .n,.efftbl .hd .f{ + font-size:11px;font-weight:600;letter-spacing:.05em;text-transform:uppercase; + color:var(--label-3); +} +/* the row a working set usually lands on — the anchor the others are read against */ +.efftbl .r.on{background:var(--acc-soft)} +.efftbl .r.on .n{color:var(--acc)} +.efftbl .r.on .f{color:var(--label)} + /* --- glyph picker (replaces the emoji grid) --- */ .glyph-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:9px} .glyph-cell{ diff --git a/frontend/src/locales/de.js b/frontend/src/locales/de.js index a6f2ff0..a6cdc7f 100644 --- a/frontend/src/locales/de.js +++ b/frontend/src/locales/de.js @@ -517,8 +517,13 @@ export default { 'RPE': 'RPE', 'Effort per set': 'Anstrengung pro Satz', 'What are RIR and RPE?': 'Was sind RIR und RPE?', - 'How hard a set was, logged next to weight and reps. Nothing else reads it — your progression and estimated 1RM are unaffected.': 'Wie schwer ein Satz war, direkt neben Gewicht und Wiederholungen. Sonst liest das nichts — Progression und geschätztes 1RM bleiben unberührt.', - 'RIR — reps in reserve: how many more reps you had in you. 2 means two left, 0 means you went to failure.': 'RIR — Wiederholungen in Reserve: wie viele du noch geschafft hättest. 2 heißt zwei übrig, 0 heißt bis zum Muskelversagen.', - 'RPE — perceived exertion, the same effort read off a 10-point scale: RPE 8 means two reps left, RPE 10 means failure.': 'RPE — empfundene Anstrengung, dasselbe auf einer 10er-Skala: RPE 8 heißt zwei Wiederholungen übrig, RPE 10 heißt Muskelversagen.', - 'So RPE ≈ 10 − RIR. Pick the one you already think in; sets you have already logged keep their own scale.': 'Also RPE ≈ 10 − RIR. Nimm die Skala, in der du ohnehin denkst; bereits protokollierte Sätze behalten ihre eigene.', + 'How hard a set was, logged next to weight and reps. Two scales for the same judgement, counted from opposite ends.': 'Wie schwer ein Satz war, direkt neben Gewicht und Wiederholungen. Zwei Skalen für dieselbe Einschätzung, von entgegengesetzten Enden gezählt.', + 'How it felt': 'Wie es sich anfühlte', + 'Nothing left — went to failure': 'Nichts mehr übrig — bis zum Muskelversagen', + 'One more rep in the tank': 'Eine Wiederholung wäre noch gegangen', + 'Two more reps': 'Zwei Wiederholungen übrig', + 'Three more reps': 'Drei Wiederholungen übrig', + 'Easy — warm-up territory': 'Locker — Aufwärmbereich', + '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 zählt die Wiederholungen, die du übrig lässt; RPE liest dieselbe Anstrengung auf einer 10er-Skala ab — also RPE ≈ 10 − RIR. Nimm die Skala, in der du ohnehin denkst.', + 'The highlighted row is where the first + lands. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': 'Die hervorgehobene Zeile ist der Wert, auf dem das erste + landet. Bereits protokollierte Sätze behalten ihre eigene Skala, und sonst liest den Wert nichts — Progression und geschätztes 1RM bleiben unberührt.', } diff --git a/frontend/src/locales/es.js b/frontend/src/locales/es.js index b3c697d..d17d7c9 100644 --- a/frontend/src/locales/es.js +++ b/frontend/src/locales/es.js @@ -499,8 +499,13 @@ export default { 'RPE': 'RPE', 'Effort per set': 'Esfuerzo por serie', 'What are RIR and RPE?': '¿Qué son RIR y RPE?', - 'How hard a set was, logged next to weight and reps. Nothing else reads it — your progression and estimated 1RM are unaffected.': 'Lo dura que fue una serie, junto al peso y las repeticiones. Nada más lo lee: tu progresión y el 1RM estimado no cambian.', - 'RIR — reps in reserve: how many more reps you had in you. 2 means two left, 0 means you went to failure.': 'RIR — repeticiones en reserva: cuántas más habrías podido hacer. 2 significa dos de margen, 0 significa al fallo.', - 'RPE — perceived exertion, the same effort read off a 10-point scale: RPE 8 means two reps left, RPE 10 means failure.': 'RPE — esfuerzo percibido, lo mismo en una escala de 10: RPE 8 son dos repeticiones de margen, RPE 10 es el fallo.', - 'So RPE ≈ 10 − RIR. Pick the one you already think in; sets you have already logged keep their own scale.': 'Así que RPE ≈ 10 − RIR. Elige la escala en la que ya piensas; las series ya registradas conservan la suya.', + 'How hard a set was, logged next to weight and reps. Two scales for the same judgement, counted from opposite ends.': 'Lo dura que fue una serie, junto al peso y las repeticiones. Dos escalas para lo mismo, contadas desde extremos opuestos.', + 'How it felt': 'Cómo se sintió', + 'Nothing left — went to failure': 'Nada más — hasta el fallo', + 'One more rep in the tank': 'Una repetición más en reserva', + 'Two more reps': 'Dos repeticiones más', + 'Three more reps': 'Tres repeticiones más', + 'Easy — warm-up territory': 'Fácil — zona de calentamiento', + '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.': 'El RIR cuenta las repeticiones que dejas; el RPE lee ese mismo esfuerzo en una escala de 10 — así que RPE ≈ 10 − RIR. Elige la que ya usas para pensar.', + 'The highlighted row is where the first + lands. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': 'La fila resaltada es donde cae el primer +. Las series ya registradas conservan su escala, y nada más lee el valor: la progresión y el 1RM estimado no cambian.', } diff --git a/frontend/src/locales/fr.js b/frontend/src/locales/fr.js index 9e77c8b..bc47976 100644 --- a/frontend/src/locales/fr.js +++ b/frontend/src/locales/fr.js @@ -499,8 +499,13 @@ export default { 'RPE': 'RPE', 'Effort per set': 'Effort par série', 'What are RIR and RPE?': 'Que sont le RIR et le RPE ?', - 'How hard a set was, logged next to weight and reps. Nothing else reads it — your progression and estimated 1RM are unaffected.': 'La difficulté d’une série, notée à côté du poids et des répétitions. Rien d’autre ne s’en sert — ta progression et le 1RM estimé restent inchangés.', - 'RIR — reps in reserve: how many more reps you had in you. 2 means two left, 0 means you went to failure.': 'RIR — répétitions en réserve : combien tu aurais encore pu en faire. 2 = deux en réserve, 0 = jusqu’à l’échec.', - 'RPE — perceived exertion, the same effort read off a 10-point scale: RPE 8 means two reps left, RPE 10 means failure.': 'RPE — effort perçu, la même chose sur une échelle de 10 : RPE 8 = deux répétitions en réserve, RPE 10 = échec.', - 'So RPE ≈ 10 − RIR. Pick the one you already think in; sets you have already logged keep their own scale.': 'Donc RPE ≈ 10 − RIR. Choisis l’échelle dans laquelle tu penses déjà ; les séries déjà enregistrées gardent la leur.', + 'How hard a set was, logged next to weight and reps. Two scales for the same judgement, counted from opposite ends.': 'La difficulté d’une série, à côté du poids et des répétitions. Deux échelles pour la même appréciation, comptées par les deux bouts.', + 'How it felt': 'La sensation', + 'Nothing left — went to failure': 'Plus rien — jusqu’à l’échec', + 'One more rep in the tank': 'Encore une répétition en réserve', + 'Two more reps': 'Encore deux répétitions', + 'Three more reps': 'Encore trois répétitions', + 'Easy — warm-up territory': 'Facile — zone d’échauffement', + '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.': 'Le RIR compte les répétitions qu’il te restait ; le RPE lit le même effort sur une échelle de 10 — donc RPE ≈ 10 − RIR. Prends celle dans laquelle tu penses déjà.', + 'The highlighted row is where the first + lands. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': 'La ligne mise en avant est celle où tombe le premier +. Les séries déjà enregistrées gardent leur échelle, et rien d’autre ne lit la valeur — la progression et le 1RM estimé ne changent pas.', } diff --git a/frontend/src/locales/hi.js b/frontend/src/locales/hi.js index daae051..1bb6991 100644 --- a/frontend/src/locales/hi.js +++ b/frontend/src/locales/hi.js @@ -499,8 +499,13 @@ export default { 'RPE': 'RPE', 'Effort per set': 'हर सेट की मेहनत', 'What are RIR and RPE?': 'RIR और RPE क्या हैं?', - 'How hard a set was, logged next to weight and reps. Nothing else reads it — your progression and estimated 1RM are unaffected.': 'सेट कितना कठिन था, यह वज़न और रेप्स के साथ दर्ज होता है। इसे और कुछ नहीं पढ़ता — आपकी प्रोग्रेशन और अनुमानित 1RM वैसे ही रहते हैं।', - 'RIR — reps in reserve: how many more reps you had in you. 2 means two left, 0 means you went to failure.': 'RIR — रिज़र्व में रेप्स: आप और कितने रेप्स कर सकते थे। 2 यानी दो बाकी, 0 यानी पूरी थकान तक।', - 'RPE — perceived exertion, the same effort read off a 10-point scale: RPE 8 means two reps left, RPE 10 means failure.': 'RPE — महसूस की गई मेहनत, वही बात 10 अंकों के पैमाने पर: RPE 8 यानी दो रेप्स बाकी, RPE 10 यानी पूरी थकान।', - 'So RPE ≈ 10 − RIR. Pick the one you already think in; sets you have already logged keep their own scale.': 'यानी RPE ≈ 10 − RIR। जिस पैमाने में आप पहले से सोचते हैं वही चुनें; पहले दर्ज सेट अपने पैमाने पर बने रहते हैं।', + '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 the first + lands. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': 'हाइलाइट की गई पंक्ति वहीं है जहाँ पहला + पहुँचता है। पहले दर्ज किए सेट अपना पैमाना बनाए रखते हैं, और इस मान को और कुछ नहीं पढ़ता — प्रोग्रेशन और अनुमानित 1RM अछूते रहते हैं।', } diff --git a/frontend/src/locales/it.js b/frontend/src/locales/it.js index 6142947..c93d1cd 100644 --- a/frontend/src/locales/it.js +++ b/frontend/src/locales/it.js @@ -499,8 +499,13 @@ export default { 'RPE': 'RPE', 'Effort per set': 'Sforzo per serie', 'What are RIR and RPE?': 'Che cosa sono RIR e RPE?', - 'How hard a set was, logged next to weight and reps. Nothing else reads it — your progression and estimated 1RM are unaffected.': 'Quanto è stata dura una serie, accanto a peso e ripetizioni. Nient’altro lo legge: progressione e 1RM stimato non cambiano.', - 'RIR — reps in reserve: how many more reps you had in you. 2 means two left, 0 means you went to failure.': 'RIR — ripetizioni di riserva: quante altre ne avresti fatte. 2 significa due di margine, 0 significa a cedimento.', - 'RPE — perceived exertion, the same effort read off a 10-point scale: RPE 8 means two reps left, RPE 10 means failure.': 'RPE — sforzo percepito, la stessa cosa su una scala da 10: RPE 8 sono due ripetizioni di margine, RPE 10 è il cedimento.', - 'So RPE ≈ 10 − RIR. Pick the one you already think in; sets you have already logged keep their own scale.': 'Quindi RPE ≈ 10 − RIR. Scegli la scala in cui già ragioni; le serie già registrate mantengono la loro.', + 'How hard a set was, logged next to weight and reps. Two scales for the same judgement, counted from opposite ends.': 'Quanto è stata dura una serie, accanto a peso e ripetizioni. Due scale per lo stesso giudizio, contate dai lati opposti.', + 'How it felt': 'Come è andata', + 'Nothing left — went to failure': 'Niente più — fino a cedimento', + 'One more rep in the tank': 'Un’altra ripetizione in canna', + 'Two more reps': 'Altre due ripetizioni', + 'Three more reps': 'Altre tre ripetizioni', + 'Easy — warm-up territory': 'Facile — zona riscaldamento', + '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.': 'Il RIR conta le ripetizioni che ti restavano; l’RPE legge lo stesso sforzo su una scala da 10 — quindi RPE ≈ 10 − RIR. Scegli quella con cui già ragioni.', + 'The highlighted row is where the first + lands. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': 'La riga evidenziata è dove atterra il primo +. Le serie già registrate mantengono la loro scala, e nient’altro legge il valore: progressione e 1RM stimato non cambiano.', } diff --git a/frontend/src/locales/ko.js b/frontend/src/locales/ko.js index d04904f..f32ace1 100644 --- a/frontend/src/locales/ko.js +++ b/frontend/src/locales/ko.js @@ -499,8 +499,13 @@ export default { 'RPE': 'RPE', 'Effort per set': '세트당 강도', 'What are RIR and RPE?': 'RIR과 RPE란?', - 'How hard a set was, logged next to weight and reps. Nothing else reads it — your progression and estimated 1RM are unaffected.': '세트가 얼마나 힘들었는지를 무게·횟수 옆에 기록합니다. 다른 기능은 이 값을 쓰지 않아요 — 프로그레션과 예상 1RM은 그대로입니다.', - 'RIR — reps in reserve: how many more reps you had in you. 2 means two left, 0 means you went to failure.': 'RIR — 남은 횟수: 몇 번 더 할 수 있었는지. 2는 두 번 남음, 0은 실패 지점까지 했다는 뜻입니다.', - 'RPE — perceived exertion, the same effort read off a 10-point scale: RPE 8 means two reps left, RPE 10 means failure.': 'RPE — 주관적 운동강도, 같은 개념을 10점 척도로: RPE 8은 두 번 남음, RPE 10은 실패 지점입니다.', - 'So RPE ≈ 10 − RIR. Pick the one you already think in; sets you have already logged keep their own scale.': '즉 RPE ≈ 10 − RIR. 익숙한 쪽을 고르세요. 이미 기록한 세트는 원래 척도를 유지합니다.', + '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 the first + lands. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': '강조된 줄이 첫 + 를 눌렀을 때 들어가는 값입니다. 이미 기록한 세트는 원래 척도를 그대로 유지하며, 이 값을 읽는 곳은 없습니다 — 프로그레션과 예상 1RM은 영향을 받지 않습니다.', } diff --git a/frontend/src/locales/pl.js b/frontend/src/locales/pl.js index 21e3f34..e1f8d7e 100644 --- a/frontend/src/locales/pl.js +++ b/frontend/src/locales/pl.js @@ -499,8 +499,13 @@ export default { 'RPE': 'RPE', 'Effort per set': 'Wysiłek na serię', 'What are RIR and RPE?': 'Czym są RIR i RPE?', - 'How hard a set was, logged next to weight and reps. Nothing else reads it — your progression and estimated 1RM are unaffected.': 'Jak ciężka była seria — zapisywane obok ciężaru i powtórzeń. Nic innego z tego nie korzysta: progresja i szacowany 1RM pozostają bez zmian.', - 'RIR — reps in reserve: how many more reps you had in you. 2 means two left, 0 means you went to failure.': 'RIR — powtórzenia w zapasie: ile jeszcze dałoby się zrobić. 2 znaczy dwa w zapasie, 0 znaczy do upadku mięśniowego.', - 'RPE — perceived exertion, the same effort read off a 10-point scale: RPE 8 means two reps left, RPE 10 means failure.': 'RPE — odczuwany wysiłek, to samo w skali 10: RPE 8 to dwa powtórzenia w zapasie, RPE 10 to upadek mięśniowy.', - 'So RPE ≈ 10 − RIR. Pick the one you already think in; sets you have already logged keep their own scale.': 'Czyli RPE ≈ 10 − RIR. Wybierz skalę, w której już myślisz; zapisane serie zachowują swoją.', + 'How hard a set was, logged next to weight and reps. Two scales for the same judgement, counted from opposite ends.': 'Jak ciężka była seria, zapisane obok ciężaru i powtórzeń. Dwie skale tej samej oceny, liczone z przeciwnych stron.', + 'How it felt': 'Jak to było', + 'Nothing left — went to failure': 'Nic nie zostało — do upadku', + 'One more rep in the tank': 'Jeszcze jedno powtórzenie w zapasie', + 'Two more reps': 'Jeszcze dwa powtórzenia', + 'Three more reps': 'Jeszcze trzy powtórzenia', + 'Easy — warm-up territory': 'Lekko — poziom rozgrzewki', + '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 liczy powtórzenia, które zostały w zapasie; RPE odczytuje ten sam wysiłek w skali 10 — czyli RPE ≈ 10 − RIR. Wybierz tę, w której już myślisz.', + 'The highlighted row is where the first + lands. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': 'Wyróżniony wiersz to miejsce, w które trafia pierwsze +. Zapisane wcześniej serie zachowują swoją skalę, a wartości nic więcej nie czyta — progresja i szacowany 1RM pozostają bez zmian.', } diff --git a/frontend/src/locales/pt.js b/frontend/src/locales/pt.js index f81c8f1..7d06007 100644 --- a/frontend/src/locales/pt.js +++ b/frontend/src/locales/pt.js @@ -499,8 +499,13 @@ export default { 'RPE': 'RPE', 'Effort per set': 'Esforço por série', 'What are RIR and RPE?': 'O que são RIR e RPE?', - 'How hard a set was, logged next to weight and reps. Nothing else reads it — your progression and estimated 1RM are unaffected.': 'O quão dura foi uma série, ao lado do peso e das repetições. Mais nada lê isto — a tua progressão e o 1RM estimado não mudam.', - 'RIR — reps in reserve: how many more reps you had in you. 2 means two left, 0 means you went to failure.': 'RIR — repetições em reserva: quantas ainda conseguirias fazer. 2 significa duas de margem, 0 significa até à falha.', - 'RPE — perceived exertion, the same effort read off a 10-point scale: RPE 8 means two reps left, RPE 10 means failure.': 'RPE — esforço percebido, o mesmo numa escala de 10: RPE 8 são duas repetições de margem, RPE 10 é a falha.', - 'So RPE ≈ 10 − RIR. Pick the one you already think in; sets you have already logged keep their own scale.': 'Ou seja, RPE ≈ 10 − RIR. Escolhe a escala em que já pensas; as séries já registadas mantêm a sua.', + 'How hard a set was, logged next to weight and reps. Two scales for the same judgement, counted from opposite ends.': 'O quão dura foi uma série, ao lado do peso e das repetições. Duas escalas para o mesmo juízo, contadas de pontas opostas.', + 'How it felt': 'Como se sentiu', + 'Nothing left — went to failure': 'Não sobrou nada — até à falha', + 'One more rep in the tank': 'Mais uma repetição de margem', + 'Two more reps': 'Mais duas repetições', + 'Three more reps': 'Mais três repetições', + 'Easy — warm-up territory': 'Fácil — zona de aquecimento', + '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.': 'O RIR conta as repetições que deixaste; o RPE lê o mesmo esforço numa escala de 10 — ou seja, RPE ≈ 10 − RIR. Escolhe aquela em que já pensas.', + 'The highlighted row is where the first + lands. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': 'A linha destacada é onde cai o primeiro +. As séries já registadas mantêm a sua escala, e mais nada lê o valor — a progressão e o 1RM estimado não mudam.', } diff --git a/frontend/src/locales/ru.js b/frontend/src/locales/ru.js index 0f0f0ec..7cb169e 100644 --- a/frontend/src/locales/ru.js +++ b/frontend/src/locales/ru.js @@ -499,8 +499,13 @@ export default { 'RPE': 'RPE', 'Effort per set': 'Усилие в подходе', 'What are RIR and RPE?': 'Что такое RIR и RPE?', - 'How hard a set was, logged next to weight and reps. Nothing else reads it — your progression and estimated 1RM are unaffected.': 'Насколько тяжёлым был подход — рядом с весом и повторениями. Больше это нигде не используется: прогрессия и расчётный 1ПМ не меняются.', - 'RIR — reps in reserve: how many more reps you had in you. 2 means two left, 0 means you went to failure.': 'RIR — повторения в запасе: сколько ещё могли бы сделать. 2 — два в запасе, 0 — до отказа.', - 'RPE — perceived exertion, the same effort read off a 10-point scale: RPE 8 means two reps left, RPE 10 means failure.': 'RPE — воспринимаемое усилие, то же самое по 10-балльной шкале: RPE 8 — два повторения в запасе, RPE 10 — отказ.', - 'So RPE ≈ 10 − RIR. Pick the one you already think in; sets you have already logged keep their own scale.': 'То есть RPE ≈ 10 − RIR. Выберите шкалу, в которой вы уже думаете; уже записанные подходы сохраняют свою.', + '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 the first + lands. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': 'Выделенная строка — это значение, на которое попадает первое +. Уже записанные подходы сохраняют свою шкалу, и больше это значение нигде не используется: прогрессия и расчётный 1ПМ не меняются.', } diff --git a/frontend/src/locales/tr.js b/frontend/src/locales/tr.js index 4d472c6..f06f68d 100644 --- a/frontend/src/locales/tr.js +++ b/frontend/src/locales/tr.js @@ -499,8 +499,13 @@ export default { 'RPE': 'RPE', 'Effort per set': 'Set başına zorluk', 'What are RIR and RPE?': 'RIR ve RPE nedir?', - 'How hard a set was, logged next to weight and reps. Nothing else reads it — your progression and estimated 1RM are unaffected.': 'Bir setin ne kadar zor geçtiği; ağırlık ve tekrarın yanına yazılır. Başka hiçbir yer bunu okumaz — ilerleme ve tahmini 1TM etkilenmez.', - 'RIR — reps in reserve: how many more reps you had in you. 2 means two left, 0 means you went to failure.': 'RIR — yedekteki tekrar: kaç tekrar daha yapabilirdin. 2 iki tekrar kaldı, 0 tükenene kadar demek.', - 'RPE — perceived exertion, the same effort read off a 10-point scale: RPE 8 means two reps left, RPE 10 means failure.': 'RPE — algılanan zorluk, aynı şey 10’luk ölçekte: RPE 8 iki tekrar kaldı, RPE 10 tükenme demek.', - 'So RPE ≈ 10 − RIR. Pick the one you already think in; sets you have already logged keep their own scale.': 'Yani RPE ≈ 10 − RIR. Zaten hangisiyle düşünüyorsan onu seç; kayıtlı setler kendi ölçeğinde kalır.', + 'How hard a set was, logged next to weight and reps. Two scales for the same judgement, counted from opposite ends.': 'Bir setin ne kadar zor geçtiği, ağırlık ve tekrarların yanında. Aynı değerlendirme için iki ölçek, ters uçlardan sayılıyor.', + 'How it felt': 'Nasıl hissettirdi', + 'Nothing left — went to failure': 'Hiç kalmadı — tükenmeye kadar', + 'One more rep in the tank': 'Bir tekrar daha vardı', + 'Two more reps': 'İki tekrar daha vardı', + 'Three more reps': 'Üç tekrar daha vardı', + 'Easy — warm-up territory': 'Kolay — ısınma bölgesi', + '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 yedekte bıraktığın tekrarları sayar; RPE aynı eforu 10’luk ölçekte okur — yani RPE ≈ 10 − RIR. Zaten hangisiyle düşünüyorsan onu seç.', + 'The highlighted row is where the first + lands. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': 'Vurgulanan satır, ilk + dokunuşunun geldiği yerdir. Daha önce kaydettiğin setler kendi ölçeğini korur ve bu değeri başka hiçbir şey okumaz — ilerleme ve tahmini 1RM etkilenmez.', } diff --git a/frontend/src/locales/zh.js b/frontend/src/locales/zh.js index 3801ca0..27350cf 100644 --- a/frontend/src/locales/zh.js +++ b/frontend/src/locales/zh.js @@ -499,8 +499,13 @@ export default { 'RPE': 'RPE', 'Effort per set': '每组强度', 'What are RIR and RPE?': 'RIR 和 RPE 是什么?', - 'How hard a set was, logged next to weight and reps. Nothing else reads it — your progression and estimated 1RM are unaffected.': '记录这一组有多吃力,就写在重量和次数旁边。其他功能不会读取它——进阶计划和预估 1RM 都不受影响。', - 'RIR — reps in reserve: how many more reps you had in you. 2 means two left, 0 means you went to failure.': 'RIR——储备次数:你还能再做几次。2 表示还剩两次,0 表示做到力竭。', - 'RPE — perceived exertion, the same effort read off a 10-point scale: RPE 8 means two reps left, RPE 10 means failure.': 'RPE——自觉用力程度,同一件事换成 10 分制:RPE 8 表示还剩两次,RPE 10 表示力竭。', - 'So RPE ≈ 10 − RIR. Pick the one you already think in; sets you have already logged keep their own scale.': '所以 RPE ≈ 10 − RIR。选你习惯的那一种;已经记录的组保留原来的标度。', + '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 the first + lands. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.': '高亮那一行就是第一次点 + 落在的位置。已经记录的组保留原来的标度,而且这个值不会被别处读取——进阶计划和预估 1RM 都不受影响。', } diff --git a/frontend/src/views/Settings.jsx b/frontend/src/views/Settings.jsx index ddc5ac3..7d67b5f 100644 --- a/frontend/src/views/Settings.jsx +++ b/frontend/src/views/Settings.jsx @@ -135,12 +135,12 @@ export default function Settings() { update(s => { s.sound = v })} /> {/* Two names for the same judgement, so the column asks in the scale you already think in. - The (i) explains the difference rather than making the row title carry it. */} + The (i) sits before the control — you read it on the way to the choice, not after it. */} + update(s => { s.effort = v; delete s.showRir })} /> - @@ -175,16 +175,36 @@ export default function Settings() { } -// Short on purpose: the two scales measure the same thing from opposite ends, and that one -// sentence is what people actually come looking for. +// The whole point is that the two scales are one judgement counted from opposite ends, and a +// paragraph is a bad way to say that — the conversion table shows it in one look. Reading down +// a column is the answer to "what do I put here", so the numbers get their own aligned columns. +const EFFORT_ROWS = [ + ['0', '10', 'Nothing left — went to failure'], + ['1', '9', 'One more rep in the tank'], + ['2', '8', 'Two more reps'], + ['3', '7', 'Three more reps'], + ['4+', '≤6', 'Easy — warm-up territory'], +] +// RIR 2 / RPE 8: the row a working set usually lands on, and where the first + puts you. +const EFFORT_TYPICAL = 2 + function effortHelpSheet() { useUI.getState().openSheet(close => <>

{t('Effort per set')}

-
-
{t('How hard a set was, logged next to weight and reps. Nothing else reads it — your progression and estimated 1RM are unaffected.')}
-
{t('RIR — reps in reserve: how many more reps you had in you. 2 means two left, 0 means you went to failure.')}
-
{t('RPE — perceived exertion, the same effort read off a 10-point scale: RPE 8 means two reps left, RPE 10 means failure.')}
-
{t('So RPE ≈ 10 − RIR. Pick the one you already think in; sets you have already logged keep their own scale.')}
+
+ {t('How hard a set was, logged next to weight and reps. Two scales for the same judgement, counted from opposite ends.')} +
+
+
{t('RIR')}{t('RPE')}{t('How it felt')}
+ {EFFORT_ROWS.map(([rir, rpe, feel], i) => ( +
+ {rir}{rpe}{t(feel)} +
+ ))} +
+
+
{t('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.')}
+
{t('The highlighted row is where the first + lands. Sets you have already logged keep their own scale, and nothing else reads the value — progression and estimated 1RM are unaffected.')}
)