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.

rotation: the "Use this rotation" note says what happens — the coach gives up control of the week

Boris Kurktchievc133605c5e92
diff --git a/frontend/src/locales/de.js b/frontend/src/locales/de.js
index 32f6a9857..1aed71cbf 100644
--- a/frontend/src/locales/de.js
+++ b/frontend/src/locales/de.js
@@ -1703,7 +1703,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': 'Noch keine Rotation. Füge Routinen in der Reihenfolge hinzu, in der du sie trainieren willst — die erste, die du noch nicht abgehakt hast, bleibt die nächste.',
'Use this rotation': 'Diese Rotation übernehmen',
'Use this rotation?': 'Diese Rotation übernehmen?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': 'openGym übernimmt ab jetzt das Auffüllen dieser Warteschlange — die App deines Coaches sollte sie nicht mehr beschreiben.',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': 'Dein Coach gibt die Kontrolle über diese Woche ab: Die Warteschlange gehört ab jetzt openGym, das diese Einheiten von selbst wiederholt, sobald sie alle abgeschlossen sind. Eine neue Woche aus der App deines Coaches würde diese Rotation ersetzen.',
'Start new pass': 'Neuen Durchgang starten',
'Start pass': 'Durchgang starten',
'This rotation could not be read — it may have been written by another device.': 'Diese Rotation konnte nicht gelesen werden — sie wurde möglicherweise von einem anderen Gerät geschrieben.',
diff --git a/frontend/src/locales/es.js b/frontend/src/locales/es.js
index ee0b87079..50d614f57 100644
--- a/frontend/src/locales/es.js
+++ b/frontend/src/locales/es.js
@@ -1683,7 +1683,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': 'Aún no hay rotación. Añade rutinas en el orden en que quieres entrenarlas — la primera que no hayas registrado sigue siendo la siguiente.',
'Use this rotation': 'Usar esta rotación',
'Use this rotation?': '¿Usar esta rotación?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': 'openGym se encargará de rellenar esta cola a partir de ahora — la app de tu entrenador ya no debería escribir en ella.',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': 'Tu entrenador cede el control de esta semana: la cola pasa a ser de openGym a partir de ahora y repite estas sesiones por su cuenta en cuanto estén todas terminadas. Una semana nueva desde la app de tu entrenador reemplazaría esta rotación.',
'Start new pass': 'Iniciar nueva pasada',
'Start pass': 'Iniciar pasada',
'This rotation could not be read — it may have been written by another device.': 'No se pudo leer esta rotación — puede que la haya escrito otro dispositivo.',
diff --git a/frontend/src/locales/fr.js b/frontend/src/locales/fr.js
index 2089bfdf1..b1b53e022 100644
--- a/frontend/src/locales/fr.js
+++ b/frontend/src/locales/fr.js
@@ -1683,7 +1683,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': 'Aucune rotation pour l’instant. Ajoute des routines dans l’ordre où tu veux les faire — la première que tu n’as pas encore loggée reste la suivante.',
'Use this rotation': 'Utiliser cette rotation',
'Use this rotation?': 'Utiliser cette rotation ?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': 'openGym prendra en charge le remplissage de cette file à partir de maintenant — l’appli de ton coach ne devrait plus y écrire.',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': 'Ton coach abandonne le contrôle de cette semaine : la file appartient désormais à openGym, qui répète ces séances automatiquement une fois qu’elles sont toutes terminées. Une nouvelle semaine venue de l’appli de ton coach remplacerait cette rotation.',
'Start new pass': 'Démarrer un nouveau passage',
'Start pass': 'Démarrer un passage',
'This rotation could not be read — it may have been written by another device.': 'Cette rotation n’a pas pu être lue — elle a peut-être été écrite par un autre appareil.',
diff --git a/frontend/src/locales/hi.js b/frontend/src/locales/hi.js
index 24ae3efd1..0b3e0d024 100644
--- a/frontend/src/locales/hi.js
+++ b/frontend/src/locales/hi.js
@@ -1683,7 +1683,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': 'अभी कोई रोटेशन नहीं। रूटीन को उसी क्रम में जोड़ें जिसमें आप उन्हें ट्रेन करना चाहते हैं — जिसे आपने अभी तक लॉग नहीं किया है वह अगला बना रहता है।',
'Use this rotation': 'इस रोटेशन का उपयोग करें',
'Use this rotation?': 'इस रोटेशन का उपयोग करें?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': 'अब से openGym इस कतार को भरने का काम संभाल लेगा — आपके कोच के ऐप को अब इसमें कुछ नहीं लिखना चाहिए।',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': 'आपका कोच इस सप्ताह का नियंत्रण छोड़ देता है: अब से यह कतार openGym की है और वह सभी सत्र पूरे होते ही उन्हें अपने आप दोहराता है। कोच के ऐप से आया कोई नया सप्ताह इस रोटेशन की जगह ले लेगा।',
'Start new pass': 'नया पास शुरू करें',
'Start pass': 'पास शुरू करें',
'This rotation could not be read — it may have been written by another device.': 'यह रोटेशन पढ़ा नहीं जा सका — हो सकता है इसे किसी अन्य डिवाइस ने लिखा हो।',
diff --git a/frontend/src/locales/hu.js b/frontend/src/locales/hu.js
index 32fe77484..d401d20e2 100644
--- a/frontend/src/locales/hu.js
+++ b/frontend/src/locales/hu.js
@@ -1686,7 +1686,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': 'Még nincs rotáció. Add hozzá a rutinokat abban a sorrendben, ahogy edzeni szeretnéd őket — amit még nem naplóztál, az marad a következő.',
'Use this rotation': 'Ezen rotáció használata',
'Use this rotation?': 'Ezt a rotációt használod?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': 'Mostantól az openGym veszi át ennek a várólistának a feltöltését — az edződ alkalmazásának többé nem kellene írnia bele.',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': 'Az edződ lemond ennek a hétnek az irányításáról: mostantól az openGymé a várólista, és magától megismétli ezeket az edzéseket, amint mindegyik kész van. Az edződ alkalmazásából érkező új hét felülírná ezt a rotációt.',
'Start new pass': 'Új menet indítása',
'Start pass': 'Menet indítása',
'This rotation could not be read — it may have been written by another device.': 'Ezt a rotációt nem sikerült beolvasni — lehet, hogy egy másik eszköz írta.',
diff --git a/frontend/src/locales/it.js b/frontend/src/locales/it.js
index 0b73f3c74..dcaddaf23 100644
--- a/frontend/src/locales/it.js
+++ b/frontend/src/locales/it.js
@@ -1683,7 +1683,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': 'Ancora nessuna rotazione. Aggiungi le routine nell’ordine in cui vuoi allenarle — la prima che non hai ancora registrato resta la prossima.',
'Use this rotation': 'Usa questa rotazione',
'Use this rotation?': 'Usare questa rotazione?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': 'openGym si occuperà da ora in poi di riempire questa coda — l’app del tuo coach non dovrebbe più scriverci.',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': 'Il tuo coach rinuncia al controllo di questa settimana: la coda passa a openGym da ora in poi, che ripete queste sessioni da solo una volta completate tutte. Una nuova settimana dall’app del tuo coach sostituirebbe questa rotazione.',
'Start new pass': 'Avvia nuovo giro',
'Start pass': 'Avvia giro',
'This rotation could not be read — it may have been written by another device.': 'Questa rotazione non può essere letta — potrebbe essere stata scritta da un altro dispositivo.',
diff --git a/frontend/src/locales/ko.js b/frontend/src/locales/ko.js
index 7d4dff014..a192786be 100644
--- a/frontend/src/locales/ko.js
+++ b/frontend/src/locales/ko.js
@@ -1683,7 +1683,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': '아직 로테이션이 없어요. 훈련하고 싶은 순서대로 루틴을 추가하세요 — 아직 기록하지 않은 첫 번째 루틴이 계속 다음이 돼요.',
'Use this rotation': '이 로테이션 사용하기',
'Use this rotation?': '이 로테이션을 사용할까요?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': '이제부터 openGym이 이 대기열을 채우는 일을 맡아요 — 코치의 앱은 더 이상 여기에 쓰지 않아야 해요.',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': '코치가 이번 주의 통제권을 내려놓아요: 이제부터 대기열은 openGym의 것이 되고, 모든 세션이 끝나면 openGym이 알아서 반복해요. 코치의 앱에서 온 새로운 주간은 이 로테이션을 대체하게 될 거예요.',
'Start new pass': '새 패스 시작',
'Start pass': '패스 시작',
'This rotation could not be read — it may have been written by another device.': '이 로테이션을 읽을 수 없어요 — 다른 기기에서 작성했을 수 있어요.',
diff --git a/frontend/src/locales/pl.js b/frontend/src/locales/pl.js
index 3353885f2..6a090cb44 100644
--- a/frontend/src/locales/pl.js
+++ b/frontend/src/locales/pl.js
@@ -1683,7 +1683,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': 'Brak rotacji. Dodawaj plany w kolejności, w jakiej chcesz je trenować — pierwszy jeszcze niezarejestrowany zostaje następny.',
'Use this rotation': 'Użyj tej rotacji',
'Use this rotation?': 'Użyć tej rotacji?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': 'Od teraz openGym przejmie uzupełnianie tej kolejki — aplikacja trenera nie powinna już do niej zapisywać.',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': 'Twój trener oddaje kontrolę nad tym tygodniem: od teraz kolejka należy do openGym, który automatycznie powtarza te sesje, gdy wszystkie zostaną ukończone. Nowy tydzień z aplikacji trenera zastąpiłby tę rotację.',
'Start new pass': 'Rozpocznij nowe przejście',
'Start pass': 'Rozpocznij przejście',
'This rotation could not be read — it may have been written by another device.': 'Nie udało się odczytać tej rotacji — mogła zostać zapisana przez inne urządzenie.',
diff --git a/frontend/src/locales/pt-BR.js b/frontend/src/locales/pt-BR.js
index ddd031393..5cfd73b02 100644
--- a/frontend/src/locales/pt-BR.js
+++ b/frontend/src/locales/pt-BR.js
@@ -1028,7 +1028,7 @@ export const PT_BR_OVERRIDES = {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': 'Ainda sem rotação. Adicione as rotinas na ordem em que quer treiná-las — a primeira que ainda não registrou continua sendo a próxima.',
'Use this rotation': 'Usar esta rotação',
'Use this rotation?': 'Usar esta rotação?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': 'A partir de agora, o openGym passa a preencher esta fila — o aplicativo do seu treinador não deve mais escrever nela.',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': 'Seu treinador abre mão do controle desta semana: o openGym passa a ser dono da fila a partir de agora e repete essas sessões sozinho assim que todas estiverem concluídas. Uma nova semana vinda do aplicativo do seu treinador substituiria esta rotação.',
'Start new pass': 'Iniciar nova passagem',
'Start pass': 'Iniciar passagem',
'This rotation could not be read — it may have been written by another device.': 'Não foi possível ler esta rotação — ela pode ter sido escrita por outro dispositivo.',
diff --git a/frontend/src/locales/pt.js b/frontend/src/locales/pt.js
index f7ccf7b35..0f6f9ef37 100644
--- a/frontend/src/locales/pt.js
+++ b/frontend/src/locales/pt.js
@@ -1683,7 +1683,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': 'Ainda sem rotação. Adiciona as rotinas pela ordem em que as queres treinar — a primeira que ainda não registaste continua a ser a seguinte.',
'Use this rotation': 'Usar esta rotação',
'Use this rotation?': 'Usar esta rotação?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': 'A partir de agora, a openGym passa a preencher esta fila — a app do teu treinador já não deve escrever nela.',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': 'O teu treinador cede o controlo desta semana: a partir de agora a fila passa a ser da openGym, que repete estas sessões sozinha assim que estiverem todas concluídas. Uma nova semana vinda da app do teu treinador substituiria esta rotação.',
'Start new pass': 'Iniciar nova passagem',
'Start pass': 'Iniciar passagem',
'This rotation could not be read — it may have been written by another device.': 'Não foi possível ler esta rotação — pode ter sido escrita por outro dispositivo.',
diff --git a/frontend/src/locales/ru.js b/frontend/src/locales/ru.js
index 91a35e192..080d166e5 100644
--- a/frontend/src/locales/ru.js
+++ b/frontend/src/locales/ru.js
@@ -1683,7 +1683,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': 'Ротации пока нет. Добавляй программы в том порядке, в котором хочешь их тренировать — первая незалогированная всегда следующая.',
'Use this rotation': 'Использовать эту ротацию',
'Use this rotation?': 'Использовать эту ротацию?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': 'Теперь openGym сам будет пополнять эту очередь — приложению тренера больше не нужно в неё писать.',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': 'Твой тренер отказывается от контроля над этой неделей: очередь с этого момента принадлежит openGym, который сам повторяет эти сессии, как только они все завершены. Новая неделя из приложения тренера заменит эту ротацию.',
'Start new pass': 'Начать новый проход',
'Start pass': 'Начать проход',
'This rotation could not be read — it may have been written by another device.': 'Не удалось прочитать эту ротацию — возможно, она была записана с другого устройства.',
diff --git a/frontend/src/locales/th.js b/frontend/src/locales/th.js
index 83c69ea28..7df33bf86 100644
--- a/frontend/src/locales/th.js
+++ b/frontend/src/locales/th.js
@@ -1694,7 +1694,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': 'ยังไม่มีการหมุนเวียน เพิ่มรูทีนตามลำดับที่ต้องการฝึก — รูทีนแรกที่ยังไม่ได้บันทึกจะเป็นรายการถัดไปเสมอ',
'Use this rotation': 'ใช้การหมุนเวียนนี้',
'Use this rotation?': 'ใช้การหมุนเวียนนี้?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': 'ต่อจากนี้ openGym จะเติมคิวนี้ให้เอง — แอปของโค้ชไม่ควรเขียนลงคิวนี้อีกต่อไป',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': 'โค้ชของคุณสละการควบคุมสัปดาห์นี้ — คิวนี้จะเป็นของ openGym ต่อจากนี้ไป และจะทำเซสชันเหล่านี้ซ้ำเองเมื่อทำครบทุกรายการแล้ว สัปดาห์ใหม่จากแอปของโค้ชจะมาแทนที่การหมุนเวียนนี้',
'Start new pass': 'เริ่มรอบใหม่',
'Start pass': 'เริ่มรอบ',
'This rotation could not be read — it may have been written by another device.': 'อ่านการหมุนเวียนนี้ไม่ได้ — อาจถูกเขียนจากอุปกรณ์อื่น',
diff --git a/frontend/src/locales/tr.js b/frontend/src/locales/tr.js
index 38670d8b6..44794bfde 100644
--- a/frontend/src/locales/tr.js
+++ b/frontend/src/locales/tr.js
@@ -1683,7 +1683,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': 'Henüz rotasyon yok. Rutinleri antrenman yapmak istediğin sırayla ekle — henüz kaydetmediğin ilk rutin her zaman sıradaki olur.',
'Use this rotation': 'Bu rotasyonu kullan',
'Use this rotation?': 'Bu rotasyon kullanılsın mı?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': 'Bundan sonra bu kuyruğu doldurma işini openGym üstlenecek — koçunun uygulaması artık buraya yazmamalı.',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': 'Koçun bu hafta üzerindeki kontrolü bırakıyor: kuyruk artık openGym’e ait ve hepsi tamamlandığında bu seansları kendiliğinden tekrarlar. Koçunun uygulamasından gelecek yeni bir hafta bu rotasyonun yerini alır.',
'Start new pass': 'Yeni tur başlat',
'Start pass': 'Tur başlat',
'This rotation could not be read — it may have been written by another device.': 'Bu rotasyon okunamadı — başka bir cihaz tarafından yazılmış olabilir.',
diff --git a/frontend/src/locales/zh.js b/frontend/src/locales/zh.js
index 527cd46fd..22a916f2e 100644
--- a/frontend/src/locales/zh.js
+++ b/frontend/src/locales/zh.js
@@ -1683,7 +1683,7 @@ export default {
'No rotation yet. Add routines in the order you want to train them — the first one you have not logged stays next.': '还没有轮换。按你想训练的顺序添加训练日——尚未记录的第一个训练日将始终是下一个。',
'Use this rotation': '使用此轮换',
'Use this rotation?': '使用此轮换?',
- 'openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.': '从现在起,openGym 将接管这个队列的填充——教练的应用不应再写入它。',
+ 'Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.': '你的教练放弃对本周的控制权:从现在起队列归 openGym 所有,它会在这些训练全部完成后自动重复它们。教练的应用推送的新一周会替换这个轮换。',
'Start new pass': '开始新一轮',
'Start pass': '开始一轮',
'This rotation could not be read — it may have been written by another device.': '无法读取此轮换——可能是由另一台设备写入的。',
diff --git a/frontend/src/views/Plan.jsx b/frontend/src/views/Plan.jsx
index be8c37546..114839a98 100644
--- a/frontend/src/views/Plan.jsx
+++ b/frontend/src/views/Plan.jsx
@@ -94,13 +94,14 @@ export default function Plan() {
icon: glyphOf(r.emoji), label: r.name, onClick: () => setSeq([...seq, r.id]),
})),
})
- // The only path from a coach-written queue into a managed one: behind a confirmation, since it
- // hands refilling over to this app from here on — the coach's app should not still be writing it.
+ // The only path from a coach-written queue into a managed one: behind a confirmation that says
+ // what happens — the coach gives up control: this app owns the queue and refills it itself, and a
+ // later week written by the coach's app simply replaces it (the whole queue object, token and all).
// The rotation takes a name of its own here rather than the planner's (e.g. "US W1") — that
// name is this one pass's, and refillAfter would otherwise repeat it on every pass after it.
const adopt = () => confirmSheet({
title: t('Use this rotation?'),
- message: t('openGym will take over refilling this queue from here on — the coach’s app should no longer write to it.'),
+ message: t('Your coach gives up control of this week: openGym owns the queue from here on and repeats these sessions by itself once they are all done. A new week from the coach’s app would replace this rotation.'),
confirmText: t('Use this rotation'),
onConfirm: () => update(s => saveRotation(s, seq, t('Rotation'))),
})