From e1c14f7ac05afd04e7a51d531792d8b2198b0967 Mon Sep 17 00:00:00 2001 From: Duarte Santos Date: Tue, 25 Aug 2026 20:00:19 +0200 Subject: [PATCH] i18n: translate the new strings into all 12 locales MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 18 strings from this release, plus the rest-pause explainer that arrived untranslated with !20. Terminology follows each pack's existing entries (Wdh. / rip. / powt. / повт., and the "Add warm-up set" wording already there). pt-BR overrides 8 of them rather than inheriting: the pt-PT versions use tu-forms and «guillemets» (tuas, podes, treinares, teres), which is exactly what the locale's own guard test is there to catch. Inheritance fingerprint re-baselined; the remaining 10 read the same in both variants. --- frontend/src/lib/pt-br-locale.test.js | 6 +++--- frontend/src/locales/de.js | 22 +++++++++++++++++++++- frontend/src/locales/es.js | 22 +++++++++++++++++++++- frontend/src/locales/fr.js | 22 +++++++++++++++++++++- frontend/src/locales/hi.js | 22 +++++++++++++++++++++- frontend/src/locales/it.js | 22 +++++++++++++++++++++- frontend/src/locales/ko.js | 22 +++++++++++++++++++++- frontend/src/locales/pl.js | 22 +++++++++++++++++++++- frontend/src/locales/pt-BR.js | 12 +++++++++++- frontend/src/locales/pt.js | 22 +++++++++++++++++++++- frontend/src/locales/ru.js | 22 +++++++++++++++++++++- frontend/src/locales/tr.js | 22 +++++++++++++++++++++- frontend/src/locales/zh.js | 22 +++++++++++++++++++++- 13 files changed, 245 insertions(+), 15 deletions(-) diff --git a/frontend/src/lib/pt-br-locale.test.js b/frontend/src/lib/pt-br-locale.test.js index 1489a77..1f8b32c 100644 --- a/frontend/src/lib/pt-br-locale.test.js +++ b/frontend/src/lib/pt-br-locale.test.js @@ -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(283) - expect(inherited).toHaveLength(437) + expect(Object.keys(PT_BR_OVERRIDES)).toHaveLength(291) + expect(inherited).toHaveLength(447) // 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('70fd93bc049da76bc578701a82ecde33b1521ddae37a403076ad48b9694cc4e3') + expect(fingerprint, 'pt-PT inheritance changed; review the inherited pt-BR wording').toBe('5eca6d8b564c208b41f1be1890e3eaa0313e0ab901ed40a03b5d3071a65bd9f1') }) test('does not leak European Portuguese UI terms', () => { diff --git a/frontend/src/locales/de.js b/frontend/src/locales/de.js index a8858f2..03081a5 100644 --- a/frontend/src/locales/de.js +++ b/frontend/src/locales/de.js @@ -668,5 +668,25 @@ export default { 'Connect': 'Verbinden', 'How do you want to use openGym?': 'Wie möchtest du openGym nutzen?', 'Use on this device': 'Auf diesem Gerät nutzen', - 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Lokal behält alles auf diesem Handy. Verbinden synchronisiert stattdessen mit deinem eigenen openGym-Server — du kannst das später in den Einstellungen ändern.' + 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Lokal behält alles auf diesem Handy. Verbinden synchronisiert stattdessen mit deinem eigenen openGym-Server — du kannst das später in den Einstellungen ändern.', + + // --- workout notes and planned warm-ups --- + '{0} — done': '{0} — erledigt', + 'Workout done': 'Training erledigt', + 'reps': 'Wdh.', + 'Most reps in a set per workout': 'Meiste Wdh. in einem Satz pro Training', + 'Warm-up sets': 'Aufwärmsätze', + '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.': 'Kommen vor deine Arbeitssätze und zählen nicht für Volumen, Rekorde und Progression. Jeder halbiert den Abstand zum Arbeitsgewicht — im Training kannst du sie trotzdem jederzeit ändern.', + 'Ramp-up sets added before the work sets, so you do not have to add them by hand each session.': 'Aufwärmsätze vor den Arbeitssätzen, damit du sie nicht jedes Mal von Hand hinzufügen musst.', + 'Note': 'Notiz', + 'This session': 'Dieses Training', + 'How it went, what to change — kept with today’s workout.': 'Wie es lief, was du ändern willst — bleibt beim heutigen Training.', + 'Show this next time': 'Nächstes Mal anzeigen', + 'Brings it up again the next time you train this exercise.': 'Erscheint wieder, wenn du diese Übung das nächste Mal trainierst.', + 'Always for this exercise': 'Immer bei dieser Übung', + 'Seat height, pin position, a form cue — shown every session.': 'Sitzhöhe, Pin-Position, ein Hinweis zur Ausführung — bei jedem Training sichtbar.', + 'From {0}:': 'Vom {0}:', + 'Session note': 'Notiz zum Training', + 'How the session went as a whole.': 'Wie das Training insgesamt lief.', + 'Rest-pause always trains as one warm-up set at this rep count, then one rest-pause work set — "Sets" is not used.': 'Rest-Pause trainiert immer als ein Aufwärmsatz mit dieser Wiederholungszahl und ein Rest-Pause-Arbeitssatz — „Sätze“ wird nicht verwendet.' } diff --git a/frontend/src/locales/es.js b/frontend/src/locales/es.js index b4c6d14..7634e53 100644 --- a/frontend/src/locales/es.js +++ b/frontend/src/locales/es.js @@ -651,5 +651,25 @@ export default { 'Connect': 'Conectar', 'How do you want to use openGym?': '¿Cómo quieres usar openGym?', 'Use on this device': 'Usar en este dispositivo', - 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Local mantiene todo en este teléfono. Conectar sincroniza con tu propio servidor de openGym — puedes cambiarlo luego en Ajustes.' + 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Local mantiene todo en este teléfono. Conectar sincroniza con tu propio servidor de openGym — puedes cambiarlo luego en Ajustes.', + + // --- workout notes and planned warm-ups --- + '{0} — done': '{0} — hecho', + 'Workout done': 'Entrenamiento hecho', + 'reps': 'reps', + 'Most reps in a set per workout': 'Más reps en una serie por entrenamiento', + 'Warm-up sets': 'Series de calentamiento', + '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.': 'Se añaden antes de tus series de trabajo y no cuentan para el volumen, los récords ni la progresión. Cada una reduce a la mitad la distancia hasta el peso de trabajo — puedes cambiarlas durante la sesión.', + 'Ramp-up sets added before the work sets, so you do not have to add them by hand each session.': 'Series de aproximación antes de las series de trabajo, para no añadirlas a mano cada vez.', + 'Note': 'Nota', + 'This session': 'Esta sesión', + 'How it went, what to change — kept with today’s workout.': 'Cómo fue, qué cambiar — se guarda con el entrenamiento de hoy.', + 'Show this next time': 'Mostrar la próxima vez', + 'Brings it up again the next time you train this exercise.': 'Vuelve a aparecer la próxima vez que entrenes este ejercicio.', + 'Always for this exercise': 'Siempre en este ejercicio', + 'Seat height, pin position, a form cue — shown every session.': 'Altura del asiento, posición del pin, una indicación técnica — visible en cada sesión.', + 'From {0}:': 'Del {0}:', + 'Session note': 'Nota de la sesión', + 'How the session went as a whole.': 'Cómo fue la sesión en conjunto.', + 'Rest-pause always trains as one warm-up set at this rep count, then one rest-pause work set — "Sets" is not used.': 'Rest-pause siempre entrena como una serie de calentamiento con estas reps y una serie de trabajo rest-pause — «Series» no se usa.' } diff --git a/frontend/src/locales/fr.js b/frontend/src/locales/fr.js index 01df028..a8b0fa3 100644 --- a/frontend/src/locales/fr.js +++ b/frontend/src/locales/fr.js @@ -651,5 +651,25 @@ export default { 'Connect': 'Connecter', 'How do you want to use openGym?': 'Comment voulez-vous utiliser openGym ?', 'Use on this device': 'Utiliser sur cet appareil', - 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Local garde tout sur ce téléphone. Se connecter synchronise plutôt avec votre propre serveur openGym — vous pourrez changer cela plus tard dans Réglages.' + 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Local garde tout sur ce téléphone. Se connecter synchronise plutôt avec votre propre serveur openGym — vous pourrez changer cela plus tard dans Réglages.', + + // --- workout notes and planned warm-ups --- + '{0} — done': '{0} — terminé', + 'Workout done': 'Séance terminée', + 'reps': 'reps', + 'Most reps in a set per workout': 'Plus de reps dans une série par séance', + 'Warm-up sets': 'Séries d’échauffement', + '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.': 'Ajoutées avant tes séries de travail et exclues du volume, des records et de la progression. Chacune réduit de moitié l’écart avec la charge de travail — tu peux les modifier pendant la séance.', + 'Ramp-up sets added before the work sets, so you do not have to add them by hand each session.': 'Séries de montée en charge avant les séries de travail, pour ne pas les ajouter à la main chaque fois.', + 'Note': 'Note', + 'This session': 'Cette séance', + 'How it went, what to change — kept with today’s workout.': 'Comment ça s’est passé, ce qu’il faut changer — conservé avec la séance du jour.', + 'Show this next time': 'Afficher la prochaine fois', + 'Brings it up again the next time you train this exercise.': 'Réapparaît la prochaine fois que tu travailles cet exercice.', + 'Always for this exercise': 'Toujours pour cet exercice', + 'Seat height, pin position, a form cue — shown every session.': 'Hauteur du siège, position de la goupille, un rappel technique — visible à chaque séance.', + 'From {0}:': 'Du {0} :', + 'Session note': 'Note de séance', + 'How the session went as a whole.': 'Comment la séance s’est passée dans l’ensemble.', + 'Rest-pause always trains as one warm-up set at this rep count, then one rest-pause work set — "Sets" is not used.': 'Le rest-pause s’entraîne toujours comme une série d’échauffement à ce nombre de reps, puis une série de travail rest-pause — « Séries » n’est pas utilisé.' } diff --git a/frontend/src/locales/hi.js b/frontend/src/locales/hi.js index c7efa4c..70279e2 100644 --- a/frontend/src/locales/hi.js +++ b/frontend/src/locales/hi.js @@ -651,5 +651,25 @@ export default { '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 सर्वर से सिंक होता है — इसे बाद में सेटिंग्स में बदला जा सकता है।' + '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': 'सत्र का नोट', + '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.': 'रेस्ट-पॉज़ हमेशा इसी रेप्स संख्या के एक वार्म-अप सेट और एक रेस्ट-पॉज़ वर्क सेट के रूप में किया जाता है — “सेट” का उपयोग नहीं होता।' } diff --git a/frontend/src/locales/it.js b/frontend/src/locales/it.js index 6bcf528..b394eac 100644 --- a/frontend/src/locales/it.js +++ b/frontend/src/locales/it.js @@ -651,5 +651,25 @@ export default { 'Connect': 'Connetti', 'How do you want to use openGym?': 'Come vuoi usare openGym?', 'Use on this device': 'Usa su questo dispositivo', - 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Locale mantiene tutto su questo telefono. Connettersi sincronizza invece con il tuo server openGym — potrai cambiarlo più tardi nelle Impostazioni.' + 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Locale mantiene tutto su questo telefono. Connettersi sincronizza invece con il tuo server openGym — potrai cambiarlo più tardi nelle Impostazioni.', + + // --- workout notes and planned warm-ups --- + '{0} — done': '{0} — fatto', + 'Workout done': 'Allenamento fatto', + 'reps': 'rip.', + 'Most reps in a set per workout': 'Più rip. in una serie per allenamento', + 'Warm-up sets': 'Serie di riscaldamento', + '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.': 'Vengono aggiunte prima delle serie di lavoro e non contano per volume, record e progressione. Ognuna dimezza la distanza dal peso di lavoro — puoi comunque modificarle durante la sessione.', + 'Ramp-up sets added before the work sets, so you do not have to add them by hand each session.': 'Serie di avvicinamento prima delle serie di lavoro, così non devi aggiungerle a mano ogni volta.', + 'Note': 'Nota', + 'This session': 'Questa sessione', + 'How it went, what to change — kept with today’s workout.': 'Com’è andata, cosa cambiare — resta con l’allenamento di oggi.', + 'Show this next time': 'Mostra la prossima volta', + 'Brings it up again the next time you train this exercise.': 'Ricompare la prossima volta che alleni questo esercizio.', + 'Always for this exercise': 'Sempre per questo esercizio', + 'Seat height, pin position, a form cue — shown every session.': 'Altezza del sedile, posizione del pin, un promemoria tecnico — visibile a ogni sessione.', + 'From {0}:': 'Del {0}:', + 'Session note': 'Nota della sessione', + 'How the session went as a whole.': 'Com’è andata la sessione nel complesso.', + 'Rest-pause always trains as one warm-up set at this rep count, then one rest-pause work set — "Sets" is not used.': 'Il rest-pause si allena sempre come una serie di riscaldamento a queste ripetizioni e una serie di lavoro rest-pause — “Serie” non viene usato.' } diff --git a/frontend/src/locales/ko.js b/frontend/src/locales/ko.js index 2df8726..9f4287d 100644 --- a/frontend/src/locales/ko.js +++ b/frontend/src/locales/ko.js @@ -651,5 +651,25 @@ export default { '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 서버와 동기화됩니다 — 나중에 설정에서 변경할 수 있습니다.' + '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': '운동 메모', + '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.': '레스트포즈는 항상 이 횟수의 워밍업 세트 하나와 레스트포즈 작업 세트 하나로 진행됩니다 — ‘세트’는 사용하지 않습니다.' } diff --git a/frontend/src/locales/pl.js b/frontend/src/locales/pl.js index 3ea2883..37cd215 100644 --- a/frontend/src/locales/pl.js +++ b/frontend/src/locales/pl.js @@ -651,5 +651,25 @@ export default { 'Connect': 'Połącz', 'How do you want to use openGym?': 'Jak chcesz korzystać z openGym?', 'Use on this device': 'Użyj na tym urządzeniu', - 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Tryb lokalny zachowuje wszystko na tym telefonie. Połączenie synchronizuje zamiast tego z Twoim własnym serwerem openGym — możesz to później zmienić w Ustawieniach.' + 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Tryb lokalny zachowuje wszystko na tym telefonie. Połączenie synchronizuje zamiast tego z Twoim własnym serwerem openGym — możesz to później zmienić w Ustawieniach.', + + // --- workout notes and planned warm-ups --- + '{0} — done': '{0} — zrobione', + 'Workout done': 'Trening zrobiony', + 'reps': 'powt.', + 'Most reps in a set per workout': 'Najwięcej powt. w serii na trening', + 'Warm-up sets': 'Serie rozgrzewkowe', + '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.': 'Dodawane przed seriami roboczymi i pomijane w objętości, rekordach i progresji. Każda zmniejsza o połowę dystans do ciężaru roboczego — w trakcie treningu nadal możesz je zmienić.', + 'Ramp-up sets added before the work sets, so you do not have to add them by hand each session.': 'Serie wprowadzające przed seriami roboczymi, żeby nie dodawać ich ręcznie za każdym razem.', + 'Note': 'Notatka', + 'This session': 'Ta sesja', + 'How it went, what to change — kept with today’s workout.': 'Jak poszło, co zmienić — zostaje przy dzisiejszym treningu.', + 'Show this next time': 'Pokaż następnym razem', + 'Brings it up again the next time you train this exercise.': 'Pojawi się ponownie, gdy następnym razem będziesz robić to ćwiczenie.', + 'Always for this exercise': 'Zawsze przy tym ćwiczeniu', + 'Seat height, pin position, a form cue — shown every session.': 'Wysokość siedziska, pozycja bolca, wskazówka techniczna — widoczne w każdej sesji.', + 'From {0}:': 'Z {0}:', + 'Session note': 'Notatka do sesji', + 'How the session went as a whole.': 'Jak przebiegła cała sesja.', + 'Rest-pause always trains as one warm-up set at this rep count, then one rest-pause work set — "Sets" is not used.': 'Rest-pause zawsze trenuje się jako jedna seria rozgrzewkowa o tej liczbie powtórzeń i jedna seria robocza rest-pause — „Serie” nie są używane.' } diff --git a/frontend/src/locales/pt-BR.js b/frontend/src/locales/pt-BR.js index 203cc84..11022ba 100644 --- a/frontend/src/locales/pt-BR.js +++ b/frontend/src/locales/pt-BR.js @@ -292,7 +292,17 @@ export const PT_BR_OVERRIDES = { 'How do you want to use openGym?': 'Como você quer usar o openGym?', 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Local mantém tudo neste celular. Conectar sincroniza com o seu próprio servidor openGym — você pode mudar depois em Configurações.', 'Every set becomes a drop-set: after the main set, {0} drop(s) with no rest, each about {1}% lighter.': 'Cada série vira uma série decrescente: depois da série principal, {0} queda(s) sem descanso, cada uma cerca de {1}% mais leve.', - '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.': 'Cada série vira rest-pause: {0} repetições para começar, depois mais {1} divididas em rajadas curtas, com {2}s de descanso antes de cada uma, caindo cerca de metade a cada vez.' + '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.': 'Cada série vira rest-pause: {0} repetições para começar, depois mais {1} divididas em rajadas curtas, com {2}s de descanso antes de cada uma, caindo cerca de metade a cada vez.', + + // --- workout notes and planned warm-ups --- + 'Most reps in a set per workout': 'Mais reps em uma série por treino', + '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.': 'São adicionadas antes das suas séries de trabalho e ficam de fora do volume, dos recordes e da progressão. Cada uma reduz pela metade a distância até o peso de trabalho — você ainda pode alterá-las durante o treino.', + 'Ramp-up sets added before the work sets, so you do not have to add them by hand each session.': 'Séries de aproximação antes das séries de trabalho, para você não precisar adicioná-las na mão a cada treino.', + 'How it went, what to change — kept with today’s workout.': 'Como foi, o que mudar — fica salvo com o treino de hoje.', + 'Brings it up again the next time you train this exercise.': 'Aparece de novo na próxima vez que você treinar este exercício.', + 'Seat height, pin position, a form cue — shown every session.': 'Altura do banco, posição do pino, uma dica de execução — aparece em todos os treinos.', + 'How the session went as a whole.': 'Como foi o treino como um todo.', + 'Rest-pause always trains as one warm-up set at this rep count, then one rest-pause work set — "Sets" is not used.': 'O rest-pause sempre treina como uma série de aquecimento com essas repetições e uma série de trabalho rest-pause — “Séries” não é usado.' } export default { ...pt, ...PT_BR_OVERRIDES } diff --git a/frontend/src/locales/pt.js b/frontend/src/locales/pt.js index aff9929..21d4bfb 100644 --- a/frontend/src/locales/pt.js +++ b/frontend/src/locales/pt.js @@ -651,5 +651,25 @@ export default { 'Connect': 'Ligar', 'How do you want to use openGym?': 'Como queres usar o openGym?', 'Use on this device': 'Usar neste dispositivo', - 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Local mantém tudo neste telemóvel. Ligar sincroniza antes com o teu próprio servidor openGym — podes mudar mais tarde em Definições.' + 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': 'Local mantém tudo neste telemóvel. Ligar sincroniza antes com o teu próprio servidor openGym — podes mudar mais tarde em Definições.', + + // --- workout notes and planned warm-ups --- + '{0} — done': '{0} — concluído', + 'Workout done': 'Treino concluído', + 'reps': 'reps', + 'Most reps in a set per workout': 'Mais reps numa série por treino', + 'Warm-up sets': 'Séries de aquecimento', + '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.': 'São acrescentadas antes das tuas séries de trabalho e ficam de fora do volume, dos recordes e da progressão. Cada uma reduz a metade a distância até ao peso de trabalho — podes alterá-las durante a sessão.', + 'Ramp-up sets added before the work sets, so you do not have to add them by hand each session.': 'Séries de aproximação antes das séries de trabalho, para não teres de as acrescentar à mão em cada treino.', + 'Note': 'Nota', + 'This session': 'Esta sessão', + 'How it went, what to change — kept with today’s workout.': 'Como correu, o que mudar — fica guardado com o treino de hoje.', + 'Show this next time': 'Mostrar da próxima vez', + 'Brings it up again the next time you train this exercise.': 'Volta a aparecer da próxima vez que treinares este exercício.', + 'Always for this exercise': 'Sempre neste exercício', + 'Seat height, pin position, a form cue — shown every session.': 'Altura do banco, posição do pino, uma indicação técnica — visível em todas as sessões.', + 'From {0}:': 'De {0}:', + 'Session note': 'Nota da sessão', + 'How the session went as a whole.': 'Como correu a sessão no seu todo.', + 'Rest-pause always trains as one warm-up set at this rep count, then one rest-pause work set — "Sets" is not used.': 'O rest-pause treina sempre como uma série de aquecimento com estas repetições e uma série de trabalho rest-pause — «Séries» não é usado.' } diff --git a/frontend/src/locales/ru.js b/frontend/src/locales/ru.js index 1d0afe5..c42e223 100644 --- a/frontend/src/locales/ru.js +++ b/frontend/src/locales/ru.js @@ -651,5 +651,25 @@ export default { '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 — вы сможете изменить это позже в Настройках.' + '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': 'Заметка о тренировке', + '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.': 'Rest-pause всегда выполняется как один разминочный подход с этим числом повторений и один рабочий подход rest-pause — «Подходы» не используются.' } diff --git a/frontend/src/locales/tr.js b/frontend/src/locales/tr.js index fa10c0a..d79c82a 100644 --- a/frontend/src/locales/tr.js +++ b/frontend/src/locales/tr.js @@ -651,5 +651,25 @@ export default { 'Connect': 'Bağlan', 'How do you want to use openGym?': "openGym'i nasıl kullanmak istersin?", 'Use on this device': 'Bu cihazda kullan', - 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': "Yerel, her şeyi bu telefonda tutar. Bağlanmak ise bunun yerine kendi openGym sunucunla senkronize eder — bunu daha sonra Ayarlar'dan değiştirebilirsin." + 'Local keeps everything on this phone. Connecting syncs to your own openGym server instead — you can switch later in Settings.': "Yerel, her şeyi bu telefonda tutar. Bağlanmak ise bunun yerine kendi openGym sunucunla senkronize eder — bunu daha sonra Ayarlar'dan değiştirebilirsin.", + + // --- workout notes and planned warm-ups --- + '{0} — done': '{0} — tamamlandı', + 'Workout done': 'Antrenman tamamlandı', + 'reps': 'tekrar', + 'Most reps in a set per workout': 'Antrenman başına bir sette en çok tekrar', + 'Warm-up sets': 'Isınma setleri', + '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.': 'Çalışma setlerinden önce eklenir; hacim, rekor ve ilerlemeye sayılmaz. Her biri çalışma ağırlığına kalan farkı yarıya indirir — antrenman sırasında yine de değiştirebilirsin.', + 'Ramp-up sets added before the work sets, so you do not have to add them by hand each session.': 'Çalışma setlerinden önce eklenen hazırlık setleri, böylece her antrenmanda elle eklemen gerekmez.', + 'Note': 'Not', + 'This session': 'Bu antrenman', + 'How it went, what to change — kept with today’s workout.': 'Nasıl geçti, neyi değiştirmeli — bugünün antrenmanıyla saklanır.', + 'Show this next time': 'Bir dahaki sefere göster', + 'Brings it up again the next time you train this exercise.': 'Bu hareketi bir dahaki çalışmanda yeniden karşına çıkar.', + 'Always for this exercise': 'Bu harekette her zaman', + 'Seat height, pin position, a form cue — shown every session.': 'Sehpa yüksekliği, pim konumu, bir teknik ipucu — her antrenmanda görünür.', + 'From {0}:': '{0} tarihinden:', + 'Session note': 'Antrenman notu', + 'How the session went as a whole.': 'Antrenmanın genel olarak nasıl geçtiği.', + 'Rest-pause always trains as one warm-up set at this rep count, then one rest-pause work set — "Sets" is not used.': 'Rest-pause her zaman bu tekrar sayısında bir ısınma seti ve bir rest-pause çalışma seti olarak çalışılır — “Setler” kullanılmaz.' } diff --git a/frontend/src/locales/zh.js b/frontend/src/locales/zh.js index 236061b..01a8669 100644 --- a/frontend/src/locales/zh.js +++ b/frontend/src/locales/zh.js @@ -651,5 +651,25 @@ export default { '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 服务器同步——之后可以在设置中更改。' + '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': '训练备注', + '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.': 'Rest-pause 始终按这个次数练一个热身组,再加一个 rest-pause 正式组 —— 不使用“组数”。' }